On Sun, 2007-02-11 at 23:44 +0530, Abhishek Amberkar wrote: > How can i format pen drives in ubuntu > > there is no need to format pendrives > > just try > > $ rm -r * .* > > ( note there is " space " between " * " and " .* " )
Hello? If this is not a troll, it is terrible advice. Run from who knows where, this could cause deletion of data, and it does not in any way solve the problem asked about. If you were trying to be funny, please go soak your head. Causing problems for newcomers is hardly funny. Please do not follow any of this, and be careful about any future advice from clueless folk. Instead, try searching Google, and various forums, including the Ubuntu ones. An excruciatingly detailed HOW-TO on the Gentoo Wiki, which will also work on Ubuntu, is at http://gentoo-wiki.com/HOWTO_USB_Mass_Storage_Device Here are some simple steps: o Find the ID of the disk: ls -l /dev/disk/by-id/usb* This should show something like /dev/disk/by-id/usb-XXX -> ../../sda1 which tells you that your disk is /dev/sda, with a partitition mounted as /dev/sda1. You can also try finding the ID from cat /proc/partitions or, from df o Then, to reformat the entire disk, and make a single FAT32 partition on it, type sudo fdisk /dev/sda # IMPORTANT: Use the actual USB disk ID. sudo mkfs -t vfat /dev/sda1 Regards, Gora -- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
