GNU GRUB - Bugs: bug #29578, No documentation on parttool
You are not allowed to post comments on this tracker with your current authentication level.
bug #29578: No documentation on parttool
Submitter: | Chris K <colanderman> | ||
Submitted: | Fri 16 Apr 2010 06:31:36 PM UTC | ||
Category: | Documentation | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Feature Request |
Status: | Fixed | Privacy: | Public |
Assigned to: | cjwatson | Originator Name: | Chris K |
Open/Closed: | Closed | Release: | 1.97 |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Wed 02 Jun 2010 11:49:36 AM UTC, comment #1: |
Colin Watson <cjwatson> |
Fri 16 Apr 2010 06:31:36 PM UTC, original submission:
Hi, I can't seem to find any documentation on the parttool command in Grub 2. I've tried both the wiki and Google, and the best I can find is a mention in the CommandList page that hide, map and friends have been "replaced by parttool", with no link to any documentation on how exactly to use parttool. |
Chris K <colanderman> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-06-02 | cjwatson | Status | None | Fixed | |
Assigned to | None | cjwatson | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-02a9.
Corresponding source code
I've committed documentation for the parttool command to 'info grub'. Here's the text:
-- Command: parttool partition commands
Make various modifications to partition table entries.
Each COMMAND is either a boolean option, in which case it must be
followed with `+' or `-' (with no intervening space) to enable or
disable that option, or else it takes a value in the form
`COMMAND=VALUE'.
Currently, `parttool' is only useful on DOS partition tables (also
known as Master Boot Record, or MBR). On these partition tables,
the following commands are available:
`boot' (boolean)
When enabled, this makes the selected partition be the active
(bootable) partition on its disk, clearing the active flag on
all other partitions. This command is limited to primary
partitions.
`type' (value)
Change the type of an existing partition. The value must be
a number in the range 0-0xFF (prefix with `0x' to enter it in
hexadecimal).
`hidden' (boolean)
When enabled, this hides the selected partition by setting
the "hidden" bit in its partition type code; when disabled,
unhides the selected partition by clearing this bit. This is
useful only when booting DOS or Wwindows and multiple primary
FAT partitions exist in one disk. See also *note
DOS/Windows::.