PDA

View Full Version : Know how to edit the "Volume Name" using ptedit?


Sylvander
08-02-2006, 04:19 PM
In Windows and "Partition Magic" the names of my partitions are all very nice as follows:

Windows & P.M.
C: Maxt1-1
D: Maxt1-2
E: Maxt1-3
F: Maxt1-4
G: Maxt1-5

But in ptedit they are all over the place as follows:

ptedit
C: Maxtor1-1
D: DSK2_VOL2
E: DSK2_VOL3
F: DSK2_VOL4
G: Maxt1-5

I mangaed to find the location for editing C: and D: but I'm not sure if it's safe to do so.
And how do I get to the correct place to edit the others?
I want to make them match the Windows "Label:" as above.

Paul Komski
08-03-2006, 04:13 AM
It's never totally safe to edit metadata but using templates such as provided by PTedit make this much safer than editing the disk directly with a hex editor.

I expect you have been able to edit the primary partitions since they are usually the most apparent. For logical partitions you must "scroll" through the daily-chained EPBRs (ExtendedPartitionBootRecords) or back through their Parent values till you get the right logical partition, where you edit the boot sector value "Volume Name" with a string up to 10 characters in length.

Sylvander
08-03-2006, 05:08 AM
That was easy to do [famous last words]. :)

Just booted ptedit...

1. Clicked "Boot Record" for the 1st [the "Active" Primary] partition | changed the "Volume Name" to one of my liking | OK'd the changes | closed the window.

2. For next [the 2nd] partition [1st Logical Partition in the Extended Partition]...
Clicked "Goto EPBR" | clicked "Boot Record" | changed the "Volume Name" etc as 1 above.

3. For next [the 3rd] partition [2nd Logical Partition in the Extended Partition]...
Clicked "Goto EPBR" | clicked "Boot Record" | changed the "Volume Name" etc as 1 above.

4. For next [the 4th] partition [3rd Logical Partition in the Extended Partition]...
Clicked "Goto EPBR" | clicked "Boot Record" | changed the "Volume Name" etc as 1 above.

5. For next [the 5th] partition [4th Logical Partition in the Extended Partition]...
Clicked "Goto EPBR" | clicked "Boot Record" | changed the "Volume Name" etc as 1 above.

The floppy I made with ptedit & Partinfo & Edit.com on it was really useful.
When I ran Partinfo it showed that I hadn't got things precisely correct; there were capitals where I wanted to use lower case [MAXT1-1, MaxT1-5 rather than Maxt1-1, Maxt1-5].
Then I discovered there were blank spaces on the ends of the names [Maxt1-1___][replace the underscore with a space and you get the idea].

Used partinfo to "Save" the lates partiton info to "info.txt".

So it appears all is now well. :D :cool:

It gave me my 1st practise at using ptedit.