[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fdisk question



Fdisk reports that the physical and logical number of cylinders on a
partition are different:

Disk /dev/hda: 128 heads, 63 sectors, 620 cylinders
Units = cylinders of 8064 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hda1            1        1      172   693472+   6  DOS 16-bit >=32M
/dev/hda2   *      178      178      178     4032    a  OS/2 Boot Manager
/dev/hda3          173      173      177    20160   16  Unknown
/dev/hda4          179      179      620  1782144    5  Extended
Partition 4 has different physical/logical endings:
     phys=(618, 127, 63) logical=(619, 127, 63)
/dev/hda5          179      179      266   354784+   6  DOS 16-bit >=32M
/dev/hda6          267      267      610  1386976+  83  Linux native
/dev/hda7          611      611      620    40288+  82  Linux swap
 
Since the end cylinder is on my swap partition, would it be safe for me to
run swapoff, umount /dev/hda7 and then change the end cylinder of hda7 to
619?  I did a complete backup--just in case.

If there's a safer way to fix this, I'd like to hear that.  Everything is
working, but I'm using the OS/2 Boot Manager in Partition Magic and wanted
to change some boot parameters.  PM won't let me do anything because of
the partition error.

Bob

---
Bob Nielsen                     Internet: nielsen@primenet.com
Tucson, AZ                      AMPRnet: w6swe@01.w6swe.ampr.org
                                http://www.primenet.com/~nielsen/


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: