You seem to have understood well the HOWTO.
you don't need a root floppy since the kernel will use /dev/hda5 as a
root filesystem
you can change the device used by the kernel and lots of stuff with rdev
(try man rdev)
yes you will find one kernel (/usr/src/linux/arch/i386/boot/zImage)
you could compile onother one if needed
you can also check in your /etc/lilo.conf to see what kernel you usualy
load and use the same for your floppy
To create a boot+root floppy, if you want to, you could just test this
scri[[ MAKEB~5B : 3854 dans MAKEB~5B ]]t (bash)
that i wrote on my redhat 4.2 system
(it may exist a mkbootdisk on your distribution)
my script should be self explaned but here is a description:
put a formatted floppy in your /dev/fd0 and use it with this command
makebootdisk <kernelimage> <filesystem>
where kernelimage is the name of the kernel image you want to install
filesystem is the compressed image of the filesystem you want to install
on the floppy
it will calculate the offset at wich it should install the filesystem and
install both kernel and filesystem on /dev/fd0
THIS SCRIPT LACKS LOTS OF THINGS:
verify if all the stuff fits on the floppy
ask to put the floppy in the drive
choose the floppy drive
...
but it already serves my needs...
READ THE SECTION ON BOOT+ROOT floppy in the BOOTDISKHOWTO
-----Message d'origine-----
De: Martin Roberts [SMTP:[EMAIL PROTECTED]]
Date: vendredi 14 août 1998 15:42
À: Linux Newbie mailing list (E-mail)
Objet: Boot diskette
I would like to compile a boot diskette for my RH5.0 system. I have
read the Bootdisk Howto which is not that easy going (so many options)
but I think I can follow it OK. What I would like is for some kind
person to go through the following to see that I have understood it
properly.
1. Check the pointer to root filesystem is correct with "rdev vmlinuz".
My root is on hda5 - ie in the extended partition (windoze95 is on
primary).
2. Copy the kernel to the diskette with "cp vmlinuz /dev/fd0" (no need
to mount the floppy).
Is this really all I need to do? It seems far too easy (I know I
shouldn't complain...).
Also (sorry if these questions sound silly, I am a newbie after all,
plus I'm not sat at my Linux box at the moment):
a) What if rdev shows the root filesystem is not on hda5? I know it can
be set, but is this a bad omen?
b) Do I need a root diskette?
c) Will I only find one kernel file (in /usr/src/linux)?
(My system:
Cyrix P200MX/64MB SDRAM/4.3GB Seagate on 1st IDE in 2 roughly equal
partitions plus 70-odd MB swap/CDROM on 2nd IDE/ATI 3D Rage II+ 4MB/USR
modem/RH5+XF86)
Any help much appreciated.
Martin
Binary data