LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2003, 03:48 PM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
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.

Last edited by ludwig W; 05-06-2003 at 03:49 PM.
 
Old 05-06-2003, 04:05 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
mkbootdisk <name-of-kernel-image>

do this with a floppy in the drive.
 
Old 05-06-2003, 04:10 PM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks.
 
Old 05-06-2003, 04:10 PM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
no problem.
 
Old 05-06-2003, 04:33 PM   #5
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
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?
 
Old 05-06-2003, 04:44 PM   #6
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
try the full path to the kernel image

take a look at the manpage for it.

Last edited by jpbarto; 05-06-2003 at 04:46 PM.
 
Old 05-06-2003, 04:55 PM   #7
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
yes,I tried that as well.Still didn't work,unfortunately
 
Old 05-06-2003, 06:15 PM   #8
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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 )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making the Floppy Boot Disk RoMi Slackware - Installation 1 09-11-2004 12:10 AM
Making a boot disk Pyro*1 DamnSmallLinux 7 01-04-2004 08:42 PM
Making a boot disk linuxboy69 Linux - Software 1 11-03-2003 03:31 PM
Making a boot disk linuxboy69 Linux - General 1 11-03-2003 03:03 PM
making a boot disk for slack 9.0 on xp veritas Slackware 1 10-25-2003 09:11 PM


All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration