Bug#565511: re-installation partition problem [so not initramfs related?]
I am trying to reinstall from scratch.
I am stuck on the "Partition disks" step.
The screen shows my two discs:
SCSI2 (0,0,0) (sda) - 31.3 GB ATA FEM32G13M
SCSI3 (0,0,0) (sdb) - 16.0 GB Easy Disc
The first is highlighted/selected : it is the SSD which already has the
two partitions, one swap, the other previous root.
Pressing return (selecting the SSD) simply loops back to same screen.
On alt-F4, the only message that looks relevant is
.. partman: No matching physical volumes found.
However that message is not repeated when I loop on the selection screen.
----------------------------------------------------------
I switch to a BusyBox shell on alt-F2 to investigate:-
1) cat /proc/partitions has the right entries:
major minor #blocks name
0 0 30539376 sda
0 1 29230236 sda1 <== the old root
0 2 1301265 sda2 <== old swap
[..snip..]
2) fdisk /dev/sda shows the right entries
(sda1 has id 83 Linux and sda2 id 82 Linux swap/Solaris
which look right to me. sda1 is marked bootable, but is
irrelevant with grub?..)
------------------------------------------------------------
I revert to alt-F1 & use <Go Back>.
Intead 0f selecting 1st option [Guided - use entire disk]
I try manual.
This time the SCSI 2 partition 1 is shown as ext4. I change that
to ext3.
I then need to set it up again: I include relatime mount option
because it is an ssd with limited write cycle life.
On alt-f4, I see
partman: mke2fs 1.41.9 (22-Aug-2009)
partman: warning 295 blocks unused
{I now consider re-partitioning to avoid the, admittedly small,
wasted space. How come the original auto partitioning
produced that? SSD blocks are expensive :-( }
I decide to repartition and choose a slightly larger swap partiton.
I seem to have no way to ensure no wasted space with partman,
so simply guess sizes.
The installation then completed without problems - using ext3.
ael
Reply to: