LinuxQuestions.org
Help answer threads with 0 replies.
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 09-28-2003, 09:39 AM   #1
gblue
LQ Newbie
 
Registered: Sep 2003
Location: Kinston, Alabama
Distribution: Redhat 5, 6 7 8 and 9.0 SuSe 9.0
Posts: 8

Rep: Reputation: 0
Help mounting a redhat 9.0 slave harddisk


I screwed up my redhat 9.0 system by installing the latest beta of redhat. I reloaded redhat 9.0 on a new drive, and installed the old drive as a slave, How do I mount the old redhat drive so I can copy some of my old data from it ?

Thanks
GBlue
 
Old 09-28-2003, 09:58 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

To see the partitions you have on your fixed drives run:
fdisk -l

Then make a mountpoint eg:
mkdir /mnt/oldpartition

To mount the drive use:
mount /dev/hdb3 /mnt/oldpartition

Assuming the partition you want to mount is hdb3. Once you have got the data or you wnat to unmount the parition use:
umount /mnt/oldpartition
 
Old 09-28-2003, 10:10 AM   #3
gblue
LQ Newbie
 
Registered: Sep 2003
Location: Kinston, Alabama
Distribution: Redhat 5, 6 7 8 and 9.0 SuSe 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
info

Thanks I did that and I do see some stuff but not what I am looking for, I need to get to my /var/www directories and others

all i see is boot.b module-info
chain.b module-info-2.4.18-19.8.0uml
config-2.4.18-19.8.0uml os2_d.b
config-2.4.21-20.1.2024.2.1.nptl System.map
grub System.map-2.4.18-19.8.0uml
initrd-2.4.21-20.1.2024.2.1.nptl.img System.map-2.4.21-20.1.2024.2.1.nptl
kernel.h vmlinux-2.4.21-20.1.2024.2.1.nptl
lost+found vmlinuz
message vmlinuz-2.4.18-19.8.0uml
message.ja vmlinuz-2.4.21-20.1.2024.2.1.nptl
[root@itsajeep oldpartition]#

Thanks
 
Old 09-28-2003, 10:15 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It looks like you have mounted your old boot partion. Unmount it then mount one of the other partitions. I only gave hdb3 as an example.
 
Old 09-28-2003, 10:16 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
The default RH install creates three partitions, boot, root and swap. It looks like you have mounted the boot partition.

As suggested above fdisk -l /dev/hdb will display a list of partitions just for the slave drive. Replace hdb if different.
Mount the other partition which should be your root. If you have additional partitions then mount them and see whats there.
 
Old 09-28-2003, 10:32 AM   #6
gblue
LQ Newbie
 
Registered: Sep 2003
Location: Kinston, Alabama
Distribution: Redhat 5, 6 7 8 and 9.0 SuSe 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks

Got it thanks

gblue
 
  


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
problem!!! i install netBSD at hdb which is slave harddisk sayonarazzz Linux - General 1 04-09-2005 04:39 AM
Harddisk...primary, secondary, master, slave? OmniXBro Linux - Newbie 8 03-08-2005 09:45 PM
mounting a FAT slave viperkt400 Linux - Newbie 3 02-18-2004 09:05 AM
Slave mounting problem The_fuzzy_cow Mandriva 1 11-29-2003 11:18 AM
Problems mounting NTFS slave jstef Linux - General 5 02-05-2003 03:45 AM

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

All times are GMT -5. The time now is 12:19 AM.

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