Baasha
July 22nd, 2009, 07:59 PM
In the process of trying to fix/reinstall a corrupted Ubuntu 8.04.3 system I managed to mess up in the partioning part of the alternate cd. I have a dual boot system with Windows on one drive and Ubuntu on the second. On the Ubuntu drive I have a separate home partition.
Now I have two bootable partitions, one on the Windows drive where I want it, and the other is the / partition on the Ubuntu drive. Here is the result of fdisk -l:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00091d63
Device Boot Start End Blocks Id System
/dev/sda1 * 1 973 7815591 83 Linux
/dev/sda2 974 24321 187542810 5 Extended
/dev/sda5 24134 24321 1510078+ 82 Linux swap / Solaris
/dev/sda6 23161 24133 7815591 b W95 FAT32
/dev/sda7 974 23159 178208982 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x703e7a4e
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 914 7341673+ 7 HPFS/NTFS
/dev/sdb2 915 7475 52701232+ 7 HPFS/NTFS
ubuntu@ubuntu:~$
sda1 is the Ubuntu drive which should not be bootable, and sdb1 is the Windows drive which should be bootable. It looks like I have messed up my Grub. Now I am leary of going in there and making it worse. At the moment I do not have access to either Ubuntu or Windows so everything will have to be done via the live cd.
Can anyone help me out with step-by-step instructions so I can recover my system? Thanks
Now I have two bootable partitions, one on the Windows drive where I want it, and the other is the / partition on the Ubuntu drive. Here is the result of fdisk -l:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00091d63
Device Boot Start End Blocks Id System
/dev/sda1 * 1 973 7815591 83 Linux
/dev/sda2 974 24321 187542810 5 Extended
/dev/sda5 24134 24321 1510078+ 82 Linux swap / Solaris
/dev/sda6 23161 24133 7815591 b W95 FAT32
/dev/sda7 974 23159 178208982 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x703e7a4e
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 914 7341673+ 7 HPFS/NTFS
/dev/sdb2 915 7475 52701232+ 7 HPFS/NTFS
ubuntu@ubuntu:~$
sda1 is the Ubuntu drive which should not be bootable, and sdb1 is the Windows drive which should be bootable. It looks like I have messed up my Grub. Now I am leary of going in there and making it worse. At the moment I do not have access to either Ubuntu or Windows so everything will have to be done via the live cd.
Can anyone help me out with step-by-step instructions so I can recover my system? Thanks