Bug#239208: Sarge beta 3: Error when using installer to resize partition
Package: installation-reports
Debian-installer-version: beta 3 with base from
http://gluck.debian.org/cdimage/testing/sarge_d-i/i386/beta3/sarge-i386-netinst.iso
uname -a: Linux (none) 2.4.25-1-386 #1 Tue Feb 24 08:11:13 EST 2004 i686
unknown (from shell in installer)
Date: March 21, 2004 15:10
Method: Boot from CD-Rom
Machine: VMWare 4.0.5 build 6030 on Windows 2000 Pro SP4
Processor: AMD Athlon XP 2000+
Memory: 192 MB (in VMWare)
Root Device: IDE
Root Size/partition table: N/A
Output of lspci: N/A
Base System Installation Checklist:
Initial boot worked: [O]
Configure network HW: [O]
Config network: [O]
Detect CD: [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives: [E]
Create file systems: [ ]
Mount partitions: [ ]
Install base system: [ ]
Install boot loader: [ ]
Reboot: [ ]
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Comments/Problems:
I am using auto partition all files in one partition. Installer suggests:
#1 primary 4.0 GB (lightning) (smiley) ext3 /
#5 logical 215.6 MB (smiley) swap
I want to increase the size of the swap partition, so I select it and
press Return. In the next menu I select size and press Return.
I get an dialog stating:
"Before the resize operation takes place, the changes have to be written
to the storage devices.
[snap]
Write the changes to the storage devices and resize the partition?
<Go Back> <Yes> <No>"
This is a strange dialog because I am not changing a partition table I am
changing the suggestion done by the installer. But since the disk is empty
I select Yes to proceed.
Expected behaviour: No write to disk (and thus no dialog).
I continue an change the size value into "512 MB" and select Continue.
The ext3 partition is create and resize starts. I get the following error
dialog:
"Can't have a partition outside the disk!
<Go Back> <Continue>"
After selecting Continue I am back at the Partition disks dialog with the
following partitions:
#1 primary 4.0 GB (lighting) (dog?) ext3 /
pri/log 214.6 MB FREE SPACE
#5 logical 516.0 kB swap
NOTE: 516.0 kiloB.
What appears to happen is the installer tries to extend the 214 MB swap
partition to 512 MB which of course exceeds the disk size.
Expected behaviour: The installer shrinks the root partition with 512 -
214 MB and increases the size of the swap to 512.
Note: I applaud the efforts to create a user friendly partitioning systems
as is present in most other modern distros, but when you do this it can't
be just a wrapper around cfdisk, it has to be as flexibel as say Partition
Magic.
Reply to: