LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 02: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 02:49 PM.
 
Old 05-06-2003, 03: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, 03:10 PM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks.
 
Old 05-06-2003, 03: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, 03: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, 03: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 03:46 PM.
 
Old 05-06-2003, 03: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, 05: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



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-10-2004 11:10 PM
Making a boot disk Pyro*1 DamnSmallLinux 7 01-04-2004 07:42 PM
Making a boot disk linuxboy69 Linux - Software 1 11-03-2003 02:31 PM
Making a boot disk linuxboy69 Linux - General 1 11-03-2003 02:03 PM
making a boot disk for slack 9.0 on xp veritas Slackware 1 10-25-2003 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 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
Open Source Consulting | Domain Registration