LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Tags used in this thread
Popular LQ Tags , , , , , ,

Reply
 
Thread Tools
Old 07-09-2009, 03:02 AM   #1
devdol
LQ Newbie
 
Registered: Dec 2005
Distribution: debian (testing/unstable)
Posts: 24
Thanked: 0
Question How to include SATA-cdrom into GRUB menu (for chainloading)


[Log in to get rid of this advertisement]
If you have to boot from CDs quite often, you like to have an additional entry for a bootable CD in the grub menu. This way, one can conveniently boot from CD if the short period for pressing a key to boot from CD is over or BIOS is configured to boot from hd first.

In earlier times this was possible by some entry like
Code:
title Start from CD 
   rootnoverify (hdX)
   makeactive
   chainloader +1
However, this does not work for SATA devices.

info:grub tells us, that in an interactive grub shell "root([TAB-key]" will expand to a list of all known devices. Unfortunately, I'm left off with
"root(fd0 fd1 fd2 fd3 fd4 fd5 fd6 fd7 hd0" here. No device like (cd), (cd0) or something like that.

hd0, in this case, is an SATA harddisk, too (and this leaves hope that SATA cannot be a general problem at boot time).

Has anyone succeeded in finding a way to chainload from CD from GRUB's menu.lst with an SATA attached optical drive?

Last edited by devdol; 07-09-2009 at 03:04 AM.. Reason: minor corrections and tags
devdol is offline  
Tag This Post , , , , , ,
Reply With Quote
Old 07-09-2009, 07:49 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Lenny (x86)
Posts: 5,275
Thanked: 96
Optical drives are not supported in grub-legacy. The new grub2 is supposed to allow for this, but I'm not sure if it does yet or not. You can chainload something like PLoP on a small partition and use that to boot from CD or USB.
pljvaldez is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Chainloading Grub from Lilo Unr3a164 Slackware 5 06-04-2008 11:35 AM
grub and lilo chainloading rienqunuser Linux - Newbie 5 02-13-2008 06:59 PM
Chainloading from grub to LILO AtomicAmish Slackware - Installation 2 08-24-2007 11:47 PM
GRUB & XP w/out Chainloading: Possible? Computer Guru Linux - Software 5 06-14-2006 01:23 PM
grub and second linux, chainloading lacrimae Linux - Software 4 07-15-2002 10:17 PM


All times are GMT -5. The time now is 06:09 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration