LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-27-2006, 04:21 PM   #1
debsan
LQ Newbie
 
Registered: Apr 2006
Posts: 17

Rep: Reputation: 0
Unhappy Installing Win XP, FC4 and Mandriva on the same hard-disk


I had Win XP and FC4 on my system and decided to go for a third.. Mandriva on it..But once I installed Mandriva it could'nt detect FC4.
Plz help me go about this problem I've important data in the FC4 partition...
 
Old 06-27-2006, 04:31 PM   #2
shamgar03
Member
 
Registered: Jul 2004
Distribution: Gentoo, CentOS
Posts: 92

Rep: Reputation: 15
I am not 100% sure how fc4 works, but it most likely installs a boot partition. There are 2 possibilities. A Mandriva wrote over the partition (unlikely unless you told it to), B it created its own boot partition an then changed the MBR to point at that. If that is the case then you should still be able to add the kernel from the first boot partition to the second. To do this I need to see what your partitioning scheme is. Did FC4 use grub or lilo? what about mandriva. Additionally, did fc4 use LVM? Anything you can tell me is good. Just so you know your data on the fc4 partition will most likely be accessable from mandriva whether you get fc4 booting or not. I don't know about mandriva support for lvm, you might want to look that up assuming fc4 using it.
 
Old 06-27-2006, 04:51 PM   #3
peter72
Member
 
Registered: Oct 2002
Location: Charlottesville, VA
Distribution: Ubuntu (home), SLES (work)
Posts: 196
Blog Entries: 1

Rep: Reputation: 30
Mandrive took over as the master booter (made that term up). You will have to boot into mandriva, then mount the volume that has the /boot directory for fedora core. First login to a console (alt-f2 -> konsole if using KDE). I'll make a rather broad assuption that /dev/hda1 is XP, /dev/hda2 is fedora core, /dev/hda3 is swap, and /dev/hda4. You'll have to verify that.

user@comp> su -
password: *********
root@comp# mkdir -p /mnt/fc4_root
root@comp# mount /dev/hda2 /mnt/fc4_root
root@comp# less /mnt/fc4_root/boot/grub/menu.lst

now look at the title for the main fc boot (this is a slightly edited Kubuntu, but should be close). Now we want to make note of the path to which kernel you want to boot off of.

Code:
title           Fedora Core 4
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.15-fc4 root=/dev/hda2 ro quiet splash
initrd          /boot/initrd.img-2.6.15-fc4
savedefault
boot
Now we will edit the Mandriva /etc/lilo.conf. Substitute vi for you favorite text editor (kwrite, gedit, pico, emacs...)

root@comp# vi /etc/lilo.conf

insert the following at the end of the:
Code:
image=/mnt/fc4_root//boot/vmlinuz-2.6.15-fc4
	label=Fedora Core 4
	initrd=/mnt/fc4_root//boot/initrd.img-2.6.15-fc4
	read-only
	root=/dev/hda2
Now just run lilo to re-write MBR with new boots.

root@comp# lilo
Windows XP
*Mandriva
Fedora Core 4

Hopefully everything goes smoothly. There is a gui in drakconf, but I find the command line easier to explain.

Pete
 
Old 06-28-2006, 03:14 PM   #4
abhijeetnayak
Member
 
Registered: Jun 2006
Posts: 33

Rep: Reputation: 15
If you are newbie and don't want to modify the lilo. Then go for acronis os selector(easy to setup). It will solve all of your problem. It can detect all os automatically.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2006 using Hard Disk atulsvasu Linux - General 1 04-28-2006 07:59 AM
how would choice of hard disk partioning affect performance of Mandriva minsky Linux - Newbie 2 04-07-2006 12:02 AM
Problem mounting Hard Disk on Mandriva 2005 LE captainsensible0 Linux - Hardware 1 10-12-2005 10:16 AM
Mandrake 10.1 Official & Mandriva LE 2005 not recognized hard-disk bserafini Mandriva 1 05-17-2005 09:59 AM
Red Hat 7.1 + win 98 [hard disk question] DoubleLetter Linux - Software 2 08-12-2001 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration