maxcraft
November 30th, 2010, 09:57 PM
I did upgrade my Ubuntu on 10.10 and had always a Dual-Boot with Win7
After the install of Ubuntu, my grub wouldn't work anymore. I could only boot into Ubuntu, but GRUB didn't even appear. I already tried
sudo update-grubbut this brought only the installs for Ubuntu and GRUB didn't start.
Afterwards I tried to recover my MBR with the help of my Win7 DVD, but this didn't work out too. Now I can't boot neither Ubuntu nor Win7 and have to run from the Live-CD.
I also tried to fix it with
sudo grub
root (hd0,0)
setup (hd0)but setup(hd0) only returned, Error 17: Cannot mount etc.
What can I do? I need my Windows for work and I don't want to reinstall neither Ubuntu nor Win7.
Output of fdisk -l gives:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x131d70a2
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1 992+ 42 SFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 1 192 1536000 27 Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda3 192 205 102400 42 SFS
Partition 3 does not end on cylinder boundary.
/dev/sda4 205 19457 154648576 42 SFS
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x00047141
Device Boot Start End Blocks Id System
/dev/sdb1 1 18693 150145024 83 Linux
/dev/sdb2 18693 19458 6142977 5 Extended
/dev/sdb5 18693 19458 6142976 82 Linux swap / Solaris
After the install of Ubuntu, my grub wouldn't work anymore. I could only boot into Ubuntu, but GRUB didn't even appear. I already tried
sudo update-grubbut this brought only the installs for Ubuntu and GRUB didn't start.
Afterwards I tried to recover my MBR with the help of my Win7 DVD, but this didn't work out too. Now I can't boot neither Ubuntu nor Win7 and have to run from the Live-CD.
I also tried to fix it with
sudo grub
root (hd0,0)
setup (hd0)but setup(hd0) only returned, Error 17: Cannot mount etc.
What can I do? I need my Windows for work and I don't want to reinstall neither Ubuntu nor Win7.
Output of fdisk -l gives:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x131d70a2
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1 992+ 42 SFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 1 192 1536000 27 Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda3 192 205 102400 42 SFS
Partition 3 does not end on cylinder boundary.
/dev/sda4 205 19457 154648576 42 SFS
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x00047141
Device Boot Start End Blocks Id System
/dev/sdb1 1 18693 150145024 83 Linux
/dev/sdb2 18693 19458 6142977 5 Extended
/dev/sdb5 18693 19458 6142976 82 Linux swap / Solaris