Linux.com: CLI Magic: Salvage Lost Partitions with gpart | Linux Today

Linux.com: CLI Magic: Salvage Lost Partitions with gpart

Written By
MS
Mayank Sharma
Oct 24, 2006

“Messing up your hard disk’s partition table doesn’t take much
effort, especially when you’re preparing a dual-boot machine. Even
a mistimed fdisk /mbr can spell disaster, erasing the master boot
record (MBR) and making the disk unusable. But victims of damaged
MBRs rejoice — gpart can save your day. This utility scans a hard
disk and prepares a partition table of areas that resemble a
partition, which you can use to make the disk bootable again.

“Gpart is short for ‘guess partitions,’ and it can do just that
with a variety of filesystems, including FAT 16/32, NTFS, EXT2/3,
Linux Swap, ReiserFS, *BSD Disklabels, and several others. To
install it, download the source code and compile it with make and
make install (as root). Gpart is also included in live
distributions such as Knoppix, which makes it more
accessible…”

Complete
Story

Related Story:
Linux.com:
Dual-Booting Windows and Linux the Easy Way
(Jul 24, 2006)

MS

Mayank Sharma

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.