LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can mount hda1, but not hda2,3,4,5, or 6? (https://www.linuxquestions.org/questions/linux-newbie-8/can-mount-hda1-but-not-hda2-3-4-5-or-6-a-192968/)

Dobie 06-13-2004 09:17 AM

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 :D )

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


linmix 06-13-2004 09:55 AM

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.

Dobie 06-13-2004 10:12 AM

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 :cool:

Dobie 06-13-2004 10:17 AM

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 :p )

Dobie 06-13-2004 04:37 PM

^ bump ^


All times are GMT -5. The time now is 03:02 PM.