To mount a usb device on Desktop use the folowing commands on terminal as:
fdisk -l
It will display all the devices attached to the desktop, probably the last one is the attached USB device for ex: /dev/sdb1
Use
mount /dev/sdb1 /mnt/usb
It will mount the device in /mnt/usb folder.
To unmount the device use
umount /mnt/usb
To format the device use the following commands:
(Using the same example device /dev/sdb1)
Unmount the device the first:
umount /mnt/usb
then use..
mkfs.ext2 /dev/sdb1
(ext2 for linux filesystem, msdos for windows-dos, ntfs for windows ntfs filesystem.. )
and finally use:
tune2fs -c 100 /dev/sdb1
Mount the device again and here you go...
the device is now ready again to b used.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment