Hi, I've been trying to partition my flash drive for Damn Small Linux installation using the fdisk (v2.12r) commands, but I've been running into some problems.
Fdisk is replying with invalid command statements, although I believe they are valid commands, according to the installation guide.
Here's what happens:
joseph@Alestor:~$ fdisk -l
Disk /dev/sdb: 515 MB, 515899392 bytes
16 heads, 32 sectors/track, 1968 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1968 503792 e W95 FAT16 (LBA)
joseph@Alestor:~$ fdisk -d
I wanted to delete the partition then create two new ones, one for storage and the other for DSL. I got this reply:
fdisk: invalid option -- d
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
With that, of course, neither "fdisk -n,p,1"(new partion) or "fdisk -a"(bootable) worked either.
Is this because of the version or Feisty Fawn or what? Any help is greatly appreciated. Thanks for your time.