Tom_T
March 4th, 2010, 09:23 PM
Hi
I've had Windows XP and Ubuntu installed as a dual boot for a while.
This has been working fine !
Yesterday I decided to add Windows 7 (only because I need to test some software)
So I decreased the XP and Linux partitions, installed 7 into the new space, rebooted and got the 7 boot menu.
Using Parted Magic I managed to get grub back and working as before 7 was installed.
Now when I select XP from grub, I get the option of 7 or an earlier version (XP).
What I would like to do is add 7 to the grub menu, so I boot straight in to either Ubuntu, XP or 7, with out have dual boot menu's for windows.
This is my menu.lst:
title Ubuntu 9.04, kernel 2.6.28-13-generic
uuid eb523de9-88a4-41a8-b377-483df12e3900
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=eb523de9-88a4-41a8-b377-483df12e3900 ro quiet splash
initrd /boot/initrd.img-2.6.28-13-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
uuid eb523de9-88a4-41a8-b377-483df12e3900
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=eb523de9-88a4-41a8-b377-483df12e3900 ro single
initrd /boot/initrd.img-2.6.28-13-generic
title Ubuntu 9.04, memtest86+
uuid eb523de9-88a4-41a8-b377-483df12e3900
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# 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 Vista (loader)
rootnoverify (hd0,0)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Microsoft Windows XP Home Edition
rootnoverify (hd0,1)
savedefault
chainloader +1
The vista option above is a the netbooks recovery process.
This is the output from fdisk -l:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb9bac821
Device Boot Start End Blocks Id System
/dev/sda1 1 784 6297448+ 12 Compaq diagnostics
/dev/sda2 * 785 4838 32563755 7 HPFS/NTFS
/dev/sda3 4839 8671 30787584 7 HPFS/NTFS
/dev/sda4 8672 19457 86638545 5 Extended
/dev/sda5 8673 19086 83650455 83 Linux
/dev/sda6 19087 19457 2980026 82 Linux swap / Solaris
Disk /dev/sdb: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x000311aa
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 242560 7761912 c W95 FAT32 (LBA)
I've also attached a grab from gparted !
Any advice or help would be great :)
Thanks
I've had Windows XP and Ubuntu installed as a dual boot for a while.
This has been working fine !
Yesterday I decided to add Windows 7 (only because I need to test some software)
So I decreased the XP and Linux partitions, installed 7 into the new space, rebooted and got the 7 boot menu.
Using Parted Magic I managed to get grub back and working as before 7 was installed.
Now when I select XP from grub, I get the option of 7 or an earlier version (XP).
What I would like to do is add 7 to the grub menu, so I boot straight in to either Ubuntu, XP or 7, with out have dual boot menu's for windows.
This is my menu.lst:
title Ubuntu 9.04, kernel 2.6.28-13-generic
uuid eb523de9-88a4-41a8-b377-483df12e3900
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=eb523de9-88a4-41a8-b377-483df12e3900 ro quiet splash
initrd /boot/initrd.img-2.6.28-13-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
uuid eb523de9-88a4-41a8-b377-483df12e3900
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=eb523de9-88a4-41a8-b377-483df12e3900 ro single
initrd /boot/initrd.img-2.6.28-13-generic
title Ubuntu 9.04, memtest86+
uuid eb523de9-88a4-41a8-b377-483df12e3900
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# 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 Vista (loader)
rootnoverify (hd0,0)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Microsoft Windows XP Home Edition
rootnoverify (hd0,1)
savedefault
chainloader +1
The vista option above is a the netbooks recovery process.
This is the output from fdisk -l:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb9bac821
Device Boot Start End Blocks Id System
/dev/sda1 1 784 6297448+ 12 Compaq diagnostics
/dev/sda2 * 785 4838 32563755 7 HPFS/NTFS
/dev/sda3 4839 8671 30787584 7 HPFS/NTFS
/dev/sda4 8672 19457 86638545 5 Extended
/dev/sda5 8673 19086 83650455 83 Linux
/dev/sda6 19087 19457 2980026 82 Linux swap / Solaris
Disk /dev/sdb: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x000311aa
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 242560 7761912 c W95 FAT32 (LBA)
I've also attached a grab from gparted !
Any advice or help would be great :)
Thanks