PDA

View Full Version : [SOLVED] 12.04 wont boot after installing win 7 to another drive



rdizz
August 7th, 2012, 08:42 PM
I have been searching for hours and have tried for the last day to get my ubuntu install back. I will just give a quick run down of whats happened and what has happened with some solutions ive tried. I wasnt really interested in setting up a dual boot id just be happy for it to boot into Ubuntu and if I wanted to game I could just push F12 and select my other SSD to boot off.

>install Ubuntu 12.04 from cd onto vertex 4 SSD ran solid and was fully setup no dramas. Worked well for a week many reboots all issue free.
>decide to install win 7 64bit onto vertex 2 SSD without any other hdds connected for gaming only.. Installed ran solid and rebooted fine and still does.
>plug back in all drives and change boot order in BIOS to boot of the Ubuntu vertex 4 drive
>gets to verifying DMI pool data screen and hangs.. the cursor is blinking but nothing happens, no error just a solid hang.
>try again to boot into 12.04 with no other drives connected and still hangs at DMI screen
>change boot order back to win 7 and it boots fine.

The solutions ive tried have been through a live boot (that im on now) and i can not get a boot repair to work as it also hangs on OS-prober.

I can not reinstall from the 12.04 disc as it hangs also on the preparing to install screen while i can still move the mouse and use the rest of the live boot.

I dont understand why windows 7 has ****** this solid install (my god I hate windows) when I didnt even have the drive connected when I installed win 7 so i could avoid ******** like this.

Both drives are healthy and in good order as is all my other hardware.

core i7 9.30 @ 3.8ghz
gigabyte x58-a-ud7 rev 2.0
ati 5970
8gb ram
vertex 2 and 4 ssds
5 WD HDDs


edit:
I also thought it might have wiped GRUB so i followed this guide here http://ubuntuforums.org/showthread.php?t=1014708

and i get this error

ubuntu@ubuntu:~$ sudo grub-install --root-directory=/media/sdb1 /dev/sdb1
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.


and here is my fdisk info:

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f08e9ec

Device Boot Start End Blocks Id System
/dev/sda1 * 63 1953520064 976760001 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d18d4

Device Boot Start End Blocks Id System
/dev/sdb1 2048 233295871 116646912 83 Linux
/dev/sdb2 233297918 250068991 8385537 5 Extended
/dev/sdb5 233297920 250068991 8385536 82 Linux swap / Solaris

Disk /dev/sdg: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbd2f166a

Device Boot Start End Blocks Id System
/dev/sdg1 * 2048 976766975 488382464 7 HPFS/NTFS/exFAT

Disk /dev/sdh: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcca92f7f

Device Boot Start End Blocks Id System
/dev/sdh1 * 63 976768064 488384001 7 HPFS/NTFS/exFAT

Disk /dev/sdi: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe7b69a47

Device Boot Start End Blocks Id System
/dev/sdi1 * 2048 3907026943 1953512448 7 HPFS/NTFS/exFAT

Disk /dev/sdj: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0c0309ed

Device Boot Start End Blocks Id System
/dev/sdj1 * 2048 234438655 117218304 7 HPFS/NTFS/exFAT

Disk /dev/sdk: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeb39eb39

Device Boot Start End Blocks Id System
/dev/sdk1 * 63 976768064 488384001 7 HPFS/NTFS/exFAT
ubuntu@ubuntu:~$

darkod
August 7th, 2012, 09:13 PM
You are trying to install grub2 onto partition sdb1, hence the error. It needs to be on the MBR of sdb (without any number in it). Try:

sudo mount /dev/sdb1 /mnt
sudo grub-install --root-directory=/mnt /dev/sdb

Restart. Go into bios and make sure the ubuntu ssd is the first option to boot from.

rdizz
August 7th, 2012, 09:17 PM
thanks darkod I just entered that in terminal and no error was repoted, il restart and reply with outcome.

rdizz
August 7th, 2012, 09:32 PM
excellent job there like usual darkod its up and running fine again.

Thanks from a hardcore lurker. :P:P:grin: