boot debian
i have sid installed and currently i am booting from the FDD what i want to do si put only lilo on a fdd ( and not the kernel. . . . . ) and with it to choose between linux and windows. . . . . . .
i have sid installed and currently i am booting from the FDD
what i want to do si put only lilo on a fdd ( and not the kernel.....) and with it to choose between linux and windows..........
i don't want the kernel on the FDD because it takes time to load.
thank you
what i want to do si put only lilo on a fdd ( and not the kernel.....) and with it to choose between linux and windows..........
i don't want the kernel on the FDD because it takes time to load.
thank you
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
well i have the 2.4 kernel
and on the floppy i have :
linux.bin 1.1MB
ldlinux.sys 6.8k
and a readme that says
"Linux will be started automatically using the kernel on this floppy disk.
The root filesystem will be mounted from /dev/hdc5 .
"
it also says
"if you
wish to use a kernel on the hard disk, remove the floppy and press RESET " but i cannot seem to get this right
I know new kernels are bigger that's why i want only lilo on the
FDD and make lilo boot using the kernel on my hard drive
how do i do that?
and on the floppy i have :
linux.bin 1.1MB
ldlinux.sys 6.8k
and a readme that says
"Linux will be started automatically using the kernel on this floppy disk.
The root filesystem will be mounted from /dev/hdc5 .
"
it also says
"if you
wish to use a kernel on the hard disk, remove the floppy and press RESET " but i cannot seem to get this right
I know new kernels are bigger that's why i want only lilo on the
FDD and make lilo boot using the kernel on my hard drive
how do i do that?
Sounds like your booting the rescue disc. Can you boot Debian wihtout the floppy? what happens when you try to boot from the hard drive. You'll have to excuse me I'm working on two hours sleep. So I may just be deliriouse.
My advice to teh kids out there find yourself a nice job supporitn a development enviornment because when production is down you are UP!
My advice to teh kids out there find yourself a nice job supporitn a development enviornment because when production is down you are UP!
I've never done what this without having lilo installed an configured in the mbr.
Create Lilo Boot Disk:
Your distribution may already come with a utility to create a lilo boot disk. From a console type: mkboot or mkbootdisk. My system had mkboot however it ran with errors so I was forced to figure out how to create a boot disk manually, intructions below:
1) Open a console, insert a floppy in the drive and type the following:
#mke2fs /dev/fd0
#mount -t ext2 /dev/fd0 /mnt/floppy
#cd /mnt/floppy
#mkdir etc && mkdir boot
#cp /boot/boot.b /mnt/floppy/boot
#cp /boot/initrd /mnt/floppy/boot
#cp /boot/vmlinuz-2.4.20 /mnt/floppy/boot
The first line above will format the floppy. Ignore /boot/initrd if you don't have an /boot/initrd file. Change the vmlinuz kernel number to match yours, do uname -r to find out the number of your kernel.
2) Create a text file called lilo.conf in /mnt/floppy/etc, add the following text, save and close:
boot=/dev/fd0
install=/boot/boot.b
MAP=/mnt/floppy/boot/map
read-only
image=/mnt/floppy/boot/vmlinuz-2.4.20
label=linux
root=/dev/hda6
Change the information above match your system.
3) Install Lilo:
#cd /floppy
#lilo -C /floppy/etc/lilo.conf
The -C parameter allows you to specify a lilo.conf file other than the customary one in /etc.
Create Lilo Boot Disk:
Your distribution may already come with a utility to create a lilo boot disk. From a console type: mkboot or mkbootdisk. My system had mkboot however it ran with errors so I was forced to figure out how to create a boot disk manually, intructions below:
1) Open a console, insert a floppy in the drive and type the following:
#mke2fs /dev/fd0
#mount -t ext2 /dev/fd0 /mnt/floppy
#cd /mnt/floppy
#mkdir etc && mkdir boot
#cp /boot/boot.b /mnt/floppy/boot
#cp /boot/initrd /mnt/floppy/boot
#cp /boot/vmlinuz-2.4.20 /mnt/floppy/boot
The first line above will format the floppy. Ignore /boot/initrd if you don't have an /boot/initrd file. Change the vmlinuz kernel number to match yours, do uname -r to find out the number of your kernel.
2) Create a text file called lilo.conf in /mnt/floppy/etc, add the following text, save and close:
boot=/dev/fd0
install=/boot/boot.b
MAP=/mnt/floppy/boot/map
read-only
image=/mnt/floppy/boot/vmlinuz-2.4.20
label=linux
root=/dev/hda6
Change the information above match your system.
3) Install Lilo:
#cd /floppy
#lilo -C /floppy/etc/lilo.conf
The -C parameter allows you to specify a lilo.conf file other than the customary one in /etc.