T. Joseph CARTERSun Dec 18 14:02:43 PST 2005
On Sun, Dec 18, 2005 at 01:08:58PM -0800, Bob Miller wrote: > > That's partial success. Is there a filesystem on the drive yet? > > Try "cfdisk /dev/sda" or ""fdisk /dev/sda", then "p"". You > > should see "sda1, sda2,etc.." if you have more than one > > partition. Then you can mount the appropriate one. > > Also "fdisk -l /dev/sda". That prints the partition table > with no opportunity to overwrite it. A little less standard UNIX but even more useful IMO is the equivalent with cfdisk: cfdsik -P s /dev/sda The -P (print) command takes an argument of r, s, or t. r is the raw hex dump of the partition table. If you can read this, you don't need no steenkeng fdisk! t is a pretty raw (but human-readable) table of what partitions take up what space, in CHS format. s is what you want--where the partition is, what type, where it starts, where it stops, and how big it is. This is most useful for humans, I find. -- "We are what we repeatedly do. Excellence, therefore, is not an act, but a habit." -- Aristotle