Click to See Complete Forum and Search --> : Creating a bootdisk that uses kernel on HD


gianfranko
01-13-2001, 02:51 AM
I have a bootdisk that was created during Mandrake install process that has its own kernel. When I boot from this disk the boot process is extremely slow. I would like to create a disk that used the kernel on the HD instead one on the floppy. What should i do?
Modify lilo.conf to boot=/dev/fd0 and then run lilo -v -v -v ???

PLBlaze
01-13-2001, 03:21 AM
<edit>

Is it me or mozilla acting up?

<edit>

Sorry for double post


[This message has been edited by PLBlaze (edited 13 January 2001).]

PLBlaze
01-13-2001, 03:21 AM
What you could do is run dd to make an image that would pass it to hd where kernel is located.That would take about 2secs.Try this

dd if=/dev/sda2 of=/dev/fd0 ibs=1440 count=1

Make sure to specify the correct root disk dev you use (hda1,hdb2...etc).Hope this helps.

Craig McPherson
01-13-2001, 03:56 PM
OR

Edit your lilo.conf (or make a temporary copy of it), set the boot= line to /dev/fd0, run LILO with your floppy in the drive (this will install LILO to the floppy), then change your lilo.conf back to how it was before.

If you don't want to edit the config file, you can probably just pass a command-line argument to lilo when you run it to override the boot device in the config file. Check the man page.