Re: howto boot from the second disk in raid 1

2011-08-24 Thread Scott Ferguson
On 24/08/11 09:59, Tom H wrote: On Tue, Aug 23, 2011 at 6:40 PM, Scott Ferguson prettyfly.producti...@gmail.com wrote: On 24/08/11 06:44, Bob Proulx wrote: abdelkader belahcene wrote: but it fails to �reboot from the second disk alone. although �i installed �grub in both disks snipped

Re: Re: howto boot from the second disk in raid 1

2011-08-24 Thread abdelkader belahcene
*Thanks for all, I did correctly grub-install /dev/sda and grub-install /dev/sdb , no error reported. Some friend said , there is a bug in grub2 of debian6 ?? may be, I checked grub from ubuntu, I got a problem too. there is something strange; may be it helps, when I ran sfdisk -l,

Re: Re: howto boot from the second disk in raid 1

2011-08-24 Thread abdelkader belahcene
*hi again, I can boot from the disk 2, if disk 1 is remove logically ( by command mdadm --manage /dev/md0 --remove /dev/sda1)* * If I remove the disk ( physically from the machine), it doen't work. here the output of mdstat , we see that we have just /dev/sdb it is working, but the disk one

Re: howto boot from the second disk in raid 1

2011-08-23 Thread Stan Hoeppner
On 8/23/2011 12:50 PM, abdelkader belahcene wrote: *hi, I installed squeeze on 2 disks sata using raid 1. Hardware/mobo fakeraid, or Linux MD RAID (mdadm)? Please state mobo brand and model#, as well as any IDE/SATA PCI/e cards. the system runs fine with both disks, it runs fine with the

Re: howto boot from the second disk in raid 1

2011-08-23 Thread Bob Proulx
abdelkader belahcene wrote: but it fails to reboot from the second disk alone. although i installed grub in both disks Are you very certain that you installed grub on both disks? Because failure to do this is a very common reason that systems won't boot from the second disk. Previous

Re: howto boot from the second disk in raid 1

2011-08-23 Thread Bob Proulx
Bob Proulx wrote: # grub grub device (hd0) /dev/sdb grub root (hd0,0) grub setup (hd0) grub quit Oh! I made an (hd0,0) assumption above and didn't explain it. That valud may be different depending upon your configuration. But in the old grub you can search for it like this:

Re: howto boot from the second disk in raid 1

2011-08-23 Thread Tom H
On Tue, Aug 23, 2011 at 4:44 PM, Bob Proulx b...@proulx.com wrote: For the new Grub2, I don't know.  I haven't been able to learn it yet. Perhaps someone else will be kind enough to step up and say what needs to be done to install grub2 on a second disk.  Probably just:  grub-install

Re: howto boot from the second disk in raid 1

2011-08-23 Thread Bob Proulx
Tom H wrote: Bob Proulx wrote: For the new Grub2, I don't know. I haven't been able to learn it yet. Perhaps someone else will be kind enough to step up and say what needs to be done to install grub2 on a second disk. Probably just: grub-install /dev/sdb Correct. Oh good. Thanks

Re: howto boot from the second disk in raid 1

2011-08-23 Thread Tom H
On Tue, Aug 23, 2011 at 5:21 PM, Bob Proulx b...@proulx.com wrote: Tom H wrote: Bob Proulx wrote: For the new Grub2, I don't know. I haven't been able to learn it yet. Perhaps someone else will be kind enough to step up and say what needs to be done to install grub2 on a second disk.

Re: howto boot from the second disk in raid 1

2011-08-23 Thread Scott Ferguson
On 24/08/11 06:44, Bob Proulx wrote: abdelkader belahcene wrote: but it fails to reboot from the second disk alone. although i installed grub in both disks snipped Probably just: grub-install /dev/sdb Bob Followed by:- # update-grub Cheers -- People ask me what I think

Re: howto boot from the second disk in raid 1

2011-08-23 Thread Tom H
On Tue, Aug 23, 2011 at 6:40 PM, Scott Ferguson prettyfly.producti...@gmail.com wrote: On 24/08/11 06:44, Bob Proulx wrote: abdelkader belahcene wrote: but it fails to  reboot from the second disk alone. although  i installed  grub in both disks snipped Probably just:   grub-install