Merel 469
May 18th, 2011, 08:51 AM
GRUB2 does not show Windows-XP Pro in the menu anymore.
Probably already posted before; however each case usually is somehow different.
I use Ubuntu only occasionally to learn how it works.
My knowledge of Ubuntu and GRUB2 is very basic and I need some help.
After the latest update using Update Manager, quite a few packages were installed without any problem. However GRUB2 does not show the Windows-XP(Prof) partition in the menu anymore. Now I can't boot Windows because I can't select what is not shown.
1. This what I get with command "sudo fdisk -l" (in the present situation)
georges@PC1:~$ sudo fdisk -l
[sudo] password for georges:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1a2c1a2b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4846 38925463+ 7 HPFS/NTFS
/dev/sda2 4847 19296 116069162+ f W95 Ext'd (LBA)
/dev/sda5 4847 7697 22900626 7 HPFS/NTFS
/dev/sda6 7698 10200 20105316 7 HPFS/NTFS
/dev/sda7 10201 15682 44034133+ 7 HPFS/NTFS
/dev/sda8 15683 19296 29028352 83 Linux
Disk /dev/sdk: 8011 MB, 8011087872 bytes
32 heads, 63 sectors/track, 7761 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x40dc405e
Device Boot Start End Blocks Id System
/dev/sdk1 1 7761 7823056+ b W95 FAT32
Disk /dev/sdg: 64 MB, 64094208 bytes
4 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00010c20
Device Boot Start End Blocks Id System
/dev/sdg1 * 1 977 62512 6 FAT16
georges@PC1:~$
2. I tried command "sudo update-grub" and this is the result :
georges@PC1:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-31-generic
Found initrd image: /boot/initrd.img-2.6.32-31-generic
Found linux image: /boot/vmlinuz-2.6.32-30-generic
Found initrd image: /boot/initrd.img-2.6.32-30-generic
Found linux image: /boot/vmlinuz-2.6.32-28-generic
Found initrd image: /boot/initrd.img-2.6.32-28-generic
Found linux image: /boot/vmlinuz-2.6.32-27-generic
Found initrd image: /boot/initrd.img-2.6.32-27-generic
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
done
georges@PC1:~$
3. The Windows partition has been detected on dev/sda1
As shown in point 2, the Windows XP has been detected, but it does not appear in the GRUB2 bootmenu !
QUESTION :
It is already the second time that GRUB2 changes the menu items as it pleases, messing up the bootmenu.
How can I repair the bootmenu in order to be able to boot Windows-XP, as before the updates ?
The current Ubuntu version is now 10.4 LTS
The current GRUB version is "GNU GRUB version 1.98 Ubuntu10"
Thank you for any assistance.
Probably already posted before; however each case usually is somehow different.
I use Ubuntu only occasionally to learn how it works.
My knowledge of Ubuntu and GRUB2 is very basic and I need some help.
After the latest update using Update Manager, quite a few packages were installed without any problem. However GRUB2 does not show the Windows-XP(Prof) partition in the menu anymore. Now I can't boot Windows because I can't select what is not shown.
1. This what I get with command "sudo fdisk -l" (in the present situation)
georges@PC1:~$ sudo fdisk -l
[sudo] password for georges:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1a2c1a2b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4846 38925463+ 7 HPFS/NTFS
/dev/sda2 4847 19296 116069162+ f W95 Ext'd (LBA)
/dev/sda5 4847 7697 22900626 7 HPFS/NTFS
/dev/sda6 7698 10200 20105316 7 HPFS/NTFS
/dev/sda7 10201 15682 44034133+ 7 HPFS/NTFS
/dev/sda8 15683 19296 29028352 83 Linux
Disk /dev/sdk: 8011 MB, 8011087872 bytes
32 heads, 63 sectors/track, 7761 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x40dc405e
Device Boot Start End Blocks Id System
/dev/sdk1 1 7761 7823056+ b W95 FAT32
Disk /dev/sdg: 64 MB, 64094208 bytes
4 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00010c20
Device Boot Start End Blocks Id System
/dev/sdg1 * 1 977 62512 6 FAT16
georges@PC1:~$
2. I tried command "sudo update-grub" and this is the result :
georges@PC1:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-31-generic
Found initrd image: /boot/initrd.img-2.6.32-31-generic
Found linux image: /boot/vmlinuz-2.6.32-30-generic
Found initrd image: /boot/initrd.img-2.6.32-30-generic
Found linux image: /boot/vmlinuz-2.6.32-28-generic
Found initrd image: /boot/initrd.img-2.6.32-28-generic
Found linux image: /boot/vmlinuz-2.6.32-27-generic
Found initrd image: /boot/initrd.img-2.6.32-27-generic
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
done
georges@PC1:~$
3. The Windows partition has been detected on dev/sda1
As shown in point 2, the Windows XP has been detected, but it does not appear in the GRUB2 bootmenu !
QUESTION :
It is already the second time that GRUB2 changes the menu items as it pleases, messing up the bootmenu.
How can I repair the bootmenu in order to be able to boot Windows-XP, as before the updates ?
The current Ubuntu version is now 10.4 LTS
The current GRUB version is "GNU GRUB version 1.98 Ubuntu10"
Thank you for any assistance.