jacobandreas
October 14th, 2010, 05:54 PM
Grub wasn't upgraded properly when going from 10.04 to 10.10 -- it segfaulted when trying to install. I let the installer proceed with the rest of the upgrade, but I still can't get grub to install properly and I'm worried that it's left me without a working bootloader.
I've tried purging and reinstalling grub-pc and grub-common, but whenever I run
sudo grub-install /dev/sda
or
sudo grub-setup /dev/sda
I get a segfault. Additionally, trying to run
sudo update-grub
I get
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Segmentation fault
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
done
I'm now afraid to restart my computer. If anybody knows what's going on I'd really appreciate it.
For reference, my hard drive is set up with:
1 real partition (with /)
1 virtual partition (with swap)
I've tried purging and reinstalling grub-pc and grub-common, but whenever I run
sudo grub-install /dev/sda
or
sudo grub-setup /dev/sda
I get a segfault. Additionally, trying to run
sudo update-grub
I get
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Segmentation fault
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
done
I'm now afraid to restart my computer. If anybody knows what's going on I'd really appreciate it.
For reference, my hard drive is set up with:
1 real partition (with /)
1 virtual partition (with swap)