83 reputation
7
bio website
location
age 44
visits member for 3 years, 8 months
seen Oct 13 at 16:22

May
14
awarded  Popular Question
Jan
21
awarded  Commentator
Jan
21
comment File replication program for Linux
Link to file is restricted.
Oct
7
awarded  Scholar
Oct
7
accepted GRUB2 not detecting OS on raid partitions
Oct
7
comment GRUB2 not detecting OS on raid partitions
It is resolved. The steps are very similar to above and makes sense. 1) Do all of the stuff you said, 2) grub-install /dev/sda, 3) grub-mkconfig > /newroot/boot/grub/menu.cfg, where newroot is /dev/md127 mounted, 4) grub-mkconfig > /boot/grub/menu.cfg, 5) Reboot and manually edit the first grub entry so that it has root=/dev/md127, 6) Let it boot, then re-run these steps all over again (some redundancy). Re-installing grub makes sure it now is going to look at /dev/md127 for grub info, 7) Reboot and when it works, add the other disk to the raid array and install grub to the other disk.
Sep
28
comment GRUB2 not detecting OS on raid partitions
Thanks for looking into this. I've added all above.
Sep
28
revised GRUB2 not detecting OS on raid partitions
Add various config files.
Sep
28
comment GRUB2 not detecting OS on raid partitions
Thanks Mikey. Not going well. I did many things and none of them boot right. /dev/md127 was something weird that I wondered about. The other partition is /dev/md5 and md127 was once /dev/md2 but on some reboot it decided to change. NOTE: grub-rescue cannot see the raid drives. I type: insmod raid and insmod mdraid09 and ls and see nothing but hd0 drives. Again, the only way to get it to boot is to change the BIOS boot to the second drive which has the original non-raid boot setup. I then can change root=/dev/md127 and it boots fine.
Sep
28
comment GRUB2 not detecting OS on raid partitions
Thanks. Here is what I am in the process of doing. 1) dpkg-reconfigure mdadm (make sure no errors) 2) mount /dev/md/127 /newroot 3) rsync -avx / /newroot/ 4) grub-mkconfig (I don't expect this to find the raid) 5) reboot and manually change root= to point to /dev/md/127 6) grub-mkconfig (I expect this to find the raid and update grub.cfg to load the proper modules)
Sep
27
comment GRUB2 not detecting OS on raid partitions
@Nils, the raid is setup properly as far as each drive and the "auto-detect". In fact, it works fine as a raid device if I manually mount it to some folder.
Sep
27
comment GRUB2 not detecting OS on raid partitions
@Nils, thanks for the help. I think I would be OK if initrd was not loaded via raid. I also think that I could easily add the right root= in order to make it boot raid. My main concern is in getting grub to scan and add that entry automatically. Do you think if I manually edited the config and booted that way, then the scan might work?
Sep
27
revised GRUB2 not detecting OS on raid partitions
added 577 characters in body
Sep
22
comment GRUB2 not detecting OS on raid partitions
Sorry, but I haven't gotten around to posting it. I could be wrong, but do you think the problem could be in there? That file is not used for scanning, right? It is an output that is auto-generated. I'll still post it if you think it will help.
Jul
28
awarded  Supporter
Jul
1
comment mysql server 5.1 config on win 2008 (experts help required)
Is the "one million handles" growing over time?
Jul
1
comment GRUB2 not detecting OS on raid partitions
BTW, I have already searched and found a metadata issue like this where grub 2 used to require metadata 0.9. However, that is old news and all that I see now recommends metadata 1.2.
Jul
1
awarded  Student
Jun
30
asked GRUB2 not detecting OS on raid partitions
Apr
16
answered I bought a domain name and I just can't configure it to point to my host. How can I do that?