It should not puzzle you at all! Grub actually counts drives when it comes
to any commands using (hd) or (fd) abbreviation. So, if you have just one
drive in the system, it does not matter which one it is - hdc (or Secondary
Master) or hda (or Primary Master). It will always be (hd0). But if you
install two drives, hda is going to be (hd0) and hdc becomes (hd1).

So, the only thing you should change (in you grub.conf to make it permanent)
is the kernel line. Replace all occurrences of "/dev/hda" with "/dev/hdc"
and it should boot right up. 

Dmitry Lebedev


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 23, 2006 11:10 AM
To: Discussion of AstLinux - Asterisk on Compact Flash
Subject: Re: [Astlinux-users] GRUB hangs without error message

Thanks Kristian,

>       If the flash card is secondary master you will have to update GRUBs
> config files.  Specifically the kernel command line and anything that
> points to hd0 (will probably be hd1).

That puzzles me. The flash card is seen as IDE secondary master by the 
BIOS, but GRUB see it as hd0:

----------------------------------------------------------------------

grub> root (hd1,0)
Error 21: Selected disk does not exist

grub> root (hd2,0)
Error 21: Selected disk does not exist

grub> root (hd0,0)
  Filesystem type is ext2fs, partition type 0x83

----------------------------------------------------------------------

For the kernel image arguments, I specified root=/dev/hda1. I also 
tried with hdb1 and hdc1.
Same result: when I type "boot", nothing happens.


_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to