how to adjust the partion size of ubuntu 6.06?

Alexander Skwar listen at alexander.skwar.name
Fri Jul 7 17:55:37 UTC 2006


zhihang wang schrieb:
> Disk /dev/hda: 60.0 GB, 60011642880 bytes
> 255 heads, 63 sectors/track, 7296 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1        3825    30724281    c  W95 FAT32 (LBA)
> /dev/hda3            7210        7296      698827+   5  Extended
> /dev/hda4            6939        7209     2176807+  83  Linux
> /dev/hda5            7227        7296      562243+  82  Linux swap / Solaris
> /dev/hda6            7210        7226      136489+  82  Linux swap / 
> Solaris
> 
> Partition table entries are not in disk order
> 
> 
> Can you help me?

Ah, you've got a 2nd thread.

Okay. You've got free space on cylinders 3826 up to 6935. And
unlike you wrote, Linux isn't on the last cylindes (there's your
/dev/hda3), but in the middle. As the situation is not like you
wrote, my advice was wrong.

With tools like gparted, you should be able to move the partition start of
partition /dev/hda4 from 6936 somewhat more to the beginning. To do this,
you've got to boot from a rescue/live CD and *NOT* mount /dev/hda3.

You could also create a /dev/hda2 and mount it somewhere.

Alexander Skwar
-- 
Vaterland nennt der Staat immer dann, wenn er sich anschickt, auf
Menschenmord auszugehen.
                 -- Friedrich Dürrenmatt (Romulus der Große)




More information about the ubuntu-users mailing list