-
I need help using gpart
I have a hard drive that im having trouble with i think i may have deleted the partition i've heard that you can recover partitions with gpart but i have never used it. Anyone know where i can find a walkthrough to recover the drive or something like that?
-
Senior Member
registered user
First, have a look at the manual. From a console type: man gpart.
The basic syntax is: gpart (options) /dev/hdx where x is the drive in question. Be prepared to wait a long time while gpart does it's thing.
It will print out information about the guessed partitions, but will not write that info as a partition table unless explicitly given the option to do so. Best to run it, carefully check the output and if it seems like what you.re looking for then let it write the table.
http://www.tldp.org/HOWTO/Partition-Rescue/index.html might be useful.
Good luck!
Similar Threads
-
By ktas in forum Hardware & Booting
Replies: 12
Last Post: 09-08-2005, 12:01 AM
-
By OpenIntro in forum General Support
Replies: 17
Last Post: 04-04-2005, 10:33 PM
-
By Albretch in forum Hardware & Booting
Replies: 0
Last Post: 12-23-2004, 10:49 AM
-
By jackren in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 05-21-2004, 12:21 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture](/store/img/g/fxsAAOSwZD5l6PSG/s-l225/1U-BareMetal-pfsense-opnsense-Router-Firewall-DNS-.jpg)
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
![VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year picture](/store/img/g/BvgAAOSwxVReHqHl/s-l225/VPS-Windows-Linux-Server-12GB-RAM-4-Core-1-TB-HD-U.jpg)
VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year
$279.36
![POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture](/store/img/g/87EAAOSwtM5jMyRz/s-l225/POGO-Linux-WEBWARE-1150-Rack-Mount-Server-Pentium-.jpg)
POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives
$152.99
![PFSENSE 15](/store/img/g/uCMAAOSw3xhj3a06/s-l225/PFSENSE-15-Depth-Server-Supermicro-X11SSH-F-E3-124.jpg)
PFSENSE 15" Depth Server Supermicro X11SSH-F E3-1240 V5 V6 - 128GB NVME 32GB RAM
$359.00
![Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet picture](/store/img/g/Xs4AAOSwjrlkdWYQ/s-l225/Globalscale-Technologies-DreamPlug-AppNeta-M22-Lin.jpg)
Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet
$24.99
![Dell PowerEdge R210 II Rackmount Server Xeon E31220L 16Gb 1TB + 500GB LINUX 6.6 picture](/store/img/g/v-EAAOSwjuZmMTyR/s-l225/Dell-PowerEdge-R210-II-Rackmount-Server-Xeon-E3122.jpg)
Dell PowerEdge R210 II Rackmount Server Xeon E31220L 16Gb 1TB + 500GB LINUX 6.6
$129.00
![6x Fedora Linux Computer Sticker Decals Desktop Laptop Server Badge Decal Vinyl picture](/store/img/g/G40AAOSwF8xl3jgT/s-l225/6x-Fedora-Linux-Computer-Sticker-Decals-Desktop-La.jpg)
6x Fedora Linux Computer Sticker Decals Desktop Laptop Server Badge Decal Vinyl
$2.99
![Red Hat Enterprise Linux 5 Server - New and Sealed picture](/store/img/g/NY8AAOSwfO1l0q70/s-l225/Red-Hat-Enterprise-Linux-5-Server-New-and-Sealed.jpg)
Red Hat Enterprise Linux 5 Server - New and Sealed
$32.00
![1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM picture](/store/img/g/IxIAAOSwL5NjRJXz/s-l225/1U-10-SFF-Bay-Supermicro-Server-X10DRW-iT-2x-Xeon-.jpg)
1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM
$399.00
![VPS Windows / Linux Server 8GB RAM + 1TB HDD + Unlimited Bandwidth [ 1 Year ] picture](/store/img/g/MkQAAOSwzfFeL8Me/s-l225/VPS-Windows-Linux-Server-8GB-RAM-1TB-HDD-Unlimited.jpg)
VPS Windows / Linux Server 8GB RAM + 1TB HDD + Unlimited Bandwidth [ 1 Year ]
$279.36