Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-24-2008, 12:03 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
cannot mount (access)hard disk files

When I used Damn small linux (Pendrive)and ubuntu 6.06 (live CD) I cannot access my hard drive. How do I mount my hard drive?
Old 08-24-2008, 12:17 PM   #2
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
First you need to find out what partition in /dev your hard drive is. Run this command:

ls /dev | grep -E "[hs]da[0-9]"
This will give you a listing of your hard drive partitions. From there you need to figure out which one is the partition your looking for.

To do that, you need to try to mount it and then inspect the contents as root or sudo:

mkdir /mnt/mydrive
sudo mkdir /mnt/mydrive
From there you need to run the following command on the list found above:

mount /dev/<from list> /mnt/mydrive
sudo mount /dev/<from list> /mnt/mydrive
Inspect the contents of the drive and if it's not the one unmount it and try another:

umount /mnt/mydrive
sudo umount /mnt/mydrive
Good Luck
Old 08-24-2008, 12:26 PM   #3
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It might be better to run "fdisk -l" to see the partitions. That way, you'll also get filesystem info.


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
Need to access files on 2nd SATA hard drive but can't mount Io3 Linux - Newbie 1 05-12-2008 04:40 PM
mounting linux files from another hard disk(IDE) to current hard disk(sata) the lord protector Linux - Hardware 5 05-04-2008 11:30 AM
How to mount the Hard disk ariestruong Linux - Newbie 9 03-25-2006 12:11 AM
Trying to mount a second hard disk clucas Linux - Newbie 8 11-11-2004 08:53 PM
How to mount a New Hard Disk ! ? bennethos Linux - Newbie 6 10-16-2003 04:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 AM.

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