On 12/05/11 21:19, Peter Merchant wrote:
I have a little problem, and I am not getting anywhere.
In kubuntu 11 using Dolphin, I selected a partition drive called TV and
unmounted it. Since then I have not been able to see it or get it back.
TV was the label for partition sdb5.
Here are the steps that I have taken:
peterm@kubuntu-pm:~$ sudo fdisk -l
[sudo] password for peterm:
[sda stuff removed]
Disk /dev/sdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009aa21
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1275 10241406 b W95 FAT32
/dev/sdb2 1276 2434 9309667+ 5 Extended
/dev/sdb5 1276 2434 9309636 b W95 FAT32
peterm@kubuntu-pm:~$
---> sdb1 is ok. Gparted shows it as having mount point /media/disk2data
---> which is what it is called.
---> Sdb5 has the label TV but I cannot find it.
--> Proposed instruction is mount -t fat32 /dev/sdb5 /mnt
--> it didn't like that I had to use vfat, not fat32.
--> mount shows:
peterm@kubuntu-pm:~$ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda7 on /home type ext4 (rw)
/dev/sdb1 on /media/Disk2Data type vfat
(rw,nosuid,nodev,uhelper=hal,uid=1000)
/dev/sdb5 on /mnt type vfat (rw)
peterm@kubuntu-pm:~$
--> so it is there, but not in the same format as disk2data
--> Dolphin now finds the contents of this disk under root/mnt. How do I
--> get it back to showing as TV?
Try umount mnt followed by
mount -t fat32 /dev/sdb5 /media/TV
peterm@kubuntu-pm:~$ sudo mount -t vfat /dev/sdb5 /media/TV
mount: mount point /media/TV does not exist
I think it is telling you /media/TV does not exist!
/media is normally automounted and creates the directory like
/media/cdrom . You normally use /mnt for manual mounts. It doesn't
really matter which so either do
sudo mkdir /media/TV
or
sudo mkdir /mnt/TV
then
sudo mount /dev/sdb5 /media/TV
or
sudo mount /dev/sdb5 /mnt/TV
Which ever you chose then add to /etc/fstab
/dev/sdb5 /media/TV vfat defaults 1 2
or
/dev/sdb5 /mnt/TV vfat defaults 1 2
John.
--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------
--
Next meeting: Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
How to Report Bugs Effectively: http://goo.gl/4Xue