New user needs help-Ubuntu 10.04.02 LTS 64bit-Install failed

Asked by Peter Saxon

Installed alongside WinXP in separate partition. After reboot, black screen conatins the following:
Result:

System rebooted to black screen message:

GNU GRUB Version 1.98-1ubuntu7

Minimal BASH-like editing is supported. For the first word, TAB lists possible command line completions. Anywhere else....etc

grub>
I am at a loss as to what to do next.
fdisk report as follows:

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9232ce4d

   Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 7 HPFS/NTFS

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x20b4b959

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 60801 488384001 7 HPFS/NTFS

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0efd0efc

   Device Boot Start End Blocks Id System
/dev/sdc1 * 1 31030 249248443+ 7 HPFS/NTFS
/dev/sdc2 31031 37109 48827392 83 Linux
/dev/sdc3 37109 60802 190309377 5 Extended
/dev/sdc5 37109 57777 166014976 83 Linux
/dev/sdc6 57777 60802 24293376 82 Linux swap / Solaris

Disk /dev/sdd: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x19ed49c4

   Device Boot Start End Blocks Id System
/dev/sdd1 * 1 38913 312568641 7 HPFS/NTFS
ubuntu@ubuntu:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How did you install Ubuntu? Did you run the Wubi installer, or did you resize the NTFS partition to make a true dual boot?

Revision history for this message
Peter Saxon (bumpysax) said :
#2

Resized NTFS partition.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Cool, boot to liveCD and you can reinstate Grub2 there

Revision history for this message
Peter Saxon (bumpysax) said :
#4

Please advise which partition to reinstall grub to.
  Device Boot Start End Blocks Id System
/dev/sdc1 * 1 31030 249248443+ 7 HPFS/NTFS
/dev/sdc2 31031 37109 48827392 83 Linux
/dev/sdc3 37109 60802 190309377 5 Extended
/dev/sdc5 37109 57777 166014976 83 Linux
/dev/sdc6 57777 60802 24293376 82 Linux swap / Solaris

Also which methos should I use:
1. sudo mount /dev/sdc? /mnt
sudo grub-install --root-directory=/mnt /dev/sdc

Or 2:
sudo mount /dev/sdc? /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sdc

Revision history for this message
delance (olivier-delance) said :
#5

You have two Linux partitions: sdc2 and scd5. Which ones holds /boot folder ?

Revision history for this message
Peter Saxon (bumpysax) said :
#6

sdc2

Revision history for this message
Peter Saxon (bumpysax) said :
#7

I am desperate to get my computer running, have waited too long for answers, so I reinstalled Ubuntu 10.04.2 LTS 64 bit-selected alongside windows method. On boot up, only get the grub message as previous.
Now I have 2 installs as below, the first install listed is the current one.

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9232ce4d

   Device Boot Start End Blocks Id System
/dev/sdb1 1 43856 352266222+ 7 HPFS/NTFS
/dev/sdb2 43856 60802 136119297 5 Extended
/dev/sdb5 43856 60108 130548736 83 Linux
/dev/sdb6 60108 60802 5569536 82 Linux swap / Solaris

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0efd0efc

   Device Boot Start End Blocks Id System
/dev/sdc1 * 1 31030 249248443+ 7 HPFS/NTFS
/dev/sdc2 31031 37109 48827392 83 Linux
/dev/sdc3 37109 60802 190309377 5 Extended
/dev/sdc5 37109 57777 166014976 83 Linux
/dev/sdc6 57777 60802 24293376 82 Linux swap / Solaris

How can I rectify this (can't get into Windows)
Please help me sap sorting out this mess.

Revision history for this message
Best delance (olivier-delance) said :
#8

https://help.ubuntu.com/community/Grub2#Copy_LiveCD_Files

sudo mount /dev/sdc2 /mnt
sudo grub-install --root-directory=/mnt /dev/sdc

Revision history for this message
Peter Saxon (bumpysax) said :
#9

Was not able to install.
Have now installed successfully as follows:
Installed Ubuntu v10.04.02 LTS bit
CD Integrity check=OK
On reboot, only Grub> appears.

Rebooted from LiveCD

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x20b4b959

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 60801 488384001 7 HPFS/NTFS

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9232ce4d

   Device Boot Start End Blocks Id System
/dev/sdb1 1 43855 352264144+ 7 HPFS/NTFS

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0efd0efc

   Device Boot Start End Blocks Id System
/dev/sdc1 * 1 31030 249248443+ 7 HPFS/NTFS

Disk /dev/sdd: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000010a7

   Device Boot Start End Blocks Id System
/dev/sdd1 1 37333 299869184 83 Linux
/dev/sdd2 37333 38914 12699649 5 Extended
/dev/sdd5 37333 38914 12699648 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sdd1 /mnt
ubuntu@ubuntu:~$ sudo grub-probe -t device /boot/grub
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
ubuntu@ubuntu:~$ sudo grub-probe -t fs_uuid /boot/grub
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
ubuntu@ubuntu:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="Andrew's Movies" UUID="50606F5A606F4636" TYPE="ntfs"
/dev/sdb1: LABEL="Video Edit" UUID="7064B3B964B38080" TYPE="ntfs"
/dev/sdc1: UUID="8C88D02488D00E98" TYPE="ntfs"
/dev/sdd1: UUID="b27b6454-332e-47f0-83ea-6e4f1930fe9b" TYPE="ext4"
/dev/sdd5: UUID="4d359c2c-84d9-48db-9acd-6cd3f6a2f32d" TYPE="swap"
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sdc
Installation finished. No error reported.
ubuntu@ubuntu:~$

Rebooted

Boot menu present
booted into Ubuntu

sudo update-grub
- completed successfully