LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2008, 12:18 PM   #1
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Rep: Reputation: 15
A second distro in the slave HD


I have an PC with both windows and Mandriva 2007 installed and managed by grub. They are installed in a 160 GB HD, the master one(it is configured as master in the disk controller).

There is a second HD of 40GB where there are a NTFS partition, a swap partition and an extf3 partition. This 2nd HD is configured as slave in the disk controller. This disk is the old machine master disk.

I would like to know if I can install Fedora Core 8 in the linux partition of the 40GB slave HD and if it will be automatically included in the grub menu. Is there some danger of corrupt the master disk partitions during Fedora Core 8 setup?

Greetings from Sao Paulo - Brazil

Ricardo
 
Old 02-13-2008, 12:27 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by nightrider View Post

I would like to know if I can install Fedora Core 8 in the linux partition of the 40GB slave HD and if it will be automatically included in the grub menu. Is there some danger of corrupt the master disk partitions during Fedora Core 8 setup?
I suggest that when you install Fedora Core 8 that you tell Fedora not to install any boot loader. Then you can configure the /boot/grub/menu list file in Mandriva 2007 to triple boot Windows, Mandriva, and Fedora.

----------------
Steve Stites
 
Old 02-13-2008, 12:31 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
It won't be automatically included. But it's easy to fix. What you really want to do is install Fedora Core 8 to the second drive, and when it asks where to put grub, put it in the root partition (should be like /dev/hdb1 or something like that), not the MBR. Then edit the Mandriva grub.conf file to add Fedora like this
Code:
title Fedora Core 8
root (hd1,0)
chainloader +1
 
Old 02-13-2008, 12:34 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Updating the grub config file in Mandriva will not be automatic. Mandriva doesn't know about Fedora (or any other distro) you install on the second drive.

As jailbait pointed out, you will have to manually update the /boot/grub/menu.lst in Mandriva to add an entry for Fedora.

Easiest way I know to do that: when you install Fedora, tell it to install grub to the root partition (the boot sector of the partition in which you instal Fedora) instead of to the MBR (master boot record of the first drive). Then, when installation is complete, just copy the Fedora entry in Fedora's copy of /boot/grub/menu.lst, and paste it into the Mandriva /boot/grub/menu.lst.

You can do that after installing Fedora by mounting the Mandriva partition from Fedora and opening Mandriva's copy of menu.lst to do the paste.

When you reboot, your grub menu should list Fedora.

PJValdez beat me to it. More than one way to do something in Linux, eh?

The method suggested by PJValdez is better than mine. His method (also suggested by Saikee in a superb document referenced in his sig) doesn't depend on having the correct kernel and initrd information in the grub stanza. Using the method he suggested, any distro installed in that partition will boot, if the bootloader for that distro is installed to the boot sector of the partition.

Last edited by bigrigdriver; 02-13-2008 at 12:45 PM.
 
Old 02-14-2008, 09:35 AM   #5
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
I did the Fedora's installation and try to follow your suggestions, however:

1. Fedora's installer didn't ask for GRUB installation.

2. When Fedora's installer ask about what disk area it must use I answered "use existing linux partitions space"(in the slave disk). The installation ran without troubles.

When I reboot the machine and select Mandriva in the existing Grub menu there were a trouble. The /etc/fstab mounts a hdb6 disk that, after Fedora's installation, seems didn't exist. The Madriva's boot report an error and ask to give the root's password and try to hit:

e2fisk -i 8193 hdb

I did it and receive an error. The suggestion didn't solve the corruption. (Now we know that its not a corruption)

Then I thank: I'll boot with a db 2006 Live CD and manually remove the db6 reference from /etc/db. I boot with Live CD and mount the da2 linux partition via da Control Center. But I discover that I can't access any directory of the partition. Using Conqueror or trying via Console.

The new doubts are: Do I lost my Console? If the names of the devices were altered by Fedora's installation we can conclude that my original idea is not useful and/or can't be implemented?

I would like to read your opinion, guys.

If you can imagine a way of recover at least my Console with /etc/Console alteration, may you suggest a step-by-step way to do this?

Cheers

Console
 
  


Reply



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
math distro....? music distro...? small distro....? jasonparent Linux - Newbie 11 02-11-2008 09:57 AM
slave hdd canyon289 Linux - Hardware 6 02-24-2005 02:46 AM
New H.D. as slave comprookie2000 Linux - Hardware 7 05-23-2004 01:21 AM
Slave to Master? s9722 Linux - General 6 02-23-2004 10:34 PM
Can't mount my slave hd rdaves@earthlink.net Linux - Software 2 09-13-2001 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 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