You are not logged in.

#1 2011-12-12 15:21:10

IncredibleLaser
Member
From: Germany, NRW
Registered: 2008-07-16
Posts: 158

Can't get GRUB2 to boot my system

Hi all,
Today I have reinstalled Arch Linux on my workstation, but I can't get GRUB2 to boot my system. It's 2 HDDs with 500GB each, both partitioned with GPT as follows:

2MB BIOS Boot Partition
100MB for /boot (RAID1, ext2)
20GB for / (RAID0, ext4)
remaining space for /home (RAID0, ext4)

It seems, however, that GRUB2 can't assemble the arrays. I always get dropped to the recovery shell after selecting the entry for arch and there is nothing like /dev/md*. Does anybody know what to do? I can post my configs later if they are needed.

Offline

#2 2011-12-12 16:42:13

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: Can't get GRUB2 to boot my system

Looks something wrong with initramfs instead of grub2 to me. Check whether the initramfs generated has the required modules and scripts to recognize the RAID array (sorry don't know much about RAID, so can't help you there).

Offline

#3 2011-12-12 16:58:30

IncredibleLaser
Member
From: Germany, NRW
Registered: 2008-07-16
Posts: 158

Re: Can't get GRUB2 to boot my system

I just found out it's the same problem as in https://bbs.archlinux.org/viewtopic.php?id=128892.

My Initramfs is built using HOOKS="base udev autodetect pata scsi sata mdadm filesystems usbinput" so that should work as far as i know.

Offline

#4 2011-12-12 17:19:53

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Can't get GRUB2 to boot my system

Perhaps your problem is similar to mine which would be solved in some versions of the linux3 .

I added ....root=/dev/md0 to my kernel line.

My system may be different than yours because I boot on a  raid0 partition.

EDIT:  metadata in my boot is grub1.99.

Last edited by lilsirecho (2011-12-12 17:21:09)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2011-12-13 11:51:21

IncredibleLaser
Member
From: Germany, NRW
Registered: 2008-07-16
Posts: 158

Re: Can't get GRUB2 to boot my system

When I changed my /boot RAID to 0.90 metadata, I'm still dropped to the recovery shell, but with /dev/md1 available, but I can't mount it anywhere. No chance assembling the other arrays, though. I thought GRUB2 supported this?

Offline

Board footer

Powered by FluxBB