LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-16-2005, 06:14 AM   #1
ampex189
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82

Rep: Reputation: 15
partitioned but it isn't there


hi,
I just installed fedora core 3, partitioned my 60GB HD into 2GB hda1, 54GB hda2, and 1GB swap. For some reason, I can't mount hda2. hda1 and hda2 are both ext2. any ideas??

Thanks
ampex189
 
Old 03-16-2005, 06:24 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Run the command: fdisk -l and post the results.
 
Old 03-16-2005, 06:28 AM   #3
marcosdumay
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian, testing
Posts: 19

Rep: Reputation: 1
Exclamation What is really your problem?

You need to post some more information in order to anyone help you. How are you trying to mount it? By mount or by a icon? What error messages it gives you?

As a hint, I sugest you to try "mount /dev/hda2 /mnt/hda2" as root on a terminal and see what happens (/mnt/hda2 must be an empty directory, you can change it if you want).

If you are trying to mount the partition as a normal user, you problabli can`t. A normal user can`t mount anything he wants, just what is listed on /etc/fstab. Take a look there.
 
Old 03-16-2005, 06:41 AM   #4
ampex189
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82

Original Poster
Rep: Reputation: 15
Code:
Disk /dev/hda: 60.0 GB, 60040544256 bytes
16 heads, 63 sectors/track, 116336 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4065     2048256   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/hda2            4065      114220    55518592+  83  Linux
Partition 2 does not end on cylinder boundary.
/dev/hda3          114221      116335     1065960   82  Linux swap
Partition 3 does not end on cylinder boundary.
/dev/hda4               1           1          31   83  Linux
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
 
Old 03-16-2005, 06:44 AM   #5
ampex189
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82

Original Poster
Rep: Reputation: 15
Im trying to mount it using mount but it tells me
Code:
mount: can't find /mnt/hda2 in /etc/fstab or /etc/mtab
Im running this as root.
 
Old 03-16-2005, 07:08 AM   #6
marcosdumay
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian, testing
Posts: 19

Rep: Reputation: 1
Mount error

You are trying "mount /mnt/hda2". The command "mount /dev/hda2 /mnt/hda2" should work.

To change this, you can add the line "/mnt/hda2 /dev/hda2 ext2 defaults 0 0" to your /etc/fstab.
The line above tels mout that when you write "mount /mnt/hda2" it should mount the device "/dev/hda2" there (otherwise, it doens`t know what device to mount). This device has a "ext2" fs and you want "defaults" options (don't botter now about the two trayling zeros, they are almost always zero).

If you want to mount the device automaticaly on boot, add "auto" to the options, if tou want a normal user to aount it, add "user". If you want everybody to write there, add "umask=000" (if you want to set better the permissions, see the umask manual). The options must be separated by commas ",".
 
Old 03-16-2005, 07:10 AM   #7
ampex189
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82

Original Poster
Rep: Reputation: 15
Code:
[root@localhost ~]# mount /dev/hda2 /mnt/hda2
mount: mount point /mnt/hda2 does not exist
 
Old 03-16-2005, 08:08 AM   #8
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
Partition 1 does not end on cylinder boundary.
Partition 2 does not end on cylinder boundary.
Partition 3 does not end on cylinder boundary.
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Did you do the partitioning with Fedora at install time or some other method?
The partitioning seems to be more than a little messed up.
 
Old 03-16-2005, 09:40 AM   #9
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
ampex189: You need to manually create the directory /mnt/hda2 before you can mount to it. A mount point is just a directory and it must exist before you can mount to it.

Otherwise, the command line you entered is correct and should mount the partition.

To make my life easier, I create the directory /mnt/temp as a “universal” mount point for use whenever I need to mount something.
 
Old 03-16-2005, 03:29 PM   #10
ampex189
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82

Original Poster
Rep: Reputation: 15
Problem solved! Thank you WhatsHisName! I would have never guessed that I would have to create a directory.

Thanks
Ampex189
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How have you partitioned your linux system? Jongi SUSE / openSUSE 15 10-14-2005 09:07 PM
Mirroring 2 drives - one already partitioned. PAarcher Linux - Newbie 6 01-28-2005 02:28 PM
partitioned teedd Linux - Hardware 3 11-08-2003 03:16 PM
Lilo Still On Re-Partitioned HD JREAMER Linux - Newbie 4 07-15-2003 10:54 AM
An advice? install on partitioned or own hd. MsticAzn Linux - General 4 07-16-2002 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:21 PM.

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