Hi

I'm trying to make a boot floppy using busybox and ash. The goal is 
to have a single floppy that will boot up into a shell where I can 
execute a few commands, fdisk, mke2fs, mount, etc... I have all the 
components trimmed down to fit on a single floppy. I have a kernel 
with the few modules that I need compiled in. I am using LILO as the 
bootloader. /etc/lilo.conf  has the lines :

boot = /dev/fd0

image=/bzImage
root=/dev/fd0
append="init=/bin/sh"

The system boots fine but then I'm prompted for a root disk. When I 
hit return the system fails with a kernel panic can't find init. Even 
though I have init compiled into busybox.

I've tried using rdev to set the ramdisk word to 0 and set the root 
device to /dev/fd0. This still does not solve the problem.

I made an initrd with roughly the same results.

Has anyone successfully made a single floppy system like this? If so, 
how? Do you have a floppy image you are willing to share?


Richard

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to