LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub scsi question (https://www.linuxquestions.org/questions/linux-newbie-8/grub-scsi-question-177133/)

jfranks214 05-02-2004 07:49 PM

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

boot

BUT,

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.


Thanks,

Jonathan

Demonbane 05-02-2004 08:10 PM

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.


All times are GMT -5. The time now is 03:29 PM.