Quick followup ... I wasn't thinking carefully enough before. Since you're using syslinux, the floppy must be a DOS floppy. You can't mount a DOS filesystem as root. One way to do what you want is to incorporate the mini-shell into a .tgz package that initrd.img can load into a RAM disk it creates, then making the RAMdisk the root filesystem. Another is to put an ext2 filesystem on the floppy, but I don't think syslinus will work with that (you'll need LILO instead). A third option is to leave the limited shell on the hard disk somewhere, then mount an hd** or sd** partition as root and run the shell as init from it.
To see how the RAMdisk stuff works, get one of the standard rescue disks like tomsrtbt or trinux (actually a disk set). A Google search will track down the URLs easily. >Date: Sun, 11 Aug 2002 17:02:59 -0700 >To: Haines Brown <[EMAIL PROTECTED]> >From: Ray Olszewski <[EMAIL PROTECTED]> >Subject: problems with recsue disk (was: Re: [no subject]) >Cc: [EMAIL PROTECTED] > >Sorry, Haines. Perhaps someone else can help you with a definitive answer. >As I said, I was just telling you what to try based on the man-page >assertion that syslinux used this line the same way as LILO. [rest deleted] -- -------------------------------------------"Never tell me the odds!"-------- Ray Olszewski -- Han Solo Palo Alto, California, USA [EMAIL PROTECTED] ------------------------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs