Re: Dual-boot with WinXP, CentOS already installed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux