Thread: Add Windows XP to Grub 2
i installed ubuntu 9.10 karmic koala , grub2 followed it. windows xp installation did not follow in grub2 setup, know how add windows xp grub2?
record grub2 not contain menu.lst file, got grub.cfg file, file not use standard grub code used to. looks this
code:# # not edit file # # automatically generated /usr/sbin/grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub # ### begin /etc/grub.d/00_header ### set default=0 set timeout=5 set root=(hd1,7) search --no-floppy --fs-uuid --set 7cece53a-77f2-4714-abd2-cd4d29e14c16 if loadfont /usr/share/grub/ascii.pf2 ; set gfxmode=640x480 insmod gfxterm insmod vbe if terminal_output gfxterm ; true ; else # backward compatibility versions of terminal.mod don't # understand terminal_output terminal gfxterm fi fi ### end /etc/grub.d/00_header ### ### begin /etc/grub.d/05_debian_theme ### set menu_color_normal=cyan/blue set menu_color_highlight=white/blue ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux ### menuentry "ubuntu, linux 2.6.30-10-generic" { set root=(hd1,6) search --no-floppy --fs-uuid --set c85c3571-0842-4cc7-bcf0-c4b02b43fbf6 linux /vmlinuz-2.6.30-10-generic root=uuid=7cece53a-77f2-4714-abd2-cd4d29e14c16 ro quiet splash initrd /initrd.img-2.6.30-10-generic } menuentry "ubuntu, linux 2.6.30-10-generic (recovery mode)" { set root=(hd1,6) search --no-floppy --fs-uuid --set c85c3571-0842-4cc7-bcf0-c4b02b43fbf6 linux /vmlinuz-2.6.30-10-generic root=uuid=7cece53a-77f2-4714-abd2-cd4d29e14c16 ro single initrd /initrd.img-2.6.30-10-generic } menuentry "ubuntu, linux 2.6.30-9-generic" { set root=(hd1,6) search --no-floppy --fs-uuid --set c85c3571-0842-4cc7-bcf0-c4b02b43fbf6 linux /vmlinuz-2.6.30-9-generic root=uuid=7cece53a-77f2-4714-abd2-cd4d29e14c16 ro quiet splash initrd /initrd.img-2.6.30-9-generic } menuentry "ubuntu, linux 2.6.30-9-generic (recovery mode)" { set root=(hd1,6) search --no-floppy --fs-uuid --set c85c3571-0842-4cc7-bcf0-c4b02b43fbf6 linux /vmlinuz-2.6.30-9-generic root=uuid=7cece53a-77f2-4714-abd2-cd4d29e14c16 ro single initrd /initrd.img-2.6.30-9-generic } menuentry "ubuntu, linux 2.6.30-8-generic" { set root=(hd1,6) search --no-floppy --fs-uuid --set c85c3571-0842-4cc7-bcf0-c4b02b43fbf6 linux /vmlinuz-2.6.30-8-generic root=uuid=7cece53a-77f2-4714-abd2-cd4d29e14c16 ro quiet splash initrd /initrd.img-2.6.30-8-generic } menuentry "ubuntu, linux 2.6.30-8-generic (recovery mode)" { set root=(hd1,6) search --no-floppy --fs-uuid --set c85c3571-0842-4cc7-bcf0-c4b02b43fbf6 linux /vmlinuz-2.6.30-8-generic root=uuid=7cece53a-77f2-4714-abd2-cd4d29e14c16 ro single initrd /initrd.img-2.6.30-8-generic } ### end /etc/grub.d/10_linux ### ### begin /etc/grub.d/20_memtest86+ ### menuentry "memory test (memtest86+)" { linux /memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" { linux /memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ### ### begin /etc/grub.d/30_os-prober ### ### end /etc/grub.d/30_os-prober ### ### begin /etc/grub.d/40_custom ### # file example on how add custom entries ### end /etc/grub.d/40_custom ###
add entry sudo text editor (gksu gedit /boot/grub/menu.lst):
you adjust hd(0,0) match partition xp's boot.ini file resides.code:title windows bootloader access rootnoverify (hd0,0) chainloader (hd0,0) +1
have add map function if xp installed on different drive whaich addressed differently after addition of ubuntu. that's this:
code:title windows bootloader access map (hd0) (hd1) map (hd1) (hd0) rootnoverify (hd1,0) chainloader (hd1,0) +1
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Add Windows XP to Grub 2
Ubuntu
Comments
Post a Comment