Zerosuminfinity
January 11th, 2009, 09:21 PM
I'm more intermediary than absolute beginner, so be a little detailed with replies if you will
I had to reinstall windows on my dual boot system due to virus issues. I have a drive partitioned out to have a section for XP OS then a large NTFS section for media and personal files and lastly Ubuntu OS. Upon reinstalling windows I had to rewrite the MBR so I could access Ubuntu again, after doing so XP gives me
Error 12: invalid device requested
It seems the computer believes my media partition is my boot. fdisk -l yields:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0a130a13
Device Boot Start End Blocks Id System
/dev/sda1 2 2529 20306160 f W95 Ext'd (LBA)
/dev/sda2 2530 3988 11719417+ 83 Linux
/dev/sda3 * 3989 19214 122302845 7 HPFS/NTFS
/dev/sda4 19215 19457 1951897+ 82 Linux swap / Solaris
/dev/sda5 2 2529 20306128+ 7 HPFS/NTFS
menu.lst lists:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
sda1 and sda5 seem to reference the same blocks, and given the size of the partition is most definitely where XP sits.
This yields a two fold question: 1, what do I do to make grub boot the sda1/5? 2, Will doing so make the computer stop thinking of sda3 as "Boot" because there are no OS files on there at all, if not, how do I make it do that?
Ubuntu is UNable to mount either the XP or the Media partition whereas it would mount both prior to the reinstall.
thanks
first post -wooo :guitar:
I had to reinstall windows on my dual boot system due to virus issues. I have a drive partitioned out to have a section for XP OS then a large NTFS section for media and personal files and lastly Ubuntu OS. Upon reinstalling windows I had to rewrite the MBR so I could access Ubuntu again, after doing so XP gives me
Error 12: invalid device requested
It seems the computer believes my media partition is my boot. fdisk -l yields:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0a130a13
Device Boot Start End Blocks Id System
/dev/sda1 2 2529 20306160 f W95 Ext'd (LBA)
/dev/sda2 2530 3988 11719417+ 83 Linux
/dev/sda3 * 3989 19214 122302845 7 HPFS/NTFS
/dev/sda4 19215 19457 1951897+ 82 Linux swap / Solaris
/dev/sda5 2 2529 20306128+ 7 HPFS/NTFS
menu.lst lists:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
sda1 and sda5 seem to reference the same blocks, and given the size of the partition is most definitely where XP sits.
This yields a two fold question: 1, what do I do to make grub boot the sda1/5? 2, Will doing so make the computer stop thinking of sda3 as "Boot" because there are no OS files on there at all, if not, how do I make it do that?
Ubuntu is UNable to mount either the XP or the Media partition whereas it would mount both prior to the reinstall.
thanks
first post -wooo :guitar: