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 / I-Appliance BBS General / NEWS, Breaking NEWS
usb ethernet diskless booting, sort of.

New Messageusb ethernet diskless booting, sort of. (modified 0 times) benw
Profile
After much searching I finally found the software for making the 3com 3c460 usb ethernet boot from the network using PXE, TCPIP, and a few other methods. It's still available from the 3com website at the following url:
http://www.3com.com/products/en_US/result.jsp?selected=all&sku=3CMBA-D&sort=effdt&order=desc

There is also a 3rd party company selling(there is a free trial version) the exact same software for any network card imaginable at:
http://www.emboot.com/Buy_MBAoD.htm

What the software does is create a bootdisk that loads the necessary code to boot from the network. There are a few open source solutions available as well, but I won't mention any of those because as near as I could tell there is no usb support and they have been covered in other posts. I've found a few programs that are capable of creating virtual floppy images that can boot off cd or hard drives, but all of those seem to be proprietary and awkward to implement. Surely there is a simple way to make an image of the boot disk and load that directly onto the flash drive in the I-Opener or maybe from a dos prompt or something? I experimented with creating a disk image with dd in linux and using loadlin unsuccessfully.

The ideal solution would be to have this code load before whatever is on the flash chip in the I-Opener or even before whatever is on your hard drive, I think I'm just missing something very obvious here but I've been staring at the problem too long.

Also, I spent the last several hours searching the forums and archives and to my knowledge nobody has mentioned either of these pieces of software before so I thought it would go well under the breaking news area.

05-20-2004 18:39:46

New MessageRE:usb ethernet diskless booting, sort of. (modified 0 times) benw
Profile
After playing with dd a little more I think I've managed to copy the boot sector of the floppy to the boot sector of the hard drive. (I'm doing this on a test system so I don't have to worry about killing the hard drive or losing files or anything...) The trouble now is that it can't seem to find the one file that is contained on the floppy disk. I tried copying that to the first partition on the hard drive with no luck, I also tried writing a direct image of the floppy to the hard drive with the same result. Obviously that wouldn't work for the real world but I had to try it. I'm thinking that I need to start with nothing on the hard drive, then add a small fat12 partition that contains that file. It strikes me that the boot loader of the floppy disk may not have any concept of what a hard drive is, though and if that's the case none of this will work I suspect. My other thought is that flash disks behave more like a floppy drive (from my limited understanding) and maybe I would have more luck going that route. Unfortunately I have no flash drives to test with outside of what is on the I-Opener. Anyone have any thoughts?
05-21-2004 14:03:33

New MessageRE:usb ethernet diskless booting, sort of. (modified 0 times) benw
Profile
As of right now I've figured out that I can get the floppy image to boot from a bootable cd that uses floppy emulation, and that there is a modified version of grub that can read .iso files to boot from. That's a horrible hack/kludge in my opinion and there has to be a better way to do it...But assuming I get grub installed and it will boot that way I'll be happy with it for now. (I think the system would go through 5 different boot loaders before it actually got to the operating system in that scenerio) The major drawback is that doing it this way leaves ~2mb of files to be stored and that means that it will be far too intrusive to use on the flash drive without formatting away what's already on it in my application.
05-25-2004 16:35:04

New MessageRE:usb ethernet diskless booting, sort of. (modified 0 times) benw
Profile
Scratch my previous post. After a bit more playing I discovered that grub is indeed capable of floppy emulation, so the raw floppy image is booting from grub and life is good. To test I used knoppix terminal server on another machine and the 3com mba grabbed an ip and booted the default kernel. It didn't get very far since knoppix doesn't include usb support or a driver for the usb nic in the default terminal server setup, but that's fairly trivial. I'm going to try and see if I can make the floppy image as tiny as possible and find a way to integrate it as transparently as possible so that something else can be used on the flash drive of the I-Opener alongside this. I'll post instructions in the I-Opener forum and post here with a link to it when I get it done.
05-25-2004 23:34:31

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