LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Question about making a boot disk (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-making-a-boot-disk-58438/)

ludwig W 05-06-2003 02:48 PM

Question about making a boot disk
 
Hi,
I have a boot disk from my first install of RH8 but since then i have a different kernel (2.4.20) and have since deleted the stock 2.4.18-14 kernel that came with RH8. I understand that the boot disk is unique for each kernel.

I'm not sure if there is an easy way to make a boot disk ,but if there is ,perhaps someone could tell me.Otherwise,what I was thinking was that,whenI look at the boot disk that I made on my first RH8 install,I see that there is a initrd.img and a vmlinuz. Could I just copy my version of these files from my /boot directory onto the floppy,overwriting the ones that are there?

It's probably too simplistic,I know.

jpbarto 05-06-2003 03:05 PM

mkbootdisk <name-of-kernel-image>

do this with a floppy in the drive.

ludwig W 05-06-2003 03:10 PM

thanks.:)

jpbarto 05-06-2003 03:10 PM

no problem.

ludwig W 05-06-2003 03:33 PM

when I type
mkbootdisk initrd-2.4.20.img

I get:
/lib/modules/initrd-2.4.20.img is not a directory.

What am I doing wrong? :confused:

jpbarto 05-06-2003 03:44 PM

try the full path to the kernel image

take a look at the manpage for it.

ludwig W 05-06-2003 03:55 PM

yes,I tried that as well.Still didn't work,unfortunately

jpbarto 05-06-2003 05:15 PM

check out this thread... worked for him.

http://www.linuxquestions.org/questi...threadid=57626

could also try the dd command:
4.5 Make a boot disk within Linux.
Open up a terminal cd to the images directory and type dd if=xxxx.img of=/dev/fd0 where xxxx is the name of the image.
Read the README file or INSTALL file for more information.

(found at http://cafecomputer.com/page4faq.htm )


All times are GMT -5. The time now is 11:39 PM.