I have Windows installed on a SATA drive and Ubuntu installed on the primary master IDE. I installed a new SATA drive and booting windows from grub has caused problems ever since. I want to make sure that grub is still linking to the drive/partition with windows on it but, being the noob that I am, I'm not familiar with the designations used in menu.lst.
This is the output of fdisk:
Code:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2709 21760011 7 HPFS/NTFS
/dev/sda2 2710 38913 290808630 5 Extended
/dev/sda5 2710 21958 154617561 7 HPFS/NTFS
/dev/sda6 21959 38913 136191006 7 HPFS/NTFS
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 1275 10241406 7 HPFS/NTFS
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2685 21567231 83 Linux
/dev/hda2 2686 4865 17510850 f W95 Ext'd (LBA)
/dev/hda5 2686 4664 15896286 83 Linux
/dev/hda6 4665 4865 1614501 82 Linux swap / Solaris
Disk /dev/hdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 12749 102406311 7 HPFS/NTFS
/dev/hdb2 12750 24321 92952090 f W95 Ext'd (LBA)
/dev/hdb5 12750 24321 92952058+ 7 HPFS/NTFS
Disk /dev/hdd: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 1 1335 10723356 7 HPFS/NTFS
/dev/hdd2 1336 14593 106494885 f W95 Ext'd (LBA)
/dev/hdd5 1336 5159 30716248+ 7 HPFS/NTFS
/dev/hdd6 5160 14593 75778573+ 7 HPFS/NTFS
As you can see, I have a whole lot of drives.8)
The partition with windows is /dev/sda1 and the Ubuntu drive is /dev/hda1.
Here's the output of menu.lst concerning the windows drive:
Code:
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows XP
root (hd3,0)
savedefault
makeactive
map (hd0) (hd3)
map (hd3) (hd0)
chainloader +1
I know it says "on /dev/sda1" but what does "(hd3,0)" mean?
What does this refer to? I thought it would mean the first partition of the third harddrive but I'm not sure how SATA drives fit into the numbering scheme.
Is menu.lst referring to the correct place or does it require some editing?
Bookmarks