[CentOS] Dual-boot with WinXP, CentOS already installed
maillists at conactive.com
Thu Apr 16 14:31:31 UTC 2009
Sorin Srbu wrote on Thu, 16 Apr 2009 14:08:57 +0200:
> Basically, what would I need to change in the how-to from apcmag.com above??
It's like that tutorial says. Forget about backing up grub.conf. This is
nonsense. You want to make a backup before changing it, just in case, but not
because of the XP installation.
After the installation you have to reinstall grub with "grub-install" (from a
live disk) and add the chainloader stuff to grub.conf.
mount /dev/sda2 /mnt/linux (if that is where you linux resides)
grub-install --root-directory=/mnt/linux /dev/sda
(if you want to install it to the partition use sda2 instead of sda, then the
partition has to be active, so that you can boot from it)
Instead of using grub-install you can backup the mbr before the installation
and then restore it afterwards. You can easily get bad results from that if
you mistype, though.
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
More information about the CentOS