Re: booting linux on a dual-os system

Jens Rühmkorf <[email protected]> Thu, 21 Dec 2006 12:45:00 +0100
Newsgroups gmane.org.user-groups.linux.beijing.tech
Organization Deutsches Zentrum für Luft- und Raum fahrt
Message-ID <[email protected]>
BEN SAMANI schrieb:
> I have been running both linux and windows xp on my machine. The
> two installed in two separate partitions. Just recently I had to
> reinstall xp (of course in its own partition.) When you install
> xp, unlike linux, it rudely removes all non-Windows entries in
> the C:\boot.ini file; so when i boot my machine now i only have
> one choice, and that's the xp. in the c:\boot.ini, the relevant
> entry looks like this now:
> multi(0)disk(0)rdisk(0)partition(0)\WINDOWS="MS Windows XP Prof."
> 
> I remember before the reinstall, there was a similar line
> corresponding to the linux OS, which is now missing. That
> line/entry is what I'm looking for.

You need to copy the boot-sector of the linux-partition to a file like 
"bootsec.lin" and tell boot.ini to start from that file.

Description:
http://en.opensuse.org/SDB:Booting_Linux_with_the_Windows_NT/2000/XP_Boot_Manager

Regards,
Jens