Can't boot a second HDD on slave

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't boot a second HDD on slave

Joyce Markoll
Hello,
When booting I get Grub Error 21: can't find the HDD.

The HDD's are IDE, the one that boots is Hda on master
the second one is just behind. The Grub (and kernel)that boots is in
/boot/grub/menu.lst inside the / partition.

I've got:
=-=-=-==-=-=
The text bloc I added in /boot/grub/menu.lst for this second HDD:

title Edubuntu, kernel 2.6.12-9-386
root (hd1,1)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hdb2 ro quiet
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

Content of the 'sudo cfdisk /dev/hdb'


       hdb1                                 Primaire        Linux swap /
Solaris                                403,04
       hdb2               Amorce            Primaire        Linux ext3
               [/]                      3997,49
       hdb3                                 Primaire        Linux ext3
                                       35615,47


Content of the device.map (added the second line after a first reboot)

$ cat /boot/grub/device.map
(hd0)   /dev/hda
(hd1)   /dev/hdb
=-=-=-==-=-=

It's my first experience to add a HDD, do someone see what I could have
mistaken or forgotten ?
Thanks a lot for help, Joyce Markoll.


--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (264 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can't boot a second HDD on slave

Alexander Jacob Tsykin
J.Markoll wrote:

> Hello,
> When booting I get Grub Error 21: can't find the HDD.
>
> The HDD's are IDE, the one that boots is Hda on master
> the second one is just behind. The Grub (and kernel)that boots is in
> /boot/grub/menu.lst inside the / partition.

Is it in the / of /dev/hda or /dev/hdb? because it might be that it's in
the wrong hard drive. It should be on /dev/hda (I think)

>
> I've got:
> =-=-=-==-=-=
> The text bloc I added in /boot/grub/menu.lst for this second HDD:
>
> title        Edubuntu, kernel 2.6.12-9-386
> root        (hd1,1)
> kernel        /boot/vmlinuz-2.6.12-9-386 root=/dev/hdb2 ro quiet
> initrd        /boot/initrd.img-2.6.12-9-386
> savedefault
> boot

this seems ok

> Thanks a lot for help, Joyce Markoll.
>
Sasha

--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't boot a second HDD on slave [Solved]

Joyce Markoll
In reply to this post by Joyce Markoll
J.Markoll a écrit :

> Hello,
> When booting I get Grub Error 21: can't find the HDD.
>
> The HDD's are IDE, the one that boots is Hda on master
> the second one is just behind. The Grub (and kernel)that boots is in
> /boot/grub/menu.lst inside the / partition.
>
> I've got:
> =-=-=-==-=-=
> The text bloc I added in /boot/grub/menu.lst for this second HDD:
>
> title        Edubuntu, kernel 2.6.12-9-386
> root        (hd1,1)
> kernel        /boot/vmlinuz-2.6.12-9-386 root=/dev/hdb2 ro quiet
> initrd        /boot/initrd.img-2.6.12-9-386
> savedefault
> boot
>
> Content of the 'sudo cfdisk /dev/hdb'
>
>
>       hdb1                                 Primaire        Linux swap /
> Solaris                                403,04
>       hdb2               Amorce            Primaire        Linux ext3
>               [/]                      3997,49
>       hdb3                                 Primaire        Linux ext3
>                                       35615,47
>
>
> Content of the device.map (added the second line after a first reboot)
>
> $ cat /boot/grub/device.map
> (hd0)   /dev/hda
> (hd1)   /dev/hdb
> =-=-=-==-=-=
>
> do someone see what I could have  mistaken or forgotten ?
I went on the #ubuntu chan where someone gave me the idea to check the
settings in the BIOS. The slave had to be enabled. That was the trick.
Thus, the people on the chan are also of a great help (I use
http://pastebin.com to give the outputs and give the Url on the chan)
Best greetings, Joyce Markoll.



--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (264 bytes) Download Attachment