Quakky
September 4th, 2009, 12:46 PM
k making long story short.
Had XP+Ubuntu. installed Win7, lost ubuntu. waited like 4 months. reinstalled Ubuntu because new version came out and had nothing on old one that I cant access. after re-installation I still cant see the boot up option for Ubuntu.
So I followed "https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows" and that did not help me I got a weird error . Doing --recheck didnt help.
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0fc70fc7
Device Boot Start End Blocks Id System
/dev/sda1 * 1 60801 488384001 7 HPFS/NTFS
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x68a2f0c5
Device Boot Start End Blocks Id System
/dev/sdb1 1 108546 871895713+ 7 HPFS/NTFS
/dev/sdb2 108547 121601 104864287+ 7 HPFS/NTFS
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfd0505d7
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 26484 212732698+ 7 HPFS/NTFS
/dev/sdc2 30254 30401 1188810 82 Linux swap / Solaris
/dev/sdc3 26485 30253 30274492+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdd: 8011 MB, 8011087872 bytes
32 heads, 63 sectors/track, 7761 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Disk identifier: 0x72766212
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 7761 7823056+ b W95 FAT32
according to this info above, how should I go about feeding the terminal commands to get GRUB to start showing up?
I did mkdir /media/root, mount /dev/sdc3 /media/root, sudo grub-install --root-directory=/media/root /dev/sdc.
I get an error saying that "device.map" cannot be opened, but then it says GRUB installed successfully.
Please help me get Ubuntu started
Please note that Windows 7 made itself default OS, and is dev/sdc1 * 1 26484 212732698+ 7 HPFS/NTFS
Had XP+Ubuntu. installed Win7, lost ubuntu. waited like 4 months. reinstalled Ubuntu because new version came out and had nothing on old one that I cant access. after re-installation I still cant see the boot up option for Ubuntu.
So I followed "https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows" and that did not help me I got a weird error . Doing --recheck didnt help.
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0fc70fc7
Device Boot Start End Blocks Id System
/dev/sda1 * 1 60801 488384001 7 HPFS/NTFS
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x68a2f0c5
Device Boot Start End Blocks Id System
/dev/sdb1 1 108546 871895713+ 7 HPFS/NTFS
/dev/sdb2 108547 121601 104864287+ 7 HPFS/NTFS
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfd0505d7
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 26484 212732698+ 7 HPFS/NTFS
/dev/sdc2 30254 30401 1188810 82 Linux swap / Solaris
/dev/sdc3 26485 30253 30274492+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdd: 8011 MB, 8011087872 bytes
32 heads, 63 sectors/track, 7761 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Disk identifier: 0x72766212
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 7761 7823056+ b W95 FAT32
according to this info above, how should I go about feeding the terminal commands to get GRUB to start showing up?
I did mkdir /media/root, mount /dev/sdc3 /media/root, sudo grub-install --root-directory=/media/root /dev/sdc.
I get an error saying that "device.map" cannot be opened, but then it says GRUB installed successfully.
Please help me get Ubuntu started
Please note that Windows 7 made itself default OS, and is dev/sdc1 * 1 26484 212732698+ 7 HPFS/NTFS