You are not logged in.

#1 2011-04-04 21:18:01

mr.schyte
Member
Registered: 2011-03-05
Posts: 11

grub2-efi sata device not created

I have recently installed grub2-efi on my macbook, for dual booting (with refit) MacOSX and linux. Booting to MacOSX works from grub, but linux does not. Currently I'm booting arch with lilo through refit. When I try to do a boot using grub, I get an error message like this:

:: Loading Initramfs
:: Starting udevd...
done.
Waiting 10 seconds for device /dev/sda ...
ERROR: Unable to determine major/minor number of root device '/dev/sda'.

The strange thing is, that no /dev/sda device is created, although sd_mod is loaded. Could this be a problem with the intel sata drivers?
Note that I tried to boot with the fakebios, loadbios options and various efi kernel compatibility flags.

Offline

#2 2011-04-05 01:00:16

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: grub2-efi sata device not created

/dev/sda is a disk, not a partition. Your grub config is wrong. Also worth noting is that an initcpio with autodetect fails to create a bootable image for my macbook aur -- I've always used the fallback image.

Last edited by falconindy (2011-04-05 01:01:35)

Offline

#3 2011-04-05 10:30:17

mr.schyte
Member
Registered: 2011-03-05
Posts: 11

Re: grub2-efi sata device not created

The fallback image works! Thanks!

Offline

#4 2011-09-17 19:33:29

delerious010
Member
From: Montreal
Registered: 2008-10-07
Posts: 72

Re: grub2-efi sata device not created

Fallback image works since it's got all of the modules loaded where as the "standard" initrd most likely doesn't. I ran into this exact same issue when setting up my macbook air as well.

Another workaround to this issue is to move your /etc/mkinitcpio.conf hooks so that the autodetect is placed after sata. In this way, mkinitcpio's misdetection won't cause your module to be removed.

Offline

Board footer

Powered by FluxBB