You are not logged in.
Pages: 1
Back in august I reinstalled Arch Linux 64 bit on my machine using grub2 this time (1.99beta3 at the time I think). I'm using software raid mirror my 2 500 GB drives into one RAID 0 volume with a boot partition, root partition and a home partition. I haven't updated grub2 since the day I installed it (maybe ignorance on my part) but I decided today since grub 2 is at 2.00beta3 that I would update it. I originally installed grub on both my disks with the command
root@pc-chroot:~# grub-install --no-floppy --modules="raid" /dev/sda
root@pc-chroot:~# grub-install --no-floppy --modules="raid" /dev/sdb
I looked at the Arch Linux wiki again before I did the update and in the wiki grub2 should be installed the following way
grub-install --directory=/usr/lib/grub/i386-pc --target=i386-pc --boot-directory=/boot --recheck --debug /dev/sda
so I did that for both sda and sdb and completed without errors. My partition still boots but now it complains about
/usr/lib/grub/i386-pc/raid.mod is missing at boot?
I tried now to reinstall grub2 with
grub-install --directory=/usr/lib/grub/i386-pc --target=i386-pc --boot-directory=/boot --recheck --debug --modules="raid" /dev/sda
but I gives the error
/usr/bin/grub-mkimage: fejl: cannot stat `/usr/lib/grub/i386-pc/raid.mod': No such file or directory.
Did I miss something?
Last edited by fettouhi (2012-04-05 05:57:22)
Offline
I stumbled over the same one.
You need to update your grub.cfg after updating to 2.0.0beta3 - raid.mod is gone, you only need mdraid09 and/or mdraid1x.
Offline
I stumbled over the same one.
You need to update your grub.cfg after updating to 2.0.0beta3 - raid.mod is gone, you only need mdraid09 and/or mdraid1x.
OK, do I edit grub.cfg directly then? I heard that would be a bad idea?
Offline
I used grub-mkconfig, it worked fine. (but anyways kept a backup, always good to have)
Offline
How did you do it with grub-mkconfig? Sorry for asking but I haven't used it very much.
Last edited by fettouhi (2012-04-04 21:14:43)
Offline
Offline
Thanks it worked the error is gone even the floppy error is gone as well .
Offline
Pages: 1