grub not writing grub.cfg and device.map
I'm running 10.10 on /dev/sdb1 and I've also got rhel4 on /dev/sdb2, suse10.1 on /dev/sdb3, shared /home on /dev/sdb6, plus various Win XP partitions on /dev/sda.
I run
sudo grub-install --recheck /dev/sda
and when done, there is no change to /boot/grub/grub.cfg nor /boot/grub/
If I manually run
sudo grub-mkconfig
I see a mostly correct grub.cfg, but (for example) one of the menu items is
menuentry "SUSE Linux 10.1 (on /dev/sdb3)" {
insmod part_msdos
insmod reiserfs
set root='(hd1,msdos3)'
search --no-floppy --fs-uuid --set d4be4ab2-
linux /boot/vmlinuz root=/dev/sda1 vga=0x314 acpi=off resume=/dev/sda5 splash=silent showopts
initrd /boot/initrd
}
and I can't understand how it got /dev/sdb3 correct in the title but got wrong root=/dev/sda1 in the linux command.
Is grub broken? Is this pilot error? Where is grub putting its stuff if not in /boot/grub/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Lee Boekelheide for more information if necessary.