LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-03-2004, 03:24 PM   #1
manudath
Member
 
Registered: Oct 2004
Posts: 42

Rep: Reputation: 15
Question Boot Linux Kernel from GRUB


Hi people!

I am relatively a newbie to the Linux world. I wanted to create a bootable CD for my Dual boot machine (I am running RH 9.0 on a 120GB IDE Hard Drive)...

I got an article online to download the mkCDRec rpm and make a bootable CD through it. I was successful to write the bootable CD and was even able to boot from the CD.

But the problem is that the system boots throught the CD and goes to the command prompt... Only then I realized that this is just reading from the CD and it is not able to load the kernel that is present in my /boot partition... I even tried mounting the /boot partition to the /mnt/local folder... and it shows files like grub, vmlinux..., etc., I am not able to start Xwindows from this point, neither am I able to see all the files in my system unless I explicitly mount the /dev/hdax to some directory...

I want to load Linux from a CD just as how it boots from a floppy.... Can anyone please help me?

Thanks,
Manudath
 
Old 10-04-2004, 08:34 AM   #2
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
I misunstand your intentions but would it not be quicker to boot from MBR?

a cd is good as a way of storing a kernel you know that works so its more of a rescue cd.
 
Old 10-04-2004, 01:18 PM   #3
manudath
Member
 
Registered: Oct 2004
Posts: 42

Original Poster
Rep: Reputation: 15
Hi,

I tried writing a bootable CD using the boot.img from the floppy... and also tried the methods mentioned in a couple of articles: El Torito... doing a
"dd if=/dev/fd0 of=boot.img bs=10k count=144"

and then writing it on the CD using the command:
"mkisofs -r -b boot.img -c boot.catalog -o bootcd.iso ."

When I try booting from this CD, it says "This is not a bootable CD... Please enter a bootable CD... Try SYS command in DOS <something similar to that>"

Did you get the problem?

Thanks,
Manudath
 
Old 10-05-2004, 09:54 AM   #4
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
I dont have a burner. I use floppy to copy mbr and and second drive with partimage to save images of my first drive.

that hasn't stopped me from included burning info in my tutorial here
http://www.linuxquestions.org/questi...hreadid=237511

you will notice that your image failed as it does not need the stage 1 file you used. Have a look at my bits and post any errors so that others can help?
 
  


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
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - Newbie 3 12-11-2005 09:26 PM
How do I use GRUB to boot linux at grub prompt? Mustbox Linux - General 2 02-15-2005 02:01 PM
boot stops at GRUB GRUB linux never boots coffeedemon Slackware 4 11-09-2004 03:20 PM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - General 5 06-19-2003 07:23 PM
kernel-2.4.20-13.8 and how to tell grub to boot it SuperTeece Linux - Software 7 05-21-2003 03:34 PM


All times are GMT -5. The time now is 04:20 PM.

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