Bug#368119: installation-report: parted fails to read partition table on targetted hard drive
Package: installation-report
Severity: normal
Package: installation-reports
Boot method: CD
Image version: debian-testing-alpha-netinst downloaded the 19/05/2006
Date: 20/05/2006
Machine: Compaq Alphaserver DS10 with SRM console
Processor:EV6
Memory:512M
Partitions:
As seen by GNU parted
parted /dev/hda print ( targeted install disk )
Error: Unable to satisfy all constraints on the partition.
Information: Don't forget to update /etc/fstab, if necessary.
parted /dev/sda print ( sarge disk )
Disk geometry for /dev/sda: 0.000-8678.478 megabytes
Disk label type: bsd
Minor Start End Filesystem Flags
1 0.000 0.954
2 0.955 77.249 ext2
3 77.249 5990.030 ext3
4 5990.030 6234.171 linux-swap
5 6234.171 8678.478 ext3
As seen by fdisk
fdisk -l /dev/hda
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
8 partitions:
# start end size fstype [fsize bsize cpg]
a: 1* 1* 0* ext2
b: 1 1217 1217 ext2
c: 1217 7782 6566 ext2
d: 7782 14593 6812 ext2
fdisk -l /dev/sda
Disk /dev/sda: 9100 MB, 9100044288 bytes
255 heads, 63 sectors/track, 1106 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
6 partitions:
# start end size fstype [fsize bsize
# cpg]
a: 1* 1* 0* ext2
b: 1* 10* 9* ext2
c: 10* 764* 753* ext2
d: 764* 795* 31* swap
e: 795* 1107* 311* ext2
Output of lspci and lspci -n:
0000:00:01.0 USB Controller: ALi Corporation USB 1.1
Controller (rev 03)
0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to
ISA Bridge [Aladdin IV] (rev c3)
0000:00:09.0 Ethernet controller: Digital Equipment
Corporation DECchip 21142/43 (rev 41)
0000:00:0b.0 Ethernet controller: Digital Equipment
Corporation DECchip 21142/43 (rev 41)
0000:00:0d.0 IDE interface: ALi Corporation M5229 IDE
(rev c1)
0000:00:0e.0 PCI bridge: Hint Corp HB6 Universal
PCI-PCI bridge (non-transparent mode) (rev 15)
0000:00:0f.0 Multimedia audio controller: Creative
Labs SB Live! EMU10k1 (rev 07)
0000:00:0f.1 Input device controller: Creative Labs SB
Live! MIDI/Game Port (rev 07)
0000:00:10.0 USB Controller: NEC Corporation USB (rev
43)
0000:00:10.1 USB Controller: NEC Corporation USB (rev
43)
0000:00:10.2 USB Controller: NEC Corporation USB 2.0
(rev 04)
0000:00:11.0 SCSI storage controller: QLogic Corp.
ISP1020 Fast-wide SCSI (rev 05)
0000:01:00.0 VGA compatible controller: Matrox
Graphics, Inc. MGA G400 AGP (rev 85
0000:00:01.0 0c03: 10b9:5237 (rev 03)
0000:00:07.0 0601: 10b9:1533 (rev c3)
0000:00:09.0 0200: 1011:0019 (rev 41)
0000:00:0b.0 0200: 1011:0019 (rev 41)
0000:00:0d.0 0101: 10b9:5229 (rev c1)
0000:00:0e.0 0604: 3388:0021 (rev 15)
0000:00:0f.0 0401: 1102:0002 (rev 07)
0000:00:0f.1 0980: 1102:7002 (rev 07)
0000:00:10.0 0c03: 1033:0035 (rev 43)
0000:00:10.1 0c03: 1033:0035 (rev 43)
0000:00:10.2 0c03: 1033:00e0 (rev 04)
0000:00:11.0 0100: 1077:1020 (rev 05)
0000:01:00.0 0300: 102b:0525 (rev 85)
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] =
didn't try it
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: [ ]
Comments/Problems:
I used the french version of the installer. I noticed
that during
the choice of the debian archive mirror, the list of
countries is not really sort by alphabetical order. I
think it comes from the fact that "czek republic" in
english is "Tcheque ( republique )" in french, so the
alphabetic english list of countries does not fit the
translated version.
I live in austria, that is why I looked for a mirror
in the near from me, but not France.
Maybe a list of countries preceded by internet domain
like .at, .fr, and sorting the list following this
code would solve this small annoyance.
I encoutered something much more problematic during
partitionning. I planned to test the d-i on a hard
drive /dev/hda, that I partitioned some time ago using
fdisk running from sarge. When I partitioned this
disk, I made one big data partition and left the rest
for other purposes. The 2.4.27 kernel mounts this
partition without problem. However it seems parted is
not able to see the pseudo BSD disklabel that fdisk
wrote on this hard drive. I tested again this back
into normal sarge and here is the result :
mordechai:~# fdisk -l /dev/hda
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
8 partitions:
# start end size fstype [fsize
# bsize cpg]
a: 1* 1* 0* ext2
b: 1 1217 1217 ext2
c: 1217 7782 6566 ext2
d: 7782 14593 6812 ext2
mordechai:~# parted /dev/hda
GNU Parted 1.6.21 with HFS shrink patch 16
Copyright (C) 1998 - 2004 Free Software
Foundation, Inc.
This program is free software, covered by the
GNU General Public License.
This program is distributed in the hope that
it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General
Public License for more details.
Using /dev/hda
(parted) print
Error: Unable to satisfy all constraints on
the partition
Because I did not want to make a new partition
table on /dev/hda, I stopped the install
process at this point. I saw that sfdisk is
also not able to read this partition table.
<Description of the install, in prose, and any
thoughts, comments
and ideas you had during the initial
install.>
-- System Information:
Debian Release: 3.1
Architecture: alpha
Kernel: Linux 2.4.27-3-generic
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Reply to: