Unix Technical Forum

Fedora Linux FC3 - adding old RH9 disk

This is a discussion on Fedora Linux FC3 - adding old RH9 disk within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have two versions of Linux on 2 disks based on the same hardware (ie same PC) I have ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 06:21 AM
JohnC
 
Posts: n/a
Default Fedora Linux FC3 - adding old RH9 disk

I have two versions of Linux on 2 disks based on the same hardware (ie
same PC)

I have a single Disk with RedHat 9 installed with the default directory
structure.

I have a new disk (default directory structure) with Fedora FC3
(updates applied).
I would like to add my old redhat 9 disk to my fedora installation if
possible to move files to my new disk as required.

When I tried to add my old RH9 disk I got a problem with disk labels
due to a second "BOOT" label being found.
Are there other labels that will clash?

I'm a newbie with disks in Linux.
Any suggestions as to how to get around this problem?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 06:21 AM
Lenard
 
Posts: n/a
Default Re: Fedora Linux FC3 - adding old RH9 disk

On Thu, 13 Jan 2005 15:37:48 -0800, JohnC wrote:

> I have two versions of Linux on 2 disks based on the same hardware (ie
> same PC)
>
> I have a single Disk with RedHat 9 installed with the default directory
> structure.
>
> I have a new disk (default directory structure) with Fedora FC3 (updates
> applied).
> I would like to add my old redhat 9 disk to my fedora installation if
> possible to move files to my new disk as required.
>
> When I tried to add my old RH9 disk I got a problem with disk labels due
> to a second "BOOT" label being found. Are there other labels that will
> clash?


Yep, the root partition has the label '/'

> I'm a newbie with disks in Linux.
> Any suggestions as to how to get around this problem?


Use the actual drive/partition (/dev/hdXy) instead of the labels, hints
carefully review your /boot/grub/grub.conf file (the comments section at
the top) and read from the console or xterm session 'man e2label' without
the quotes.


--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 06:22 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: Fedora Linux FC3 - adding old RH9 disk


"Lenard" <lenard@127.0.0.1> wrote in message
newsan.2005.01.14.02.22.59.332092@127.0.0.1...
> On Thu, 13 Jan 2005 15:37:48 -0800, JohnC wrote:
>
>> I have two versions of Linux on 2 disks based on the same hardware (ie
>> same PC)
>>
>> I have a single Disk with RedHat 9 installed with the default directory
>> structure.
>>
>> I have a new disk (default directory structure) with Fedora FC3 (updates
>> applied).
>> I would like to add my old redhat 9 disk to my fedora installation if
>> possible to move files to my new disk as required.
>>
>> When I tried to add my old RH9 disk I got a problem with disk labels due
>> to a second "BOOT" label being found. Are there other labels that will
>> clash?

>
> Yep, the root partition has the label '/'


Yeah, it's straightforward with fdisk on the bootable CD to rename these
partition labels and edit your /etc/fstab's appropriately, and your gru.conf
if necessary.

I'd definitely do it from the rescue CD or first installaiton CD, rather
than trying to do it live.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 06:22 AM
JohnC
 
Posts: n/a
Default Re: Fedora Linux FC3 - adding old RH9 disk

Thanks for your help, you saved me from trashing my machine in error!

Adding my second disk (RH9 disk)
===========================

I physically connected 2nd disk as slave (ie RH9 disk)
Rebooted into Fedora Linux
Got error messages about duplicate label /BOOT

2nd disk is known as hdb1 (boot section)
hdb2 (main section)

Relabelled 2 clashing labels

e2label /dev/hdb1 /bootRH9
e2label /dev/hdb2 /RH9

Edited fstab file added 3rd line ie linked label RH9 to disk directory
/rh9

/dev/VolGroup00/LogVol00 / ext3 defaults
1 1
LABEL=/boot /boot ext3 defaults
1 2
LABEL=/RH9 /rh9 ext3 defaults
1 2
none /dev/pts devpts gid=5,mode=620
0 0

Finally created mount point for new disk mkdir /rh9

Rebooted machine.

Could cd /rh9 !

Now all my data from my old RH9 disk appears within this directory

(I was not interested in accessing the boot section of my old RH9 disk.)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com