[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems resizing root partition
From: |
Damien Genet |
Subject: |
Re: problems resizing root partition |
Date: |
Sun, 1 Oct 2000 19:19:08 +0200 |
Salut,
----- Original Message -----
From: "John Hendrickx" <address@hidden>
To: <address@hidden>
Sent: Sunday, October 01, 2000 4:29 PM
Subject: problems resizing root partition
> Hello,
>
> I'm having problems trying to resize my root and home partitions. When I
run
> "parted /dev/hdb print" I get:
>
> Disk geometry: 1-767, 4032k cylinders
> Minor Start End Type Filesystem Flags
> 1 1 64 primary FAT boot
> 2 65 767 extended
> 5 65 67 logical ext2
> 6 68 416 logical ext2
> 7 417 767 logical ext2
>
> Parted reports my disk geometry as 767/128/63.
>
> But when I boot using the parted bootdisk, I get different values:
>
> Minor Start End Type Filesystem Flags
> 1 0.0 252.0 primary FAT boot
> 2 252.0 3020.0 extended
> 5 252.0 263.8 logical ext2
> 6 263.8 1638.0 logical ext2
> 7 1638.0 3020.1 logical ext2
You are using Parted1.0.x on your Hard Drive and cylinders
are dislpayed.
For your floppy, MB are dislpayed (so you don't have
integers) : it's seems that this is Parted 1.2.x.
So don't worry, the two just don't display the same informations.
> Using the bootdisk, I can't get the resize option to work. I enter
>
> resize 7 2438.0 3020.1
>
> But I get an error that I can't write past the end of the partition (I
don't
> remember the exact text). Trying "resize 7 2438.0 3020.0" doesn't help, I
get a
> different error message. Could you point out what I'm doing wrong here?
You can't move the start of an ext2 partition with Parted (but for FAT you
can),
so you must rather do "resize 7 1638.0 2220", and you will have free space
after, and not before.
But this will resize the filesystem and not only the partition, if you just
wan't
to have a smaller partition, destroy partition 7 and create a new one
with "mkpart".
See doc/USER for more informations.
Dam