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 i

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: howto boot from the second disk in raid 1

2011-08-23 Thread Scott Ferguson
On 24/08/11 09:59, Tom H wrote: > On Tue, Aug 23, 2011 at 6:40 PM, Scott Ferguson > 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 >> >> >> >>> Probably just: >>

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 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 > > > >> Probably just: >> >>   grub-install /dev/sdb > > Followed by:

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 > > 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 5:21 PM, Bob Proulx 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. Probably j

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 g

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 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

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 th

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 vers

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 t