PDA

View Full Version : Logical partitions mounted but "empty"



TP Diffenbach
06-20-2005, 10:36 AM
Under MS-Windows 2000, I have two physical hardrives. The first one contains a primary partition and one extended partition, which in turn is divided into two logical partitions; the second drive has two primary partitions and one extended partition, the extended partition divided into eight logical partitions.

Knoppix correctly mounts the primary partitions. The logical partitions are mounted in /mnt, but show as empty. The three primary partitions are all NTFS; some of the the logical partitions are NTFS, some are FAT32.

How can I get Knoppix to show the contents of the logical partitions? Once I do, can I safely write to the FAT32 logical partitions?

Results of running ls and mount are shown below.

Thanks.

Runing ls in /mnt:


root@0[hdb1]# ls -l /mnt
total 57
drwxr-xr-x 2 root root 0 Jun 20 01:37 auto
lrwxrwxrwx 1 root root 15 Jun 19 23:33 cdrom -> /mnt/auto/cdrom
lrwxrwxrwx 1 root root 16 Jun 19 23:33 floppy -> /mnt/auto/floppy
dr-xr-xr-x 1 knoppix knoppix 36864 Jun 9 12:04 hda1
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hda2
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hda3
dr-xr-xr-x 1 knoppix knoppix 4096 Jun 9 12:04 hdb1
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hdb10
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hdb11
dr-xr-xr-x 1 knoppix knoppix 8192 Jun 9 12:04 hdb2
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hdb5
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hdb6
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hdb7
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hdb8
drwxr-xr-x 2 root root 1024 Jun 19 23:33 hdb9


For example, listing "hdb5":

root@0[hdb1]# ls -la /mnt/hdb5
total 2
drwxr-xr-x 2 root root 1024 Jun 19 23:33 .
drwxr-xr-x 15 root root 1024 Jun 19 23:33 ..


Running the mount command gives this:


root@0[hdb1]# mount
/dev/root on / type ext2 (rw)
/dev/hdc on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=401776k)
/UNIONFS on /UNIONFS type unionfs (rw,noatime,dirs=/ramdisk=rw:/KNOPPIX=ro)
/UNIONFS/dev/pts on /UNIONFS/dev/pts type devpts (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,devmode=0666)
automount(pid2178) on /mnt/auto type autofs (rw,fd=4,pgrp=2178,minproto=2,maxproto=4)
/UNIONFS/dev/hda1 on /mnt/hda1 type ntfs (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)
/UNIONFS/dev/hdb1 on /mnt/hdb1 type ntfs (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)
/UNIONFS/dev/hdb2 on /mnt/hdb2 type ntfs (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)

harken
06-20-2005, 03:23 PM
The mount command shows nothing that indicates hdb5 is mounted. It should be a line looking like the last three ones. Just because there exists the /mnt/hdb5 folder doesn't mean the partition is actually mounted.
Try 'mount -t vfat /dev/hdb5 /mnt/hdb5' (if it's fat32, replace vfat with ntfs otherwise) then check again with 'mount' to see if it got mounted. Also, you might want to post /etc/fstab to see if hdb5 it's present in there.

maxIT
06-22-2005, 10:22 AM
I've also noticed a bad way of handling logicals. After trying many ways to work with them I've surrender me and just created only primarys and extendeds.

gnukish
06-22-2005, 11:20 AM
It isn't so difficult to create and manage the logical partitions. I have 10 partitions and two primary paritions for 120gb.