LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2004, 02:24 PM   #1
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Rep: Reputation: 15
Grub config, how to add CD to boot list?


Is there a way to add an entry in Grub so that when it loads the menu I would have the option to boot from a CD-ROM? That way I can hit the power button on my laptop, wait for the menu, then pop the CD-ROM in, select that option and continue. As it is now I have to power it up, put the CD in, power off and then back on.
 
Old 06-09-2004, 02:46 PM   #2
phase9
Member
 
Registered: Mar 2004
Location: austria, vienna
Distribution: slackware-10.2
Posts: 89

Rep: Reputation: 15
Hi!
try to add the following to grub.conf:

Code:
title CD-ROM
    root (hd0,0)
    chainloader +1
(hd0,0: If the CD-ROM is your primary master ide device)
 
Old 06-09-2004, 03:33 PM   #3
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Original Poster
Rep: Reputation: 15
what would I change it to if the CD-ROM was the secondary master? Primary master is the Hard Drive.
 
Old 06-09-2004, 03:38 PM   #4
phase9
Member
 
Registered: Mar 2004
Location: austria, vienna
Distribution: slackware-10.2
Posts: 89

Rep: Reputation: 15
Hi!

change hd(0,0) to (hd2,0). (Or try hd(1,0) if the former does not work).

Last edited by phase9; 06-09-2004 at 03:40 PM.
 
Old 06-09-2004, 04:08 PM   #5
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Original Poster
Rep: Reputation: 15
I tried it with hd1 and hd2 and neither works. I put these options in the lst file. This is a SuSE 9.0 install (if that makes a difference). When I select that option even with a CD in the drive it says Error 21: Selected disk does not exist. Could this be because Grub doesn't see the disk since there is no CD-ROM in there until after it starts up?
 
Old 06-09-2004, 05:42 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Granted I only use laptops on occasion but can't you open the CDROM drive as soon as you push the power button? You should have plenty of time during the POST to insert the CD. What type of laptop make, model do you own?

I believe grub uses the BIOS drive mapping. The first detected drive or selected boot drive is hd0, next is hd1 and so on. I do not believe there is any way to boot a CD once the BIOS passes control to the hard drive.
 
Old 06-09-2004, 10:08 PM   #7
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Original Poster
Rep: Reputation: 15
It's a Dell Latitude C640. I can indeed push the eject button as it is powering up, but when I do that it ejects the cd-rom and then I get a blinking underscore and it doesn't progress.
 
Old 06-01-2009, 11:53 PM   #8
back-.space
LQ Newbie
 
Registered: May 2009
Posts: 9

Rep: Reputation: 0
might help...

This might help...

I now boot from the hard drive to grub and select cdrom http://cutecomputer.wordpress.com/20...-through-grub/
 
  


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
How do I add Windows XP to Grub boot loader? LUB997 Linux - Software 29 10-17-2009 11:11 AM
GRUB - How to add Windows to boot menu? geekgyrrrl Linux - Newbie 4 06-04-2005 10:02 PM
Add GUI to Boot List? Leben Linux - Newbie 2 02-06-2003 07:04 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM
Grub boot list won't update kmsayre1 Linux - Software 3 03-15-2002 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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