Thread: Installing Grub2 Bootloader for Windows XP
hello all,
trying restore computer windows xp.
computer came 'restore cd' , not windows xp 'setup cd'.
ran restore cd erased partitions , installed restore files, however, because ubuntu 9.10 had installed changed master boot record- not boot windows.
re-installed ubuntu getting:
grub> file not found.
grub rescue>
none of grub2 commands work.
have both 9.10 , 9.04 live cds.
tried making mbrfix boot sd card. couldn't working prompt.
tried reinstalling ubuntu, got same error.
there seems several ways reinstall grub2. not need.
ideally install/reinstall grub2 boot loader without installing ubuntu on partitions-
possible? willing explore other options.
boot 9.10 ubuntu cd, try ubuntu option.
in terminal execute:
sudo fdisk -l
show partitions. depending how installed ubuntu have 1 larger linux partition (probably /dev/sda5) , 1 smaller linux swap partition (probably /dev/sda6).
in terminal reinstall grub2 with:
sudo mount /dev/sda5 /mnt (change /dev/sda5 depending on fdisk results)
sudo grub-install --root-directory=/mnt/ /dev/sda
should it.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [all variants] Installing Grub2 Bootloader for Windows XP
Ubuntu
Comments
Post a Comment