I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
Please Help! Hacking IA1

New MessagePlease Help! Hacking IA1 (modified 0 times) Jleemc44
Profile
I bought an IA1 off ebay becaus I thought I could hack it. But I am turning about to be a bad hacker caus it's just not happening for me. Unlike many people I see here, I have had not a problem getting into the BIOS or setting the CF card to set as a boot device. But the propblem comes when I try to boot the system off the CF card. It just sit's there with a blinking cursor forever. It does not matter what image I try to load, I get the same thing. I am trying to write my image with a windows XP system using dskprobe. There seems to be no problems when using dskprobe and I fallowed the instuctions found at: http://thinker.falcons2000.com/ia1/w2k-inst.html While searching the internet I have found one person saying that IA1'a that come in red and white compaq boxes instead of the original brown boexs are unhackable. My IA1 did come in a red and white box. Does anyone know anything about this? Also, I got the unit for so cheep (15 bucks) because the original image does not load. All I get when trying to load without a CF card is the MSN logo flashing real quick and then 3 errors saying that there was an error loading the OS image file C:NK0, AND C:NK1 then back to C:NK0. Whats up with that?

Any help you could give on this would be most thankful.

Thanks,
Joshua

04-02-2003 23:35:27

New MessageRE:Please Help! Hacking IA1 (modified 0 times) Carbon
Profile | Email
If you are getting into the bios you have a hackable unit.
Getting the images onto a cf and making it boot is the tricky part.
I've never used XP so I'm no help there but at least your machine is hackable.

Good Luck,
Carbon

04-03-2003 05:39:12

New MessageRE:Please Help! Hacking IA1 (modified 0 times) Jleemc44
Profile
Can anyone give a little more help? Still not getting it. Thanks.
04-04-2003 11:50:48

New MessageRE:Please Help! Hacking IA1 (modified 0 times) radarman
Profile
Ok, first off - make sure you are really attempting to boot from the compact flash slot. The hackable BIOS' have three drives, A:, C:, and D:. A and C appear to be aliases for the same physical device. Perhaps this was done so the BIOS would have an easy fallback if the primary image was a dud. Whatever the case, setting A or C to "FIRST" will cause the system to boot from the onboard SanDisk. Setting D to FIRST will cause the system to boot from the compact flash device.

Second: the CF slot is attached to a second adapter. This is important for some operating systems, such as Linux and FreeBSD. The SanDisk is wired as the master drive on the first controller (ad0 for BSD). There is no slave device on the first controller unless you add the wiring harness (but your's sounds like a stock IA-1, so this doesn't apply). The CF device is wired to be the master device on the second controller (ad2 for BSD).

IOW:
Unix/Linux device Physical Device BIOS Name
/dev/ad0 (hda) -> SanDisk -> A: or C:
/dev/ad1 (hdb) -> (not present)
/dev/ad2 (hdc) -> CF slot -> D:
/dev/ad3 (hdd) -> (not present)

BTW - by default, the second controller is disabled. You will need to reenable it, and if your CF device supports it, enable DMA. (Apparently the board supports ATA66) If you don't see a D: drive in the list of bootable devices, then you haven't performed this step (or you don't have anything in the slot)

As for booting an OS from the drive, this can either be easy or hard - depending on the interface you choose. A lot of people bought USB CF readers, because they are easy to find and are hot-swappable. I chose to have a custom dual-deck IDE-> CF adapter built by Mesa electronics. It cost me $50, but it supports to CF devices in master/slave mode. It made working with Linux and FreeBSD dead easy, as I could attach it to a normal PC and install via CD-ROM as usual.

The biggest thing to remember is that the startup pointers and partition map *MUST* be correct. I don't understand how any CF reader could screw this up if you are dd'ing a binary image, but apparently some do. Other threads cover suitable CF readers. After that, it's just a matter of figuring out what you want the little machine to do. I turned mine into dedicated X terminals running FreeBSD. I even managed to use the onboard flash for a basic, read-only /.

Third, (wow, this is getting long!) keep in mind that Midori is configured to be run *FROM THE SANDISK*. There are patches that will allow it to run from the CF slot, but a normal install of Midori (such as the wild_wes/midori_3 version) will choke because it wants to mount itself from /dev/hda not /dev/hdc. You will have to either find someone who has rebuilt it with the new fstab (which controls what partition is mounted where), or install Midori on the SanDisk.

Fourth, from the description of your problem, you haven't completely blown away the SanDisk (or changed the boot order). The midori images are EXACTLY the same size as the SanDisk. The correct way to install one of these images is to either boot DOS or Linux from a CF device and either 'dolly' or 'dd' the image over. (I use FreeBSD, so it's dd if=midori_3.img of=/dev/ad0)

That should clear up some of the issues. I didn't discuss installing a host OS to copy the image file from, but that's covered elsewhere. I would suggest DOS and 'dolly' if you are new to this, because Linux can be a tight squeeze on such small devices unless you know what you absolutely need and don't need.

Good luck!

04-04-2003 12:34:30

New MessageRE:Please Help! Hacking IA1 (modified 0 times) gwad
Profile
Everybody is getting way ahead of the basic issues. #1, is your machine hackable. If you hit the Compaq key and get into a screen that asks for a language selection (English is default) then you are in the BIOS and thus the machine is "hackable". #2, if you have a low mainboard battery which many of these came with, you cannot set the boot order until you see the screen that says it has updated the hardware something like this "Drive 1, 15 MB, Drive 3, 488 MB (0r whatever your flash card size is (I'm not fond of linux so I am running 98lite on a 512MB card). After you see that, the COMPAQ logo comes back on and the cursor is in the upper left corner for only about two blinks so hold that COMPAQ key down again and go into boot order and select as radarman suggested. I found I no longer have to do this every time but in order to avoid it I had to SOLDER (yes, no receptacle on this baby) in a new 3v battery on the motherboard, it was down to 300mv and not holding any settings. #3, be sure you have made your CF card "bootable". I suggest Ranish Partition Manager and a Sandisk reader, an excellent site that gives alot of info in this regard is http://www.ia1hacking.com. Finally, unfortunately there are some cards out there that do not have Master Boot Records and are unbootable but most major brands such as SanDisk are good.
04-05-2003 00:49:24

New MessageRE:Please Help! Hacking IA1 (modified 0 times) Jleemc44
Profile
Ok, I am making my way forrward one bit at a time. But now I am stuck again
Using the instructions below, when I type the dd if=/dev/hdc of=/dev/hda count=5760
command I get an input/output error saying 1051+0 Records in 1050+0 Records out.

What does that mean? Below I have pasted the instructions I am using to try and install Jailbate


Download Slackware's El Torito boot image. It can be found on any Slackware mirror, or download eltorito.img from this server.
Attach any CompactFlash 2.88MB or greater.
Fire up Disk Probe, and click the first item in the menu bar. It's the button to select a Drive Handle.
Double-cick on the physical drive for your CompactFlash. Do not screw this step up, lest you be really screwed.
Uncheck "Read Only" for Handle 0, then click "Set Active" and then "OK."
Go to File, Open File.., and select the El Torito image you downloaded (eltorito.img)
Click on the 4th button in the menu -- "Write Disk" -- and press "Write it," pressing OK when asked to confirm.
Quit Disk Probe, Stop the CF reader, Remove your CF card, and insert the CF into your IA1.
Boot up your IA1, using the BIOS to select the CF as the boot device.
As the image boots up, it will have a few prompts... just press "Enter" through the prompts until you're greeted with slackware login:.
Login as root and run dd if=/dev/hdc of=/dev/hda count=5760
Sit tight as it runs. You won't see anything on screen. After you get back to the shell prompt, run /sbin/shutdown -h now.
Okay, hop back to your Windows 2000 machine. Insert your second CF card at least 16MB.
Fire up Disk Probe again selecting the CF under Drive Handle, setting it Read-Write and active.
Use File, Open File.., to open rasmus' JailBait linux image, available at http://php2.chek.com/~rasmus/.
Again write it to your CF disk. When done, close Disk Probe, stop the CF reader, and insert the CF into your IA1.
Go into the IA BIOS, setting it to boot from the internal flash.
Boot up from the internal flash, again going through the prompts, logging in as root.
Run dd if=/dev/hdc of=/dev/hda count=31296 NB: This sector count might change if rasmus should change the size of his images.
Run sync; /sbin/shutdown -h now;.
When you see "Power Down," kill power to the IA, remove the CompactFlash, and bootup. You should now be seeing Jailbait bootup...

04-30-2003 12:24:18

New MessageRE:Please Help! Hacking IA1 (modified 0 times) Jleemc44
Profile
I still have not found out what that errors means. Anyone have any ides? Thanks
05-02-2003 11:52:54

New MessageRE:Please Help! Hacking IA1 (modified 0 times) radarman
Profile
Normally, when doing a disk to disk image, you don't have to specify a block count. In fact, in all the dd copies I have made, I have never specified the block count. It is only really useful if you only want to copy part of an image - or you are zeroing out a portion of the hard disk because you screwed up (ie dd if=/dev/zero of=/dev/screwed_device count=n)

However, that doesn't completely answer your question. It appears you are dd'ing the filesystem you are presently running from. While this is certainly possible, if the filesystem is read-write, it can present problems. However, depending on the size of your CF card, there may be another solution.

If you card is big enough to hold a custom Linux boot install AND the flash image you can skip a step or two, and just dd directly. This is how I installed most of my images to the onboard flash. Alternately, if you have another computer, you can dd the image across a network. I'm not sure if the Linux distro you are using supports mounting SMB/NFS shares, but if it does, then this is another way you can skip that step.

As for the instructions that you used, I can't test them out. I don't have the disk probe utility.

05-02-2003 22:06:46

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3