Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 07-09-2009, 02:02 AM   #1
Registered: Dec 2005
Distribution: debian (testing/unstable)
Posts: 57

Rep: Reputation: 17
Question How to include SATA-cdrom into GRUB menu (for chainloading)

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
title Start from CD 
   rootnoverify (hdX)
   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 02:04 AM. Reason: minor corrections and tags
Old 07-09-2009, 06:49 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

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


bootable, cd, cdrom, chainloading, grub, menulst, sata

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

All times are GMT -5. The time now is 07:14 AM.

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