>>> "Alan" == Alan Shoemaker <[EMAIL PROTECTED]> writes:

    Alan> Mike.....it's id'd as an ext2 (type x83) with 6,136,767
    Alan> sectors from sector 11,631,123 to sector 17,767,889.

[snip]

    >> Are the values returned by this invocation of fdisk correct?

OK.  I was looking for something more like this example from
/sbin/fdisk /dev/hda on my machine:

Disk /dev/hda: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1            52      1027   7839720    5  Extended
/dev/hda2   *         1        51    409626    6  FAT16
/dev/hda5   *        52       128    618471    7  HPFS/NTFS
/dev/hda6   *       129       205    618471    7  HPFS/NTFS
/dev/hda7   *      1027      1027      8001    7  HPFS/NTFS
/dev/hda8   *       206       460   2048256   83  Linux
/dev/hda9   *       461       524    514048+  83  Linux
/dev/hda10  *       525       588    514048+  83  Linux
/dev/hda11  *       589       652    514048+  82  Linux swap
/dev/hda12  *       653       678    208813+  83  Linux
/dev/hda13  *       679      1023   2771181   83  Linux

And, my question about whether the values returned are correct
referred to the "Start" and "End" values.

If the values are not correct, _and_ _you_ _know_ _the_ _correct_
_values_, by repartitioning the disk with the correct (previous) start
and end values, you may be able to save the data on the partition
which will not mount.

This is a last-ditch, nothing-else-works method.  I have had to do it
at least once, and by having previously printing out the values
returned by

/sbin/fdisk /dev/hd__ and
/sbin/sd__

I was able to restore the partitions.

-- 
Mike Fieschko, West Orange, NJ, USA
X-Mailer: XEmacs 21.1, VM 6.75 and random-sig.el
Kernel 2.2.14-15mdk
http://www.viconet.com/fieschko/home.htm
Jan 8  St Severin
"The riddles of God are more satisfying than the solutions of man." -
[G.K. Chesterton, in Introduction to the Book of Job, 1907]

Reply via email to