[xubuntu-users] 14.10 installation doesn't see existing Windows 7
Ralf Mardorf
ralf.mardorf at rocketmail.com
Wed Dec 3 10:15:36 UTC 2014
On Wed, 3 Dec 2014 09:25:43 +0000
Chris Green <cl at isbd.net> wrote:
> Yes, but will either of these options mean that I'll get a grub menu
> with the option to boot Windows on it?
I don't use grub's "grub-mkconfig -o /boot/grub/grub.cfg" [1], I
manually edit grub.cfg. Assumed your Windows isn't automatically add to
the grub.cfg, because grub-mkconfig failed, you could add a chainloader
manually [2].
Regards,
Ralf
[1]
I'm an Arch Linux user, but have several other distros installed too.
*buntus provide the update-grub scripts, that are just wrappers:
[root at archlinux rocketmouse]# systemd-nspawn -D /mnt/saucy
root at saucy:~# cat /usr/sbin/update-grub
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
root at saucy:~# cat /usr/sbin/update-grub2
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
[2]
I need iTUnes, but to get this, I run XP in a VM, however, to test
hardware I've got a "real" FreeBSD and a "real" Windows XP install.
GRUB (legacy) and GRUB2 can boot them by a chainload. This is how such
entries look for GRUB2:
[root at archlinux rocketmouse]# systemd-nspawn -D /mnt/debi386
root at debi386:~# cat /boot/grub/grub.cfg
[snip]
menuentry "FreeBSD"{
set root=(hd0,msdos1)
chainloader +1
}
menuentry "XP"{
set root=(hd1,1)
drivemap -s hd0 hd1
chainloader +1
}
[snip]
More information about the xubuntu-users
mailing list