Re: Warehouse Stationary Printers and USB Sticks
Daniel Beer <[email protected]> Thu, 17 Dec 2015 16:31:26 +1300
| Newsgroups | gmane.org.user-groups.linux.dunedin.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 17, 2015 at 04:21:06PM +1300, worik wrote: > On 17/12/15 15:50, Daniel Beer wrote: > > What you probably want to do is create a partition table containing one > > single primary partition covering the whole device, set to "W95 LBA" > > type. > > How? parted? It is broken on my Ubuntu 14.04.3 LTS > > $ sudo parted -s /dev/sdb mkpart primary 0 8000 > parted: invalid token: primary > Error: Expecting a file system type. > > > The man page says: > > mkpart part-type [fs-type] start end > Make a part-type partition with filesystem fs-type > (if specified), beginning at start and ending at end (by default > in megabytes). fs-type can be one of "fat16", "fat32", "ext2", > "HFS", "linux-swap", "NTFS", "reiserfs", or "ufs". part-type > should be one of "primary", "logical", or "extended". I normally use fdisk, but it's slightly unfriendly. There's a help command when it starts -- unfortunately I can never remember off the top of my head the exact sequence. It's three commands anyway: one to delete all partitions, one to create a primary partition, one to write changes and exit. Cheers, Daniel -- Daniel Beer <[email protected]> http://dlbeer.co.nz/ PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B _______________________________________________ DunLUG mailing list [email protected] http://lists.ethernal.org/listinfo/dunlug DunLUG Wiki - http://dunlug.kallisti.net.nz/