PDA

View Full Version : [SOLVED] 14.04 Trusty Tahar - after install, will only boot for memory check



kdormuth2
August 25th, 2014, 12:48 AM
Hi all,
I upgraded to 14.04 this weekend, and it seemed to all go just fine - no errors, everything completed ok. When I rebooted, I got the usual error about a missing GRUB (I have a partitioned machine), so I booted from an old cd (10.10) and fixed that. Now, when I boot, it gets to the "select OS version" screen, and my only option is to run a memory test. I can't actually boot into the OS.
How can I fix this?
TIA,
Kristin

kansasnoob
August 25th, 2014, 12:52 AM
What procedure did you use to fix grub with the 10.10 disc?

kansasnoob
August 25th, 2014, 01:01 AM
I see Boot Repair (https://help.ubuntu.com/community/Boot-Repair) is not available for 10.10:

https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair

Can you somehow burn or otherwise acquire a Trusty live DVD or USB?

If not at least post the output of:


sudo parted -l

We might be able to update grub in a chroot ................ I'm really rusty at doing that though :(

kdormuth2
August 25th, 2014, 01:07 AM
To fix the grub, I followed these steps:
cd /mnt
mkdir boot
cd boot
sudo mount /dev/sda3 /mnt/boot
sudo grub-install --root-directory=/mnt /dev/sda
sudo umount /mnt/boot

I can try to download TRusty to a USB - should I just try to install again, from there?

kansasnoob
August 25th, 2014, 01:58 AM
I can try to download TRusty to a USB - should I just try to install again, from there?

Not sure what you mean by "install again". If you mean reinstalling Ubuntu I'd say no, there's a good chance grub can be fixed using Boot Repair:

https://help.ubuntu.com/community/Boot-Repair

And if not at least the Boot Info link would likely tell us what we need to do to fix it.

Should you need to reinstall Ubuntu at any point please beware of this bug:

https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1265192

kdormuth2
August 25th, 2014, 02:03 AM
Ok, I'll download it tomorrow at work and try the boot repair tomorrow evening.

kansasnoob
August 25th, 2014, 02:04 AM
BTW the download page has instructions regarding how to create a Live USB:

http://www.ubuntu.com/download/desktop

Be sure to select the proper download. I think you need a 64-bit image to repair 64-bit installs, and a 32-bit image to repair 32-bit installs.

fantab
August 25th, 2014, 12:50 PM
Just burn Boot-Repair (https://help.ubuntu.com/community/Boot-Repair) to a CD/USB: http://sourceforge.net/p/boot-repair-cd/home/Home/
This will be small download compared to downloading 14.04 again.

kdormuth2
August 25th, 2014, 10:51 PM
Hmm. I downloaded the Boot Repair tool, but when I reboot the computer with that cd in the drive, I still get the same result (memory test is the only option). It doesn't seem to be running.
Any advice?

kdormuth2
August 25th, 2014, 11:27 PM
Also, in reply to an earlier question, here's the output from "sudo parted -l":

Model: ATA WDC WD1600BEVT-0 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 82.3MB 82.2MB primary fat16 diag
2 82.3MB 2237MB 2155MB primary fat32
3 2237MB 2443MB 206MB primary ext3 boot
4 2443MB 160GB 158GB extended lba
5 2443MB 5083MB 2640MB logical linux-swap(v1)
6 5083MB 65.1GB 60.0GB logical ext4
7 65.1GB 160GB 95.0GB logical ext4

kdormuth2
August 26th, 2014, 12:13 AM
Whew!
I was able to install the boot repair tool manually (trading out "saucy" for "maverick," since that's the version of my live cd). For some reason it had trouble with "gawk," but when I did "sudo apt-get install boot-repair --fix-missing" it was able to finish the install.

I'm finally up and running with 14.04. :-D

Thanks for your help!!

fantab
August 26th, 2014, 08:31 AM
Hmm. I downloaded the Boot Repair tool, but when I reboot the computer with that cd in the drive, I still get the same result (memory test is the only option). It doesn't seem to be running.

This is because you should choose CD drive as your first boot drive in BIOS.

I am glad that you have fixed your boot issue.