Cannot boot Ubuntu
I have XP and Ubuntu on my computer and both seemed to be working fine but now when I try to load into Ubuntu I get
Code:
GNU GRUB version 1.97~beta 4 Any help appreciated!!!! Alex |
I guess you get this problem once the update manager upgrades grub
you just need to re-install GRUB. https://bugs.launchpad.net/ubuntu/+s...b2/+bug/477104 http://www.mail-archive.com/ubuntu-i.../msg06802.html |
Really sorry but those pages seem to have gone right over my head!
How do I revert back to my old version of GRUB? Is this something which I did wrong or is there a bug? Cheers, Alex |
You may have upgraded grub to grub2 and something went wrong. You can boot from Ubuntu Live cd and from terminal use command:
sudo grub-install /dev/sda assuming that your drive is named sda. Change to your values. |
I tried the following:
Code:
sh:GRUB>linux /boot/vmlinuz-2.6.31-14-generic root=dev/sda1 loop=ubuntu/disks/root.disk ro Code:
Begin:loading essential drivers... ... Alex |
Sorry linuxlover.chaitanya I didnt see your reply Il try that now:)
Alex |
I ran the CD without making changes to my current setup, then opened a terminal and typed:
Code:
sudo grub-update /dev/sda Code:
grub-probe:error: cannot find device for /boot/grub Alex |
You do not change it to partitions on the disk. Find out the disk name by using sudo fdisk -l.
It should tell you if your disk is sda or hda or something else. And then use this name in grub-install command. This is the output of fdisk -l at my end. Code:
Disk /dev/sda: 80.0 GB, 80000000000 bytes |
When I entered:
Code:
sudo fdisk -l Code:
Disk /dev/sda :250.1GB Code:
sudo grub-update /dev/sda Alex |
sudo grub-install --root-directory=/boot(or where you have grub mounted) /dev/sda
|
Why update? install grub.
sudo grub-install /dev/sda |
Troop,
How would I find out where GRUB is mounted? Thanks, Alex |
I entered:
Code:
sudo grub-install --root-directory=/boot /dev.sda Code:
sudo grub-update --root-directory=/boot /dev.sda Code:
grub-probe error: cannot find a device for /boot/boot/grub Alex |
Yes this could be. Do you know if you have got a separate partition mounted on /boot?
Usually this should not be an issue and you need not specify your root directory. just sudo grub-install /dev/sda should work just fine for you. It has for me. |
I wouldnt know whether I have a partition. I have windows and ubuntu installed as separate operating systems which I choose at startup. How do I find this out?
Alex |
All times are GMT -5. The time now is 05:35 PM. |