### help Usage: parted [OPTION]... [DEVICE [COMMAND [PARAMETERS]...]...] Apply COMMANDs with PARAMETERS to DEVICE. If no COMMAND(s) are given, run in interactive mode. OPTIONs: -h, --help displays this help message -i, --interactive where necessary, prompts for user intervention -l, --list lists partition tables of all detected devices -s, --script never prompts for user intervention -v, --version displays the version COMMANDs: check NUMBER do a simple check on the file system cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER copy file system to another partition help [COMMAND] prints general help, or help on COMMAND mklabel,mktable LABEL-TYPE create a new disklabel (partition table) mkfs NUMBER FS-TYPE make a FS-TYPE file system on partititon NUMBER mkpart PART-TYPE [FS-TYPE] START END make a partition mkpartfs PART-TYPE FS-TYPE START END make a partition with a file system move NUMBER START END move partition NUMBER name NUMBER NAME name partition NUMBER as NAME print [free|NUMBER|all] display the partition table, a partition, or all devices quit exit program rescue START END rescue a lost partition near START and END resize NUMBER START END resize partition NUMBER and its file system rm NUMBER delete partition NUMBER select DEVICE choose the device to edit set NUMBER FLAG STATE change the FLAG on partition NUMBER toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER unit UNIT set the default unit to UNIT version displays the current version of GNU Parted and copyright information ### info page (the useful example) ... 2.2 Using GNU Parted ==================== Parted has two modes: command line and interactive. Parted should always be started with: # parted DEVICE where DEVICE is the hard disk device to edit. (If you're lazy and omit the DEVICE argument, Parted will attempt to guess which device you want.) In command line mode, this is followed by one or more commands. For example: # parted /dev/sda resize 1 52Mb 104Mb mkfs 2 fat16 Options (like `--help') can only be specified on the command line. In interactive mode, commands are entered one at a time at a prompt, and modify the disk immediately. For example: (parted) resize 1 52.0005Mb 104.5Mb (parted) mkfs 2 fat16 |
It took me the better part of an hour to figure out that the 'partition' name is 1 and not /dev/sdb1. "illegal name' What illegal name, the drive, the partition? Give me an error that tels me what is wrong. Neither the manual page nor the internet told me what I needed. It took the info page to find an example that made any sense.
I've used gparted under Knoppix a couple times. It is a snap. That was another blog entry. The new Knoppix doesn't have all the utilities that the old one had. It appears they are trying to make any computer you sit down to turn in to a web based workstation. That is all well and good. I need a capable rescue CD that has all the bits I need to fix drives, partitions, network connections and trouble shoot all kinds of issues. The aging old version of Knoppix has failed me several times now. It just hasn't kept up with drivers.
I'm rescue-CD-less. I need a new safety tether.
No comments:
Post a Comment