Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sue@sue-laptop:~$ sudo fdisk -l
[sudo] password for sue:
Disk /dev/sda: 3791 MB, 3791241216 bytes
255 heads, 63 sectors/track, 460 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c1a5c1a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 433 3478041 83 Linux
/dev/sda2 434 460 216877+ 5 Extended
/dev/sda5 434 460 216846 82 Linux swap / Solaris
sue@sue-laptop:~$ sudo fdisk -l
Disk /dev/sda: 3791 MB, 3791241216 bytes
255 heads, 63 sectors/track, 460 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c1a5c1a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 433 3478041 83 Linux
/dev/sda2 434 460 216877+ 5 Extended
/dev/sda5 434 460 216846 82 Linux swap / Solaris
Disk /dev/sdb: 2055 MB, 2055021056 bytes
16 heads, 63 sectors/track, 3981 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3982 2006825 b W95 FAT32
sue@sue-laptop:~$ dd if=/dev/zero of=/dev/sdb
dd: opening `/dev/sdb': Permission denied
And for all the members questioning why I advised using dd.
I punched "U3 device" in Google search and speed read a Wikipedia article on it. Two things that registered were:
1: Unique FAT file system (proprietary, between SanDisk and Microsoft)
2: Hidden system files/folders
Having extensive Windows experience, I know Windows can/will skip steps in processes if it sees the step has already been performed or everything is already in place, or if there are orders to do so in hidden files.
Simply reformatting the pen drive may have been enough, but because of the uniqueness of this particular type of pen drive, and observed Windows habits, I sought to end this thread before this new member got frustrated by advising such to zero the drive before reformatting.
And as such, this new member now has experience with one of the many superior features of a standard Unix/Linux operating system..."dd".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.