Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This 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.


  Search this Thread
Old 08-30-2004, 01:24 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
How do I mount a linux partition that was not originally installed on my current comp

I had a laptop running Win XP and Redhat 7.2. The laptop crashed and all I am left with is HD. I want to mount my old linux distro, Redhat 7.2, and grab the files I need off it before I format the HD. Does anybody have any tips on how I can do this. Right now on a different computer I am running Slackware 10.0 and that is what I want to use to mount the laptop HD, I just don't know what commands to put in the /etc/fstab. I also have IDE connector /dev/hdd open right now that I can use to plug the laptop HD onto. Any information or help would be greatly appreciated. Thank you.

Old 08-30-2004, 01:35 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I guess it's simple and you don't need fstab necessarily...

first, plug the HD in. it becomes /dev/hdd if I read your post right, so next we'll simply mount it. create a mountpoint to your /mnt (be root):

mkdir /mnt/backup

the next step is to mount the device. you can add an fstab entry if you wish (if you want to access the disk afterwards simply with one short mount command) but it's not necessary:

mount -t ext2 /dev/hdd /mnt/backup

if ext2 is the filesystem on the HD you want to mount. you can try to mount without the "-t ext2" option if all went well, you can access all the files in /mnt/backup that are in the HD. then simply copy them from /mnt/backup to some other place on your other HD or burn them to cds or something...after you're done,

umount /mnt/backup

and you're done. or then don't umount, but format the disk right away
Old 08-30-2004, 01:41 PM   #3
LQ Newbie
Registered: Aug 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Will this mount option allow me to see all the Linux partitions on the HD?
Old 08-30-2004, 02:46 PM   #4
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,265

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
No, you'll need to mount each partition on hdd separately. So make multiple mount points and mount each partition in turn.
Old 08-30-2004, 03:08 PM   #5
LQ Newbie
Registered: Aug 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Should I run 'fdisk /dev/hdd' to find out what all of my Linux partitions are?
Old 08-30-2004, 03:11 PM   #6
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
fdisk -l should show them

Old 08-30-2004, 03:49 PM   #7
LQ Newbie
Registered: Aug 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for all the help, I will give this a try when I get home from work and let you know if it works.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
my current primary partion is ext3 with linux installed in it . i want to create a pr amolgupta Linux - Software 1 07-28-2005 08:16 PM
installed gentoo and went to reboot and got error 17: cannot mount selected partition xaber Linux - General 1 05-31-2005 01:29 PM
KDE and GNOME both installed on my comp RichMan1 Linux - Newbie 1 03-07-2005 12:10 AM
how to do: using a linux comp to act as router for a windows comp grimhammer Linux - Networking 8 02-10-2005 09:56 PM
Updating Software when it was originally installed by an RPM jmnovak Linux - General 1 08-22-2003 01:47 PM

All times are GMT -5. The time now is 12:10 PM.

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