[Bug 1283830] Re: win8.1+winxp+linux: winxp don't detected by update-grub
Fred Palmer
1283830 at bugs.launchpad.net
Mon Apr 13 04:28:49 UTC 2015
Not grub issue.
Windows only has boot files in one NTFS primary partition with boot flag.
It looks like you may have run Boot-Repair which copied boot files from sda1 to sda2.
But your XP install probably has no boot files in it for os-prober to find.
If all installs of Windows are on primary partitions you can move boot flag to that install and run Windows repairs to add the correct boot files for Widnows.
Then os-prober can find it.
Otherwise it is a two step boot process as Windows adds all installs to BCD and from grub you boot Windows, then from Windows choose which Windows to boot.
Installing XP after Windows 8 may be another Windows issue also as XP cannot add 8 to its boot.ini. But updating Windows 8 shoudl then add XP to BCD to boot from Windows 8.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1283830
Title:
win8.1+winxp+linux: winxp don't detected by update-grub
Status in grub2 package in Ubuntu:
New
Bug description:
on xubuntu 13.10 i have:
/etc/grub.d$ update-grub -v
grub-mkconfig (GRUB) 2.00-19ubuntu2.1
/etc/grub.d$ ls -la
totale 100
drwxr-xr-x 2 root root 4096 nov 12 23:16 .
drwxr-xr-x 158 root root 12288 feb 23 22:32 ..
-rwxr-xr-x 1 root root 7850 ott 23 22:44 00_header
-rwxr-xr-x 1 root root 5949 ago 15 2013 05_debian_theme
-rwxr-xr-x 1 root root 11479 ott 23 22:44 10_linux
-rwxr-xr-x 1 root root 10976 ott 14 2012 11_os-prober
-rwxr-xr-x 1 root root 10258 ott 14 2012 20_linux_xen
-rwxr-xr-x 1 root root 1798 giu 17 2013 20_memtest86+
-rwxr-xr-x 1 root root 11531 ott 23 22:44 30_os-prober
-rwxr-xr-x 1 root root 1426 ott 14 2012 30_uefi-firmware
-rwxr-xr-x 1 root root 214 ott 14 2012 40_custom
-rwxr-xr-x 1 root root 216 ott 14 2012 41_custom
-rw-r--r-- 1 root root 483 ott 14 2012 README
root at xubuntu:/# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f9a289f
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 163839999 81560576 7 HPFS/NTFS/exFAT
/dev/sda3 163840000 184319999 10240000 7 HPFS/NTFS/exFAT
/dev/sda4 184322046 234440703 25059329 5 Extended
/dev/sda5 184322048 230381567 23029760 83 Linux
/dev/sda6 230383616 234440703 2028544 82 Linux swap / Solaris
sda1 is windows 8.1 boot partition
sda2 is windows 8.1 os
sda3 is windows xp sp3
sda5 xubuntu
if i do: update-grub :
root at xubuntu:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-15-generic
Found initrd image: /boot/initrd.img-3.11.0-15-generic
Found linux image: /boot/vmlinuz-3.11.0-14-generic
Found initrd image: /boot/initrd.img-3.11.0-14-generic
Found linux image: /boot/vmlinuz-3.11.0-13-generic
Found linux image: /boot/vmlinuz-3.8.0-33-generic
Found initrd image: /boot/initrd.img-3.8.0-33-generic
Found linux image: /boot/vmlinuz-3.5.0-27-generic
Found initrd image: /boot/initrd.img-3.5.0-27-generic
Found Windows 8 (loader) on /dev/sda1
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 8 (loader) on /dev/sda1
done
so windows xp is not found.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1283830/+subscriptions
More information about the foundations-bugs
mailing list