PDA

View Full Version : [ubuntu] Grub Problem



weaverdj
July 29th, 2009, 07:46 PM
Performed a normal update manager today 7/29. Required a restart and now I get this message:

GRUB loading stage 1.5.

GRUB loading, please wait
Error 18

Then it just hangs. No other os installed, no other hardware/sorftware changes. Worked fine before updates.

Celeron 2.0 Gh
1 gig of ram

Ubuntu 9.04

merlinus
July 29th, 2009, 09:38 PM
Post results of


sudo fdisk -l

weaverdj
August 5th, 2009, 01:51 PM
I can only boot from the live cd. will that command show what you want from that type of boot?

realzippy
August 5th, 2009, 01:54 PM
There is a SuperGrubDisc,pretty small,a LiveCD
which can repair broken GRUBs easily..

http://www.supergrubdisk.org/index.php

weaverdj
August 8th, 2009, 08:43 PM
Tried every option w/supergrubdisk. No go. Have searched forums and tried every suggestion - reinstall grub, etc. Nothing. HELP!!

merlinus
August 8th, 2009, 08:52 PM
Whilst running from the live cd, open a terminal and post results of


sudo fdisk -l

weaverdj
August 8th, 2009, 10:19 PM
Sorry, here it is.

Ubuntu 9.04 is actually at /dev/sda8. How do I boot from there?

255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1ba8ed00

Device Boot Start End Blocks Id System
/dev/sda1 * 1 135 1084356 83 Linux
/dev/sda2 136 7297 57528765 5 Extended
/dev/sda5 6995 7297 2433816 82 Linux swap / Solaris
/dev/sda6 136 261 1012032 83 Linux
/dev/sda7 6709 6994 2297263+ 82 Linux swap / Solaris
/dev/sda8 262 6439 49624753+ 83 Linux
/dev/sda9 6440 6708 2160711 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2fa02811

Device Boot Start End Blocks Id System
/dev/sdb1 1 4865 39078081 83 Linux

merlinus
August 8th, 2009, 11:27 PM
Which partition is linux root? Also, on sda you have 3 swap partitions, and the partition numbering is incorrect.

Flapse
August 9th, 2009, 12:55 AM
Okay, so I've got the same problem, only I (for some reason) installed grub in Windows... How do I make it go away?! (From the windows prompt).
I've tried the commands like, Bootfix, fdisk, CFGboot or whatever...
What should I really use? (I'm using windows 7 btw)

merlinus
August 9th, 2009, 02:28 AM
Try booting from windows cd, choose recovery, then /fixmbr and/or /fixboot.

Flapse
August 9th, 2009, 11:30 AM
Yeah..no it's exactly those commands I've tried.
It says those commands are not external nor internal. What should I do?
Remember that this is the WINDOWS prompt. So that might be why they're not working? I don't know...Please help :p

weaverdj
August 9th, 2009, 04:37 PM
I started an install off the live cd for Ubuntu 9.04 just to see the partition information. I began with this disk and a clean install then a couple of upgrades since then 8.XX to 9.4, etc. It looks like the current version 9.04 is installed on /dev/sda8.

As for the swap partitions and incorrect numbering, I just don't know.