Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Three days ago, I had in my PC Windows 98 and XP, with a dual boot configuration that worked fine.
I decided to install Linux Mandrake 9.1 instead of Windows 98, so I should have a dual boot system with Linux and Windows XP.
The problem is I can't make them work properly. Since I installed Linux, I've lost Windows XP and I can't recover it.
Linux is booting and working fine, but I need XP.
I've read "hundreds" of articles and howto's, I've tried with several LILO and Grub configurations, and I'm about to format everything and make a XP installation from scratch, and forget Linux.
I wonder if someone can help me. These are the details:
Microsoft os requires that you use the chainloader to boot them from grub
ex:
title Red Hat........
title Windows...
rootnoverify (hdx.x)
chainloader +1
the rootnoverify indicates that grub should not try to mount that partition and the chain..... indicates to hand control the booting of the os to another boot loader [+1 = first sector = partition used as boot loader[
dear xavo , i donot use mandrake , so i am not familiar with the installation .. anyway since from my previous redhat installations i can suggest you some remedies. you had 98 and xp , so if you install linux you should get xp and linux ... anyway i agree with Skyline abt posting your lilo.conf or grub.conf and menu.1st to the site. i donot know what bootloader ur using , anyway it seems the win9x partition also is intact ... perhaps there is some problem with the bootloader. It failed to write the boot information for windows. please do post the grub.conf file , as it is the most widely used bootloader in mandrake installations. I will try to elaborate on that , plz do it..
and erasing out the system is not going to help , troubleshooting it can be helpful in future installations.
Best Of Luck ....
With this configuration file, if I choose "xp" in the boot menu, I get a "Loading xp" message and it remains there forever.
This is my menu.lst (grub)
---------------
# Boot menu configuration file
color black/cyan yellow/cyan
i18n (hd0,0)/boot/grub/messages
keytable (hd0,0)/boot/es-latin1.klt
# altconfigfile (hd0,0)/boot/grub/menu.once
# Por defecto, arrancar opcion 0 (linux)
default 1
# Arrancar automaticamente tras 5 segundos
timeout 100
# Se a opcion 0 non vai, probar coa opcion 1
# fallback 0
# Arrancar Linux
title linux
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1
# Arrancar Windows XP
title XP
root (hd0,6)
makeactive
chainloader +1
------------------------
With this menu.lst, if I choose "XP" in the boot menu I get the following messages:
-------------------
Booting 'XP'
root (hd0,6)
Filesystem type unknown, partition type 0x7
If I replace "root" by "rootnoverify", I don't get the "Filesystem file unknown..." message, but I get the "Error 12" message and the problem is the same.
I haven't found any grub.conf file. Does it exist? Where is it?
Just a guess - but its all probably to do with the partition table changing when youve installed Linux - you originally had 98 and XP and a normal partition table - everything was ok - when Mandrake's been installed the partition table has changed in such a way that the XP partition is now not recognised/configured right.
One solution is of course to re-install from scratch - if you do this then :
Install - XP 1st - leaving some unpartitioned free space at the end of your drive for Linux
Install - Mandrake 2nd - into the free space - let Mandrake put either LILO or GRUB in the MBR
Just an idea - sometimes its easier just to start again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.