I believe the problem is with elilo-installer.postinst's expectation that parted will print out 'Disk geometry for /dev/discs/disc1/disc: 0kB - 147GB' instead of 'Disk geometry for /dev/sdb: 0kB - 147GB'. I say this because this call seems to expect the more verbose version:
dev=$(echo $size | sed -n "s|\([^:]*\)/disc:|\1|p")
Actual output:
~ # uname -a
Linux luthor 2.6.15-20-itanium-smp #1 SMP Tue Apr 4 19:40:06 UTC 2006 ia64 unknown
~ # parted -v
GNU Parted 1.6.25.1
~ # parted /dev/discs/disc1/disc print
Disk geometry for /dev/sdb: 0kB - 147GB
Disk label type: gpt
Number Start End Size File system Name Flags
1 17kB 100MB 100MB fat16 boot
2 100MB 145GB 145GB ext3
3 145GB 147GB 2049MB linux-swap
Information: Don't forget to update /etc/fstab, if necessary.
Colin,
I believe the problem is with elilo-installer .postinst' s expectation that parted will print out 'Disk geometry for /dev/discs/ disc1/disc: 0kB - 147GB' instead of 'Disk geometry for /dev/sdb: 0kB - 147GB'. I say this because this call seems to expect the more verbose version:
dev=$(echo $size | sed -n "s|\([^ :]*\)/disc: |\1|p")
Actual output:
~ # uname -a 20-itanium- smp #1 SMP Tue Apr 4 19:40:06 UTC 2006 ia64 unknown disc1/disc print
Linux luthor 2.6.15-
~ # parted -v
GNU Parted 1.6.25.1
~ # parted /dev/discs/
Disk geometry for /dev/sdb: 0kB - 147GB
Disk label type: gpt
Number Start End Size File system Name Flags
1 17kB 100MB 100MB fat16 boot
2 100MB 145GB 145GB ext3
3 145GB 147GB 2049MB linux-swap
Information: Don't forget to update /etc/fstab, if necessary.