Skip to main content

Thread: Boot issue...


situation:

windows xp not boot when selected grub menu.
no xp install disk available.
pc boots ubuntu (grub2) without problem.

sudo fdisk -l shows:
device boot start end blocks id system
/dev/sda1 * 1 6100 48996048+ 7 hpfs/ntfs
/dev/sda2 17973 19457 11928262+ 1c hidden w95 fat32 (lba)
/dev/sda3 6100 17972 95363073 5 extended
/dev/sda5 6100 17602 92386304 83 linux
/dev/sda6 17602 17972 2975744 82 linux swap / solaris

if there no windows install disk, understanding ubuntu live cd can used (or booting ubuntu?) , following commands can entered terminal:

code:
sudo apt-get install syslinux sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda
the above should reboot machine windows xp, no grub, ubuntu not show. presume ubuntu still in /dev/sda5?

booting ubuntu live cd, , manually installing grub following command work grub installed , pc able boot either xp or ubuntu:

code:
grub-install /dev/sda
if not route go, there way accomplish this? suggestions?

help.

per meierfra. mbr.bin may cause problems in cases better use lilo
restore basic windows boot loader - universe enabled
sudo apt-get install lilo
sudo lilo -m /dev/sda mbr
may show error messages rest of lilo missing, ignore, want mbr

if grub not let boot putting windows boot loader in may not work either. both grub , mbr jump windows boot sector continue booting.

boot info script courtesy of forum member meierfra
page instructions , download:
http://bootinfoscript.sourceforge.net/
paste results.txt, highlight entire file , click on # in edit panel(code tags) make easier read.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Boot issue...


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO