jwb;543432 Wrote: > The hard drive already has music on it- about 600 gb or so. I'm not sure > why it is showing different partitions- probably because I first used > the drive on a Windows XP computer before moving to Ubuntu. >
Well it's showing multiple partitions.. one is 'vfat' (windows 95ish "long filenames") and one is Linux. (Well there are two others, but they're not important: one is for swap and one is an 'extended partition' which is a strange carryover from ancient DOS systems, an extended partition can contain more partitions... it contains the swap and linux partitions_. > > Anway, for whatever reason, the partitions are smaller than the amount > of files on the drive. Might as well pick the largest partition: > > j...@john-desktop:~$ mount /dev/sdc1 > mount: according to mtab, /dev/sdc1 is already mounted on > /media/REMOTEBCKUP > mount failed > That's the vfat partition. The message says it is already mounted somewhere: looks like Ubuntu helped you and put it at /media/REMOTEBCKUP. > > j...@john-desktop:~$ sudo mkdir /music > j...@john-desktop:~$ sudo chmod 755 /music > j...@john-desktop:~$ sudo chown john /music > j...@john-desktop:~$ mount mount /dev/sdc1 /music > mount: only root can do that > j...@john-desktop:~$ sudo mount /dev/sdc1 /music > j...@john-desktop:~$ > That will work ... almost. But, see, /dev/sdc1 is a windows format. It has no permissions inherent in the drive, so you have to tell Linux what to do with it. > > Doesn't work. The page to load the place to put the music still doesn't > see it. And, now I can't browse in that hard drive either. Did we create > a directory here? Where is it? I'm not seeing a media directory > anywhere. Nothing like that in my home folder, or under "computer." > Well, it did SOMETHING anyway. What did I screw up here? If you want to mount the Windows partition, you'll need to do a more complicated mount command. Like: mount -t vfat -o uid=1000,umask=022 /dev/sdc1 /music This will take that Windows partition, which, as you recall has no real "permissions" since Win95 didn't do that... it will "fake" permissions so that user 1000 (you) owns all the files and you will be able to read/write them, while other users on the system (ie, SBS) will be able to read them, but not write them. It will appear as /music. Now, if the partition is already mounted somewhere, you'll have to unmount it. This is the 'umount' command. It's smart, you can either specify the device or the mount point, whichever you feel like. So "umount /dev/sdc1" will unmount it regardless of where it is. -- snarlydwarf ------------------------------------------------------------------------ snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179 View this thread: http://forums.slimdevices.com/showthread.php?t=71700 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix