Can I use the command prompt to access and restore a partition on my Lenovo laptop?
Maybe try http://www.cgsecurity.org/wiki/TestDisk from the command line.
You can also play with the partition by going to Control PanelAll Control Panel ItemsAdministrative Tools and click "computer management" then on "storage". You will see a list of your partitions and you can shrink or extend and create logical or primary partitions.
is the partition hidden?
try partition find and mount
1. Open Command Prompt.
2. Type: diskpart
3. At the DISKPART prompt, type: list disk
create partition primary [size=n] [offset=n] [noerr]
Create partition extended
create partition extended [size=n] [offset=n] [noerr]
Thank You i have restored the computer
glad things worked out for you, thanks for reporting, if you wish to close the thread as solved, from your makeuseof account choose the best answer.
Microsoft provides the diskpart command to manipulate storage devices from the command line. You can see the full list of commands on Technet. If you simply use it to reallocate a partition, you may be able to retrieve information previously saved there, but the parameters for the partition must be identical to their original values, you must not reformat the partition after "fixing" the configuration, and nothing must have been done to the space previously occupied by the partition in question from the time it was removed until it is "recreated".
Your best bet to try to recreate your partition is to use the 'create partition primary' command with no paramters after selecting the appropriate disk. This will create the largest partition that it can at the beginning of free space on the disk.
If you are attempting to recover a recovery partition on the system, this may not work as you would expect since some OEMs use the ID byte or GUID in order to uniquely mark the partition for their BIOS to indicate that it is the recovery partition for the system and improper use or selection of this parameter can cause the computer to crash or be unable to start up.