Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-02-2004, 08:49 PM   #1
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Rep: Reputation: 15
grub scsi question

does anyone know the syntax for a scsi hard drive at the grub prompt (or in the grub.conf for that matter)?

I have no trouble booting to linux using :

root (hd0,0)

kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/

initrd /initrd-2.4.22-1.2115.nptl.img



when I try :

root (sd0,0) to reference my windows drive, I get the error:

error while parsing number

(hd1,0) returns an error that the drive does not exist (which is true, but I thought I'd try anyway)

I've also tried sda0, sda1, and sda.

I may have missed something, but the online manual doesn't seem to answer this question.

I can boot to windows if I just tell the bios to boot from SCSI, and I can boot to Fedora using the GRUB floppy, but if I could just figure this last piece out I could do it all from my hard drive I guess. It's not critical, but it's a little annoying. Although up to now I'd been switching the boot order in the bios every time I wanted to switch OS's, so I suppose this is progress.


Old 05-02-2004, 09:10 PM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Actually the syntax for scsi harddrives is also hdX, which means (hd1,0) should have worked. Try entering "root (" then hit tab at the grub prompt, it should give you a list of harddrive it's able to see. If your SCSI drives doesn't show up then unfortunately I don't have much experience using GRUB on SCSI harddrives so can't help you further.
Or you can try LILO.

Last edited by Demonbane; 05-02-2004 at 09:16 PM.


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
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 10:01 PM
grub/lilo problem with 2 scsi-disks finky Linux - Software 5 12-03-2004 07:39 AM
hda=ide-scsi in grub.conf xround Linux - General 5 09-17-2004 06:48 AM
Fedora SCSI autoreboots after GRUB jmral23 Fedora - Installation 1 08-03-2004 01:56 PM
Emulate SCSI using grub Harp00 Linux - Newbie 1 10-07-2003 11:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:07 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