Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Configuring Dual Os Boot From Xp, I don't have LILO installed...
post Feb 9 2004, 10:42 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 9-February 04
Member No.: 2,342

Hello, I am a total n00b to Linux and have run into a problem. I have both XP and Linux on drive C:. The MBR is at at the beggining of 1 with XP, and the Linux /boot is on 5. When I realized the disto I have (cAos) didn't come with LILO and that I was locked out of XP (which I needed to go back to so I could look up Linux docs to configure X Windows) I went into the XP recovery console and reset the MBR. Now I don't have a way back into Linux, so I was wondering what I would have to type into the boot.ini file to add Linux as a boot option. Thanks for any help!
Go to the top of the page
+Quote Post
post Feb 10 2004, 07:21 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

It probably did/do have grub (I like it better than LILO, so I wouldn't change), which you could configure to point to Windows XP ... but now that you have already redone the MBR, the easiest thing to do is probably download the program bootpart:

Here are instructions how to use boot part.

BUT, you will also probably need to reconfigure your Linux install to boot from it's own partition vice mbr.

I would download the SystemRescueCD, boot to it, make a directroy to mount cAos into:

mkdir /mnt/caos

mount the cAos / partiton to /mnt/caos:

mount /dev/hdxx /mnt/caos (substitute your / partition drive for hdxx)

mount the boot partition into caos:

mount /dev/hda5 /mnt/caos/boot

change the root to the caos partition:

chroot /mnt/caos /bin/bash

go to the grub directory (if you use grub)...

cd /boot/grub

fix grub to boot from the boot partition and not MBR ...


(now you should be at the grub prompt)
if the boot partiton is /dev/hda5 issue these commands (from within grub) press enter after each:

root (hd0,4)

setup (hd0,4)


now you should be able to reboot to the hard drive ... and if you have setup bootpart to include cAos in the boot.ini file, you should be able to boot to either WinXP or cAos.

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th June 2018 - 03:58 AM