Created attachment 319040 [details] emerge --info
# grub-install --no-floppy /dev/sda /dev/root: Not found or not a block device. Because /dev/root does not exist # ls -l /dev/root /bin/ls: cannot access /dev/root: No such file or directory Yet: # cat /proc/cmdline root=/dev/sda2 From grub command line entering: grub> root (hd0,1) grub> setup (hd0) grub> quit Works fine. So the script grub-install appears to be broken.
Apologies for the mess but there is no way to edit.
*** This bug has been marked as a duplicate of bug 390519 ***
This is not a udev issue. Please see the tracker this bug blocks now for information on how your package may be able to be fixed. Thanks, William
We need to improve our documentation to tell users not use grub-install until someone finds time to write fairly invasive modifications to sys-boot/grub:0 to stop relying on /dev/root. If you really want to use grub-install, do `ln -s /dev/sda /dev/root`. Otherwise, please use the grub shell.
(In reply to comment #6) > We need to improve our documentation to tell users not use grub-install > until someone finds time to write fairly invasive modifications to > sys-boot/grub:0 to stop relying on /dev/root. Also, we have grub-2 in ~arch, so when that hits stable there will be a big documentation update. I'm not quite sure what is holding up grub-2 stabilization.
(In reply to comment #6) > We need to improve our documentation to tell users not use grub-install > until someone finds time to write fairly invasive modifications to > sys-boot/grub:0 to stop relying on /dev/root. > > If you really want to use grub-install, do `ln -s /dev/sda /dev/root`. > Otherwise, please use the grub shell. I guess you mean `ln -s /dev/sdaX /dev/root` with sdaX the root partition. Anything else does not make sense.
Created attachment 337508 [details, diff] Patch to fix missing /dev/root I have written a preliminary patch that should fix this, but it needs testing. I have not tested it at all (and do not have time for testing at the moment). If anyone wishes to volunteer, it would be much appreciated.
Given the stage of grub:0 should this be revisited? It's been quite a while since I recall the whole /dev/root situation and I don't remember if it was ever resolved another way or not..
grub:0 is gone