2CV67
December 19th, 2011, 09:18 PM
I installed Ubuntu 11.10 on my wife's netbook alongside Windows 7.
Because there were already several primary partitions, I had to put Ubuntu inside an extended partition, see GParted diagram attached.http://i838.photobucket.com/albums/zz309/2CV67/netbookpartitions.png
I think this means Ubuntu kernels I need to boot to are in /dev/sda7 doesn't it?
Anyway, this all worked just fine & I was booting as first priority to W7 (for wife) with Grub screen to select Ubuntu for me.
Today, Ubuntu updated to a new kernel & Grub2 screwed things up - booting to memtest or whatever.
I am new to Grub2 - my main PC still has good old legacy grub & I know how to deal with menu.lst but not Grub2 on the new netbook.
So I rebooted to the grub screen, saw that it now showed (roughly):
- Ubuntu 3.0.0-14 generic
- Ubuntu 3.0.0-14 recovery
- Previous versions
- Memtest...
- Memtest...
- W7
- W7 recovery
I booted to Ubuntu & found /etc/default/grub where I noticed the line GRUB_DEFAULT=4.
Making a false assumption that 2 lines had been added above W7, I did gksu gedit /etc/default/grub & changed DEFAULT=4 to =6 & saved.
I was surprised to see a bunch or error messages, but went ahead with sudo update grub.
Trying to reboot, I found myself in Windows recovery & left as soon as I could.
Subsequent attempts at booting lead to "error: no such partition - grub rescue > _"
from which I can't escape.
After a lot of Googling, I found I could boot to the Live Ubuntu USB drive I used for the original installation, but can't get from there to the main Ubuntu file system to try to fix ...default/grub.
I ran sudo fdisk -l & was surprised to see it lists sda3 but none of the partitions inside (sda5/6/7/8).
I tried to mount Ubuntu with sudo mount/dev/sda3 /mnt but got error messages about needing to specify the file system type & can't get any further with that.
Then I tried installing Boot Repair & risked the "Recommended Repair" method.
After that, the netbook now boots straight to Windows (so my wife can get back to work - the main thing!) but I never see a grub screen or any way of getting Ubuntu.
The Boot Repair Report is at http:/paste.ubuntu.com/775525/ if that helps.
So - can anybody help me to either get the grub screen back or to mount my main Ubuntu drives from the live USB Ubuntu?
I have a couple-dozen Googled sites open at the moment, trying to help myself, but no luck so far!
Thanks for any suggestions!
Because there were already several primary partitions, I had to put Ubuntu inside an extended partition, see GParted diagram attached.http://i838.photobucket.com/albums/zz309/2CV67/netbookpartitions.png
I think this means Ubuntu kernels I need to boot to are in /dev/sda7 doesn't it?
Anyway, this all worked just fine & I was booting as first priority to W7 (for wife) with Grub screen to select Ubuntu for me.
Today, Ubuntu updated to a new kernel & Grub2 screwed things up - booting to memtest or whatever.
I am new to Grub2 - my main PC still has good old legacy grub & I know how to deal with menu.lst but not Grub2 on the new netbook.
So I rebooted to the grub screen, saw that it now showed (roughly):
- Ubuntu 3.0.0-14 generic
- Ubuntu 3.0.0-14 recovery
- Previous versions
- Memtest...
- Memtest...
- W7
- W7 recovery
I booted to Ubuntu & found /etc/default/grub where I noticed the line GRUB_DEFAULT=4.
Making a false assumption that 2 lines had been added above W7, I did gksu gedit /etc/default/grub & changed DEFAULT=4 to =6 & saved.
I was surprised to see a bunch or error messages, but went ahead with sudo update grub.
Trying to reboot, I found myself in Windows recovery & left as soon as I could.
Subsequent attempts at booting lead to "error: no such partition - grub rescue > _"
from which I can't escape.
After a lot of Googling, I found I could boot to the Live Ubuntu USB drive I used for the original installation, but can't get from there to the main Ubuntu file system to try to fix ...default/grub.
I ran sudo fdisk -l & was surprised to see it lists sda3 but none of the partitions inside (sda5/6/7/8).
I tried to mount Ubuntu with sudo mount/dev/sda3 /mnt but got error messages about needing to specify the file system type & can't get any further with that.
Then I tried installing Boot Repair & risked the "Recommended Repair" method.
After that, the netbook now boots straight to Windows (so my wife can get back to work - the main thing!) but I never see a grub screen or any way of getting Ubuntu.
The Boot Repair Report is at http:/paste.ubuntu.com/775525/ if that helps.
So - can anybody help me to either get the grub screen back or to mount my main Ubuntu drives from the live USB Ubuntu?
I have a couple-dozen Googled sites open at the moment, trying to help myself, but no luck so far!
Thanks for any suggestions!