LinuxQuestions.org
Help answer threads with 0 replies.
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 04-06-2006, 01:11 PM   #1
wikru
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Mounting


Hi. I'm trying to access some files on my harddisk from a Knoppix bootable cd. But i can't mount hda1. What am i supposed to mount?
 
Old 04-06-2006, 01:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well firstly why can't you mount it? what are you doing to try to mount it etc..? secondaly use "fdisk -l" to list all partitions on your hard drives to see what there is out there to mount.
 
Old 04-06-2006, 02:19 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Terminal commands to mount hda1 in Knoppix
Code:
su
mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1
It is standard for every partition. You need to create a directory in /mnt (used for such purpose) and then mount the device on it.

No need to tell the filing type nowadays as Linux can detect it. If you are required to tell Linux the filing type use "-t" parameter like
Code:
mount -t ntfs /dev/hda1 /mnt/hda1
for NTFS partition and use "-t msdos" for fat partitions.

The above is to mount a partition manually. To do it automatically during every boot up you need to edit the file /etc/fstab.

Last edited by saikee; 04-06-2006 at 02:21 PM.
 
Old 04-06-2006, 03:22 PM   #4
Gzou
Member
 
Registered: Apr 2006
Location: Quebec, Canada
Distribution: Xubuntu, Zenwalk, Slax, Gentoo
Posts: 39

Rep: Reputation: 16
Hello everyone,

Since someone is asking a question aubout mounting i was wondering if i could Inquire on the same subject:

To mount a USB stick recently plugged in using Knoppix (or Debian, Ubuntu), is tere a special way of mounting it ? because when I plug it in and type "mount" it isn't listed, and when I look in fstab and mtab, it isn't in there neither
 
Old 04-06-2006, 06:00 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Gzou,

Type at terminal (may need to be a superuser first)
Code:
fdisk -l
to see if the Linux sees it first. If it exists just follow Post #3.

If it doesn't try another Linux, newer one if possible. A LIveCD like Slax or Kanotix should do it.
 
  


Reply


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
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 05:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 08:34 AM
help mounting huffboy Slackware 13 10-19-2003 10:00 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 12:00 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 04:13 PM


All times are GMT -5. The time now is 04:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration