LinuxQuestions.org
Visit Jeremy's Blog.
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 06-13-2004, 10:17 AM   #1
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Rep: Reputation: 15
Can mount hda1, but not hda2,3,4,5, or 6?


Hello Hello.

I figured out my problem while posting here.
Now I just have a question about the solution.

I could not mount partition part 5 until I noticed there is no part 3 or 4
in fdisk-l (ie- I was trying to mound hda3 or hda4 where my data is...)

now that i'm mounting hda5 / hda6 it's working
(backreading this forum lead me to the fdisk -l command which lead to solving my problems so thanks all )

My Question - Is there no hda3 / hda4 because they are reserved?
ie-> I know HD's can have 4 primary partitions, one extended, and x logical (# of letters in alphabet..)
are numbers 3 and 4 held for those 2 uncreated primary partitions?


Code:
[root@u154n115 mnt]# fdisk -l

Disk /dev/ide/host0/bus0/target0/lun0/disc: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  System
/dev/ide/host0/bus0/target0/lun0/part1   *         1      1045   8393931    7  HPFS/NTFS
/dev/ide/host0/bus0/target0/lun0/part2          1046      7476  51657007+   f  Win95 Ext'd (LBA)
/dev/ide/host0/bus0/target0/lun0/part5          1046      2351  10490413+   7  HPFS/NTFS
/dev/ide/host0/bus0/target0/lun0/part6          2352      4310  15735636    7  HPFS/NTFS
/dev/ide/host0/bus0/target0/lun0/part7          4311      4349    313236    6  FAT16
/dev/ide/host0/bus0/target0/lun0/part8          4350      4388    313236    6  FAT16
/dev/ide/host0/bus0/target0/lun0/part9          4389      7476  24804328+   7  HPFS/NTFS

Disk /dev/ide/host0/bus0/target1/lun0/disc: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  System
/dev/ide/host0/bus0/target1/lun0/part1   *         1      3524  28306498+   b  Win95 FAT32 -
/dev/ide/host0/bus0/target1/lun0/part2          3525      4866  10779615    5  Extended
/dev/ide/host0/bus0/target1/lun0/part5          3525      4288   6136798+  83  Linux
/dev/ide/host0/bus0/target1/lun0/part6          4289      4351    506016   82  Linux swap
/dev/ide/host0/bus0/target1/lun0/part7          4352      4866   4136706   83  Linux

Last edited by Dobie; 06-13-2004 at 10:19 AM.
 
Old 06-13-2004, 10:55 AM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Numbers are assigned according to partition types rather than to their correlative position. You can have a maximum of four Primary partitions on a drive, and they will be numbered 1-4. Logical partitions take numbers 5 and upwards. This means that in your particular case you have 2 primary partitions and 5/3 logical partitions on each drive.
 
Old 06-13-2004, 11:12 AM   #3
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
hmmm...seam to have hit a different problem...

I can mount the drives now no problem, but they are locked to the user account.
Root can see them...but not user 'noodles' can not.

Code:
Note: I moved the output to single line entries as I find it easy to read. 
Oringinal break was where the "-" is now.

[root@u154n115 mnt]# df -T
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/ide/host0/bus0/target1/lun0/part5 - ext3    5.8G  1.4G  4.2G  25% /
/dev/ide/host0/bus0/target1/lun0/part7 - ext3    3.9G  114M  3.8G   3% /home
/dev/ide/host0/bus0/target1/lun0/part1 - vfat     27G   26G  976M  97% /mnt/windows
/dev/ide/host0/bus0/target0/lun0/part8 - vfat    306M   92M  215M  30% /mount/hda8cache
/dev/ide/host0/bus0/target0/lun0/part1 - ntfs    8.1G  4.8G  3.3G  60% /mnt/charlene
/dev/ide/host0/bus0/target0/lun0/part6 - ntfs     16G   13G  2.6G  83% /mnt/noodles

I've tried chmod 666 / 777 and recieve:
Code:
[root@u154n115 mnt]# chmod 666 ./noodles
chmod: changing permissions of `./noodles': Read-only file system
And chmod +rx /mnt/noodles
Code:
[root@u154n115 mnt]# chmod +rx /mnt/noodles
chmod: changing permissions of `/mnt/noodles': Read-only file system
[root@u154n115 mnt]# ls -l
total 20
drwxrwxrwx    0 root     root            0 Jun 13 09:45 cdrom/
drwxrwxrwx    0 root     root            0 Jun 13 09:45 cdrom2/
dr-x------    1 root     root         8192 May 24 22:52 charlene/
drwxrwxrwx    0 root     root            0 Jun 13 09:45 floppy/
dr-x------    1 root     root         8192 Jun  5 23:30 noodles/
drwxrwxrwx   21 root     root         4096 Dec 31  1969 windows/
Not sure where the problem is as chmod appears to have solved the issue for everyone else?
my user 'noodles' can seen and use /mnt/windows (fat32).
Figure the Ntfs of /mnt/noodles /mnt/charlene is the hurdle...but not sure why or how to
bypass as I'm only looking for read rights right now.


I have to run out of the house for a bit..but thanks for any/all help

Last edited by Dobie; 06-13-2004 at 11:13 AM.
 
Old 06-13-2004, 11:17 AM   #4
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks linmix.

Being a noob a *nix, It's nice to know that I do still know somethings
(even If my explaination was exactly on the money )
 
Old 06-13-2004, 05:37 PM   #5
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
^ bump ^
 
  


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
Linux root moved from hda2 to hda1 dangerousdave Linux - Software 3 11-02-2005 07:18 PM
mount a subfolder of /hda2 hypoglycemic Linux - Software 2 11-16-2004 06:27 AM
mount filesystems from hda1 and hda2 jhirshon Linux - Newbie 3 01-29-2004 01:05 PM
hda1, hda2 and hda3.. partitioning order concoran Linux - Software 4 10-16-2003 12:26 AM
Can't mount hda2 thundersnows Slackware 7 09-09-2003 11:50 PM


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