-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grub problems #8
Comments
I'm seeing the same problem trying to run update-grub from inside a chrooted env from the 11.10 live CD: update-grubGenerating grub.cfg ... Looking at the code in /etc/grub.d/10_linux, it looks like the offending line is this: That stat command returns "UNKNOWN (0x2fc12fc1)" on 11.10 for a zfs mount. I don't see any similar lines in the upstream grub2 in 11.10, so I'm not sure what it's supposed to do (other than the obvious following stuff for btrfs). Thankfully, it doesn't seem to affect setting up the grub.cfg, zfs entries. |
The issue with the "[: 68: missing ]" error is this line in /etc/grub.d/10_linux: The fix is to change it to this: |
I already fixed this in-tree as
Let me double check whether I published it for all distro releases. |
Can this issue be closed? |
Hi Darik,
i have a few grub-related issues. In all cases i encountered these problems on a fresh
install via amd64 live-cd to an empty disk.
Following this howto, i never ever got grub-pc installed. Not on 11.04, nor on 11.10. In step 5.6 when executing
i get
You see, grub-pc is recommended but ignored due to the switch.
In step 6.1 grub-probe is succesful but /boot/grub is missing and also grub-install and update-grub
/etc/grub.d/10_linux: 68: xUNKNOWN (0x2fc12fc1): not found
apt-get install grub-pc resolves the problem regarding /boot/grub and the missing tools
but it throws an error message
error: cannot find a GRUB drive for /dev/disk/by-id/ata-WDC_...CAWFxxxxxxx. Check your device.map.
For the first time (i did numerous installations previous with 11.04 using /dev/sda) i used /dev/data/by-id/ addressing
schema. /dev/disk/by-id/ has two entries for every disk/partition: an ata-* and a scsi-*. First, inspired by the howto, i used
the scsi variant which worked until step 6.5
I found that /boot/grub/device.map didnt exist and tried to fix this
Since grub-mkdevicemap only added the ata variant, i started over by erasing the hd and rebooting from live-cd
using this id. I encountered all 3 issues.
BUT (!!!!)
After rebooting, the system is fully functional.
Best regards
Thomas
The text was updated successfully, but these errors were encountered: