Creating boot floppies and runnable linux "mini-systems" for linux is
a real art.  It's not as easy or simple as you think.

There's a linux howto that explains how to make boot floppies, along
with the work done by other people who have built packages that are
designed to do exactly the sort of thing what you are attempting to
do.  (YARD is one such utility, but there are others).  There are also
pre-packaged (but customisable) disks like "MUlinux" and "tomsrtbt"
(found at places like metalab).

Cheers
Tony

On Wed Jun 30 1999 at 10:12, "C.Jagadish" wrote:

> Helo Sir,
>       For some application I want a floppy to act as a linux hardDisk,
> in doing so I have some problems.
> 
> What We did
> -----------
>          1. Formated the floppy for ext2 fileSustem
>        2. On the floppy made etc directory and hardDisk directory
> 
>             /etc/fstab is edited as follows
> -------------------------------------------------------------------
>         /dev/hda4       swap        swap        defaults   1   1
>       /dev/fd0       /        ext2        defaults   1   1
>       /dev/hda2       /hardDisk        ext2        defaults   1 1
>       /dev/hda3       /hardDisk/usr        ext2        defaults   1 1
>       none             /proc    proc        defaults   1   1
> ---------------------------------------------------------------------
>       
>      Other needed files like inetd.conf, passwd, rc.d(directory) etc., are
> copied to the "/etc" directory.
> 
>      To "/sbin" directory "init" "ldconfig" are copied. To "/lib"
> directory lib.so.5* are copied.
> 
>   We just created a "/boot" directory, with no files in it.
> 
>     In the root directory the zImage is copied.
> 
>  The following command is executed after copying these files
> 
> rdev  -R zImage 0
> rdev /dev/fd0 /dev/fd0
> 
> After the lilo is run with the following config file
> 
> boot=/dev/fd0
> 
> image = /zImage
> root = /dev/fd0
> label = zImage
> 
> Then we tried to reboot the system from floppy.
> 
> The system comes to LILO askes for options (linux) then loads zImage
> from floppy. Then coming upto mounting root file system, says mounted
> root filesystem after that it stops booting.

It's looking for /sbin/init

> I need some help to complete this job. Any suggestions plese,
> if the steps follwed are clear then please ask I will explain
> them again.
> 
> Regards
> CJA

Reply via email to