Jump to content











Photo
- - - - -

Help!! Need a volume label for a hidden partition.


  • Please log in to reply
2 replies to this topic

#1 911CD.net

911CD.net

    Member

  • Advanced user
  • 32 posts
  •  
    United States

Posted 3 weeks ago

OK, I have spent days reading about diskpart and label.exe and GPT drives and my head hurts.

 

A month ago my Windows Backups have started failing with an 0x8007007b error, an invalid filename, directory name or volume label is invalid.  After checking the filenames and directory names and the length of run time of the backups I've determining the volume label of the  Windows Recovery volume is missing.  Why I don't know since it is normally a hidden partition.  Maybe a Windows update made checking for the volume label a requirement, maybe a hard drive glitch.

 

So, not a problem, I'll just add a label to it.  Well, not an easy task.  Command prompt commands fail, Linux fails, diskpart fails.  The problems appears to be tied to EFI and GPT disks.  %$@#!  

 

So, any suggestions how to add a volume label to a hidden, system, GPT drive, partition without reformatting it or the whole drive??  I've already considered removing it and smashing it with a hammer.

 

BTW The drive is in a 2 yr old Dell notebook. 

 

 

-update-

 

 

I figured it out finally.  GParted  :thumbup:

 

 

--update 2--

 

Adding the volume label didn't resolve the Windows Backup problem!!  %$@#^

 

 

The error was not due to the missing label or to files on the backup drive.  There were corrupt files on the drive the data files were on!!  A simple CHKDSK /F fixed the problem.

 

It would have been a WHOLE lot easier to resolve if Windows Backup issued the error when it encountered it rather than when it was done doing the backup.  Then I would have had a clue as to where the problem existed.



#2 sickmike27

sickmike27
  • Members
  • 1 posts
  •  
    Canada

Posted 2 weeks ago

I've faced such problem when I was a student at the university. But I used my device only for doing homework, essays, and other tasks, so I didn't care. In my opinion, hidden partitions are not mounted (no drive letter assigned) and can't be therefore accessed using any logical disk based Windows function.

 

Try to fix your problem this way:

 

  1. Start Disk Management (diskmgmt.msc) on your computer and take a closer look at your hard disk. Note the disk number and the partitions.
  2. Start DiskPart and select your disk: DISKPART> select disk 0
  3. List all partitions: DISKPART> list partition
  4. Now, select the hidden partition (see step 1) DISKPART> select partition 1
  5. Type DISKPART> detail partition and verify that it is hidden. Remember the Type value, this will be handy if something goes wrong.
  6. Set the type of the hidden partition to 07. Type DISKPART> set id = 07 override
  7. If everything goes ok, you will receive the following message “Diskpart successfully set the partition ID.
  8. All done. Type Exit to close DiskPart.
  9. Check the Disk Management to see which drive letter has been assigned to the recovery partition.

If it doesn't work, read more about this problem by this link: https://support.wdc....wer.aspx?ID=207. Or try to watch some useful tutorials on YouTube, I think you definitely find there what you want. By the way, I'll be glad if you check on my blog.

 

Good luck!


Edited by sickmike27, 2 weeks ago.


#3 911CD.net

911CD.net

    Member

  • Advanced user
  • 32 posts
  •  
    United States

Posted A week ago

Hi Mike,

 

Thanks for the reply.  But you missed my 1st update, I labeled the partition using GParted.

 

An interesting set of links you posted.

 

Ed




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users