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. . . . . . .

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar30.webp

32 Posts
Location -
Joined 2004-10-13
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

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar03.webp

305 Posts
Location -
Joined 2003-08-30
Are you sure the kernel is on the floppy? The vanilla Debian kernel is too big to fit on a floppy.

data/avatar/default/avatar30.webp

32 Posts
Location -
Joined 2004-10-13
OP
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?
 

data/avatar/default/avatar03.webp

305 Posts
Location -
Joined 2003-08-30
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!

data/avatar/default/avatar30.webp

32 Posts
Location -
Joined 2004-10-13
OP
if i don't use the FDD my system boots into Windows because that's the way i want it to behave . i have not installed a boot-loader yet.that's why i want to put lilo on a floppy and with it to choose from windows or linux . Without the floppy i want my sistem to boot into Win.

data/avatar/default/avatar03.webp

305 Posts
Location -
Joined 2003-08-30
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.

data/avatar/default/avatar30.webp

32 Posts
Location -
Joined 2004-10-13
OP
doesn't this sequence boot with the kernel on the FDD also?