Das Problem hatte ich doch auch schon, und es liegt vor dem Öffnen der /root-partition
http://forum.siduction.org/index.php?msg=23397#23397
Bitte gib die englischen Originalfehlermeldungen an, so daß kein Ratespiel entsteht.
Grüße,
Bequimão
Dear all,
for making sure everybody who is interested in this issue, I will hopefully explain a little bit more clear about my setup.
Aim is to setup siduction 2012.2 on a laptop with encryprted LV / VG according to siduction manual. I have done it with aptosid on 3 Laptops years ago.
With the last "dist-upgrade" on one of this laptops,I received the message during "update-grub": "core.img" is to big, can't be installed on MBR of /dev/sda. And it also failed to install into a logical volume.
So I decided to switch completly from aptosid to siduction.
I installed installed Siduction 2012.2 with following LV/VG setup on disk /dev/sda and everything was working well.
This is the LV-Setup:
root@spica:/home/markus# lvdisplay
--- Logical volume ---
LV Path /dev/crypt_spica/swap
LV Name swap
VG Name crypt_spica
LV UUID m1gKh1-CrA9-ANAD-x13p-pWxh-DOuJ-9B6Epo
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 2
LV Size 2,00 GiB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Logical volume ---
LV Path /dev/crypt_spica/root
LV Name root
VG Name crypt_spica
LV UUID rt8M3l-HwsN-j0kR-Ihf3-foCe-B9lg-rdwOXq
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 1
LV Size 30,00 GiB
Current LE 7680
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
--- Logical volume ---
LV Path /dev/crypt_spica/home
LV Name home
VG Name crypt_spica
LV UUID O1HCCv-tG7w-HXi5-GhVt-1jf2-Bi2O-r1l20r
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 1
LV Size 42,28 GiB
Current LE 10823
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:5
--- Logical volume ---
LV Path /dev/spica/boot
LV Name boot
VG Name spica
LV UUID A3lgeV-1Olh-XGm7-mkD9-gxJh-a967-EzGDw9
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 1
LV Size 252,00 MiB
Current LE 63
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/spica/crypt
LV Name crypt
VG Name spica
LV UUID zkCfkW-7p1c-5c2D-wGHv-Bhj9-wHQt-k5PVLQ
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 1
LV Size 74,28 GiB
Current LE 19016
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
For having newest packages and firmware for ipw2200, i have made a "apt-get update" and "apt-get dist-upgrade".
Then I received the "update-grub" message, described above once more. For me, it looks like the easiest way seems to downgrade the grub packages to version 1.99 with apt-get install packageXY=version.
It run smoothly through with no error messages.
For being sure, I have made an "update-grub" once more.
But after rebooting the system it stops during boot and is going into initramfs shell.
"vgchange -ay" in the console will activate 2 logical volumes: spica-boot and spica-crypt
"cryptsetup luksOpen /dev/mapper/spica-crypt cryptroot" activates the password sequence and granted access to the crypted LV
"vgchange -ay" will activate now another 3 logical volumes: crypt_spica-root, crypt_spica-home, crypt_spica-swap
Now I can exit initramfs and the system is booting into runlevel 5.
In "etc/default/grub" I have added a rootdelay of 5 and made "update-grub", but still the same problem during boot.
I tried to pick out the messages as follows:
syslog:
Feb 7 10:39:02 spica /USR/SBIN/CRON[18170]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda1
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 10freedos: debug: /dev/mapper/crypt_spica-home is not a FAT partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 10qnx: debug: /dev/mapper/crypt_spica-home is not a QNX4 partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica macosx-prober: debug: /dev/mapper/crypt_spica-home is not an HFS+ partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 20microsoft: debug: /dev/mapper/crypt_spica-home is not a MS partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 30utility: debug: /dev/mapper/crypt_spica-home is not a FAT partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 83haiku: debug: /dev/mapper/crypt_spica-home is not a BeFS partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: /dev/mapper/crypt_spica-swap: is active swap
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 10freedos: debug: /dev/mapper/spica-boot is not a FAT partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 10qnx: debug: /dev/mapper/spica-boot is not a QNX4 partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica macosx-prober: debug: /dev/mapper/spica-boot is not an HFS+ partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 20microsoft: debug: /dev/mapper/spica-boot is not a MS partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 30utility: debug: /dev/mapper/spica-boot is not a FAT partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 83haiku: debug: /dev/mapper/spica-boot is not a BeFS partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/mapper/spica-crypt
Feb 7 10:41:06 spica 50mounted-tests: debug: /dev/mapper/spica-crypt is a LUKS partition; skipping
messages:
Feb 7 10:12:44 spica os-prober: debug: os detected by /usr/lib/os-probes/50mounted-tests
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda1
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 10freedos: debug: /dev/mapper/crypt_spica-home is not a FAT partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 10qnx: debug: /dev/mapper/crypt_spica-home is not a QNX4 partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica macosx-prober: debug: /dev/mapper/crypt_spica-home is not an HFS+ partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 20microsoft: debug: /dev/mapper/crypt_spica-home is not a MS partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 30utility: debug: /dev/mapper/crypt_spica-home is not a FAT partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica 83haiku: debug: /dev/mapper/crypt_spica-home is not a BeFS partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/mapper/crypt_spica-home
Feb 7 10:41:06 spica os-prober: debug: /dev/mapper/crypt_spica-swap: is active swap
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 10freedos: debug: /dev/mapper/spica-boot is not a FAT partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 10qnx: debug: /dev/mapper/spica-boot is not a QNX4 partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica macosx-prober: debug: /dev/mapper/spica-boot is not an HFS+ partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 20microsoft: debug: /dev/mapper/spica-boot is not a MS partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 30utility: debug: /dev/mapper/spica-boot is not a FAT partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica 83haiku: debug: /dev/mapper/spica-boot is not a BeFS partition: exiting
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/mapper/spica-boot
Feb 7 10:41:06 spica os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/mapper/spica-crypt
Feb 7 10:41:06 spica 50mounted-tests: debug: /dev/mapper/spica-crypt is a LUKS partition; skipping
Feb 7 10:41:06 spica os-prober: debug: os detected by /usr/lib/os-probes/50mounted-tests
dmesg:
.
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257681
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.7-6.towo-siduction-686 root=/dev/mapper/crypt_spica-root ro rootdelay=5 quiet rootdelay=5
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
.
.
.
[ 215.950422] Adding 2097148k swap on /dev/mapper/crypt_spica-swap. Priority:-1 extents:1 across:2097148k
[ 215.967817] EXT4-fs (dm-4): re-mounted. Opts: (null)
[ 216.836896] EXT4-fs (dm-4): re-mounted. Opts: errors=remount-ro
[ 217.651772] fuse init (API version 7.20)
[ 219.159324] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[ 219.261545] EXT4-fs (dm-5): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[ 220.962901] RPC: Registered named UNIX socket transport module.
[ 220.962907] RPC: Registered udp transport module.
[ 220.962910] RPC: Registered tcp transport module.
[ 220.962912] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 221.006380] FS-Cache: Loaded
[ 221.076521] FS-Cache: Netfs 'nfs' registered for caching
[ 221.151584] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 221.226148] 8139too 0000:02:01.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Sorry, for maybe too long code messages, but for now I dont know further.
I see the problem is that the encrypted LV is not recognized.
It would be nice if you could help.
Thanks and regards,
Markus