pigcat
February 3rd, 2009, 06:07 PM
hi I am trying to reinstall grub after windows xp wiped it out following the instructions from:
http://ubuntuforums.org/showthread.php?t=224351
I get :
"Error 12: Invalid device requested"
after the command:
"setup (hd0)"
I try deleting windows xp on my primary partition to see if it would boot into my ubuntu(partition 2) but it just hangs there so im running ubuntu from the livecd.
output for: sudo fdisk -l
omitting empty partition (5)
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbd92cbe8
Device Boot Start End Blocks Id System
/dev/sda1 1 16356 131379538+ 7 HPFS/NTFS
/dev/sda2 16357 38913 181189102+ 5 Extended
/dev/sda3 37994 38913 7389868+ 82 Linux swap / Solaris
/dev/sda5 16357 37110 166706442 83 Linux
/dev/sda6 37111 37993 7092666 82 Linux swap / Solaris
Disk /dev/sdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006da0a
Device Boot Start End Blocks Id System
/dev/sdb1 1 9733 78180291 7 HPFS/NTFS
and I get "cat: /boot/grub/menu.lst: No such file or directory"
for "cat /boot/grub/menu.lst"
any help would be greatly appreciated!
http://ubuntuforums.org/showthread.php?t=224351
I get :
"Error 12: Invalid device requested"
after the command:
"setup (hd0)"
I try deleting windows xp on my primary partition to see if it would boot into my ubuntu(partition 2) but it just hangs there so im running ubuntu from the livecd.
output for: sudo fdisk -l
omitting empty partition (5)
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbd92cbe8
Device Boot Start End Blocks Id System
/dev/sda1 1 16356 131379538+ 7 HPFS/NTFS
/dev/sda2 16357 38913 181189102+ 5 Extended
/dev/sda3 37994 38913 7389868+ 82 Linux swap / Solaris
/dev/sda5 16357 37110 166706442 83 Linux
/dev/sda6 37111 37993 7092666 82 Linux swap / Solaris
Disk /dev/sdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006da0a
Device Boot Start End Blocks Id System
/dev/sdb1 1 9733 78180291 7 HPFS/NTFS
and I get "cat: /boot/grub/menu.lst: No such file or directory"
for "cat /boot/grub/menu.lst"
any help would be greatly appreciated!