[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#415307: Encrypted Partition with etch testing from 2007-03-14 netinst



Package: base-installer 

Boot method: CD
Image version: 
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/

Date: 2007-03-14

Machine: EPIA Mini-ITX
Processor: VIA C3
Memory: 512 MB
Partitions: 
bs04:~# df
Dateisystem          1K-Blöcke   Benutzt Verfügbar Ben% Eingehängt auf
/dev/hda3             27782840    995356  25376176   4% /
tmpfs                   250112         0    250112   0% /lib/init/rw
udev                     10240        48     10192   1% /dev
tmpfs                   250112         0    250112   0% /dev/shm
/dev/hda1                30075     11029     17442  39% /boot
/dev/mapper/backup    48102116    184324  45474332   1% /backup

bs04:~# fdisk -l

Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           4       32098+  83  Linux
/dev/hda2               5         135     1052257+  82  Linux swap / Solaris
/dev/hda3             136        3649    28226205   83  Linux
/dev/hda4            3650        9733    48869730   83  Linux

Disk /dev/dm-0: 50.0 GB, 50042075136 bytes
255 heads, 63 sectors/track, 6083 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table



Output of lspci -nn and lspci -vnn:
bs04:~#  lspci -nn
00:00.0 Host bridge [0600]: VIA Technologies, Inc. VT8623 [Apollo CLE266] 
[1106:3123]
00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] 
[1106:b091]
00:0d.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. IEEE 1394 Host 
Controller [1106:3044] (rev 80)
00:10.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 80)
00:10.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 80)
00:10.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 80)
00:10.3 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 
82)
00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VT8235 ISA Bridge 
[1106:3177]
00:11.1 IDE interface [0101]: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 06)
00:11.5 Multimedia audio controller [0401]: VIA Technologies, Inc. 
VT8233/A/8235/8237 AC97 Audio Controller [1106:3059] (rev 50)
00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102 [Rhine-II] 
[1106:3065] (rev 74)
00:14.0 Ethernet controller [0200]: 3Com Corporation 3c905B 100BaseTX 
[Cyclone] [10b7:9055] (rev 30)
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. VT8623 
[Apollo CLE266] integrated CastleRock graphics [1106:3122] (rev 03)


bs04:~#  lspci -vnn
00:00.0 Host bridge [0600]: VIA Technologies, Inc. VT8623 [Apollo CLE266] 
[1106:3123]
        Subsystem: VIA Technologies, Inc. Unknown device [1106:aa01]
        Flags: bus master, 66MHz, medium devsel, latency 8
        Memory at e7000000 (32-bit, prefetchable) [size=4M]
        Capabilities: [a0] AGP version 2.0
        Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] 
[1106:b091] (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: e4000000-e5ffffff
        Prefetchable memory behind bridge: e0000000-e3ffffff
        Capabilities: [80] Power Management version 2

00:0d.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. IEEE 1394 Host 
Controller [1106:3044] (rev 80) (prog-if 10 [OHCI])
        Subsystem: VIA Technologies, Inc. IEEE 1394 Host Controller 
[1106:3044]
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at e7403000 (32-bit, non-prefetchable) [size=2K]
        I/O ports at c000 [size=128]
        Capabilities: [50] Power Management version 2

00:10.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller 
[1106:3038]
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at c400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller 
[1106:3038]
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at c800 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller 
[1106:3038]
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at cc00 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 
82) (prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0 [1106:3104]
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at e7400000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VT8235 ISA Bridge 
[1106:3177]
        Subsystem: VIA Technologies, Inc. Unknown device [1106:aa01]
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2

00:11.1 IDE interface [0101]: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 06) 
(prog-if 8a [Master SecP PriP])
        Subsystem: VIA Technologies, Inc. Unknown device [1106:aa01]
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at d000 [size=16]
        Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller [0401]: VIA Technologies, Inc. 
VT8233/A/8235/8237 AC97 Audio Controller [1106:3059] (rev 50)
        Subsystem: VIA Technologies, Inc. Unknown device [1106:aa01]
        Flags: medium devsel, IRQ 5
        I/O ports at d400 [size=256]
        Capabilities: [c0] Power Management version 2

00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102 [Rhine-II] 
[1106:3065] (rev 74)
        Subsystem: VIA Technologies, Inc. VT6102 [Rhine II] Embeded Ethernet 
Controller on VT8235 [1106:0102]
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at dc00 [size=256]
        Memory at e7401000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2

00:14.0 Ethernet controller [0200]: 3Com Corporation 3c905B 100BaseTX 
[Cyclone] [10b7:9055] (rev 30)
        Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100 
[10b7:9055]
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at e000 [size=128]
        Memory at e7402000 (32-bit, non-prefetchable) [size=128]
        [virtual] Expansion ROM at 20000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 1

01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. VT8623 
[Apollo CLE266] integrated CastleRock graphics [1106:3122] (rev 03) (prog-if 
00 [VGA])
        Subsystem: VIA Technologies, Inc. VT8623 [Apollo CLE266] integrated 
CastleRock graphics [1106:3122]
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at e0000000 (32-bit, prefetchable) [size=64M]
        Memory at e4000000 (32-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at e5000000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [70] AGP version 2.0




Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [ O]
Detect network card:    [O ]
Configure network:      [ O]
Detect CD:              [ O]
Load installer modules: [O ]
Detect hard drives:     [ O]
Partition hard drives:  [ E]
Install base system:    [ O]
Clock/timezone setup:   [O ]
User/password setup:    [ O]
Install tasks:          [ E]
Install boot loader:    [O ]
Overall install:        [ E]

Comments/Problems:

I use the netinst iso from 14. March 2007, 11:27. 
Want to set the partition /dev/hda4 as an encrypted partition.
I do set "twofish" and "physical volume for encryption". 
Let all other options to the default ("Passphrase").

There comes no dialog to enter the passphrase. After Installation there where 
no configuration for the encrypted partition. I done it manually:

cryptsetup luksFormat --batch-mode -c twofish-cbc-essiv:sha256 /dev/sda4
cryptsetup luksOpen /dev/sda4 backup
mkfs.ext3 /dev/mapper/backup
mount /dev/mapper/backup /backup

The above commands "df" and "fdisk -l" are done after this manually steps.

Manfred



Reply to: