Discussion:
[Bug 4229] [New] LUKS+LVM install ok, kernel panic at boot
Tamás Hajdu
2012-01-22 10:53:23 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=4229

Summary: LUKS+LVM install ok, kernel panic at boot
Product: Mageia
Version: 1
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: critical
Priority: Normal
Component: Installer
AssignedTo: bugsquad-odJJhXpcy38dnm+***@public.gmane.org
ReportedBy: fathom-***@public.gmane.org


Description of problem:
I wanted to install mageia with the following disk setup:
-4GiB to swap
-250MiB to /boot with ext4 fs
-LVM physical with encryption (rest of my hd)
--12 GiB to / with ext4 fs
--rest to /home with ext4 fs

Installation seems ok. Tried from dual-arch iso with and without additional
network sources to use.
On boot, after password given successfully to LUKS, kernel panics.

Here is the last few lines:
Making device-mapper control mode
waiting for device sda6 to appear (timeout 1 min)
waiting for device sda6 to appear (timeout 1 min)
waiting for device sda1 to appear (timeout 1 min)
Setting up disk encryption: /dev/sda6
waiting for encrypted device sda6 to appear (timeout 1 min)
no resume binary
Creating root device
Mounting root filesystem
mount: could not find filesystem '/dev/root'
Kernel panic - not syncing: Attemted to kill init!
Pid: 1, comm: init Not tainted 2.6.38.7-desktop-1.mga #1
Call Trace:
[<ffffffff813ec160>] ? panic+0x91/0x19c
[<ffffffff8105c053>] ? do_exit+0x7d3/0x890
[<ffffffff81166bff>] ? mntput+0x1f/0x30
[<ffffffff8105c3c8>] ? do_group_exit+0x58/0xd0
[<ffffffff8105c457>] ? sys_exit_group+0x17/0x20
[<ffffffff81002e92>] ? system_call_fastpath+0x16/0x1b
panic occured, switching back to text console

Version-Release number of selected component (if applicable):
Mageia 1

How reproducible:
always

Steps to Reproduce:
1. Get the installer
2. Make the partitions as above
3. Watch a delightful kernel panic at boot
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Dave Hodgins
2012-01-28 04:07:33 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=4229

Dave Hodgins <davidwhodgins-***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |davidwhodgins-***@public.gmane.org

--- Comment #1 from Dave Hodgins <davidwhodgins-***@public.gmane.org> 2012-01-28 05:07:33 CET ---
As a workaround, try creating the lvm physical volume without
encryption, and then encrypting the filesystems within the
logical volumes. I haven't tried using an encrypted /, but
have done this with /home.
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Loading...