Hi,

My solution:

man fdisk ;-)

It said "don't use fdisk because it's buggy" (!!) and also "use cfdisk
instead".

Which I did. It behaved a little bit more predicatable.

Thanks anyway. ;-)
Gustav

Gustav Schaffter wrote:
> 
> Hi,
> 
> I have 9 partitions on my hda. Two primary and one extended. The
> extended 'contains' my six Linux partitions.
> 
> Disk /dev/hda: 255 heads, 63 sectors, 1247 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot Start  End  Blocks  Id  System
> /dev/hda1          2   13   96358+  6  FAT16
> /dev/hda2         14 1247 9912105   5  Extended
> /dev/hda3   *      1    1    8001   a  OS/2 Boot Manager
> /dev/hda5         14   16   24066  83  Linux
> /dev/hda6         17  341 2610531  83  Linux
> /dev/hda7        342  666 2610531  83  Linux
> /dev/hda8        667  928 2104483+ 83  Linux
> /dev/hda9        929  944  128488+ 82  Linux swap
> /dev/hda10       945 1247 2433816  83  Linux
> 
> I'd like to remove one of the existing partitions (hda8) and replace it
> with a new partition, a lot smaller than the existing one plus one
> entirely new partition. This would logically split the existing
> partition in two new partitions.
> 
> I use fdisk (and so far I haven't saved anything, since it doesn't do
> what I'd expected it to do.)
> 
> I can delete hda8. When I print the remainder, I can see that hda9 has
> been renumbered to hda8 and hda10 has become hda9. (!!)
> 
> Is this working as expected?
> 
> To verify the above, I then created a new hda8 with the same start (667)
> and end (928). This new partition became hda10. (!!)
> 
> Is this working as expected?
> 
> So what I'm facing here is that I have to delete hda8 and accept that
> hda9 becomes hda8 plus that hda10 becomes hda9. I can then recreate two
> new partitions within the range of 667 - 928 and they will become hda10
> plus hda11. From there, I'd have to make the equvalent changes to my
> /etc/fstab.
> 
> Is this working as expected?
> 
> I just want to check before I save and exit fdisk. ;-) I'm sure you
> understand why. :-)
> 
> Best regards
> Gustav

-- 
pgp = Pretty Good Privacy.

To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]

Visit my web site at http://www.schaffter.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to