Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-24-2009, 10:06 AM   #1
Registered: Aug 2009
Distribution: debian testing / slackware 13.0
Posts: 30

Rep: Reputation: 15
unable to find LVM volume vg0/cryptedroot on startup

on my laptop, i am running debian testing / squeeze.
my laptops batterie lately died. when i wanted to reboot, it told me something about fsck failed and maintainance mode, and since i had to run fsck in maintainance mode the last time i bootet (other reason - doesnt matter right now), i just entered the root pw and started fsck. cuz it was pretty late i didnt really think and just answered every question with default (return). so it 'fixed' lots of stuff. then, when i tried to reboot, it hangs and shouts the following:

EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write acces will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
mount: mounting /dev on /root/dev failed: No such file or directory
/init: line 253: can't open /root/dev/console: no such file
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.30-2-686 #1
Call Trace:
[<c031ccaa>] ? panic+0x38/0xdd
[<...>] ? do_exit+.../...
[<...>] ? redirected_tty_write+.../...
[<...>] ? vfs_write+.../...
[<...>] ? do_group_exit+.../...
[<...>] ? sys_exit_group+.../...
[<...>] ? syscall_call+.../...
my setup is a encrypted LUKS partition, with /, /home and swap encrypted on /dev/sda3 and /boot unencrypted on /dev/sda2.

mounting /home, / and /boot under ubuntu 9.04 liveCD with cryptsetup works fine.

any ideas how i can get my system bootable again?

thanks in advance


on boot-up, before i have to enter my password, he shouts:
      Volume group "vg0" not found
      Skipping volume group vg0
Unable to find LVM volume vg0/cryptedroot
Unlocking the disk /dev/disk/by-uuid/48530bc2-3c27-4da1-8735-865c3b7f6319 (sda3_crypt)
Enter Passphrase: _
after entering password, everything i can still read is:

File descriptor 3 (/conf/conf.d/cryptroot) leaked on lvm invocation. Parent PID 683 /bin/sh
   3 logical volume(s) in volime group "vg0" now active
cryptsetup: sda3_crypt setup successfully
kinit: name_to_dev_t(/dev/disk/by-uuid/d3b68c59-c294-441c-afee-e04954a170c8) = dev(254,1)
kinit: trying to resume from /dev/disk/by-uuid/d3b68c59-c294-441c-afee-e04954a170c8
then it follows the output i wrote at the top. so it seems that something is wrong with my root partition...
any suggestions?

i think im gonna experiment with testdisk if it can do something for it. since i am able to mount it using livedisk, it should be possible to repair it somehow, shouldn't it?

Last edited by compul; 10-24-2009 at 02:41 PM.
Old 10-24-2009, 04:47 PM   #2
Registered: Aug 2009
Distribution: debian testing / slackware 13.0
Posts: 30

Original Poster
Rep: Reputation: 15
got that solved using the debian rescue cd. choosing the cryptedroot partition as /, i noticed there was no /dev directory. so i simply copied /dev from the liveCD filesystem (mounted cryptedroot as /target) to /target/dev.

but now he says on startup (still most of the above and then):
INIT: no inittab file found

Enter runlevel:
regardless what i enter, he tells me

INIT: no more processes left in this runlevel
then nothing happens...

i took a look, there is no /etc/inittab file. copying the disk's one does not solve the problem (some weird stuff appeiring). it seems not just a few things got lost or broke... is there a way to... like 'auto-repair' this kind of thing? or should i just reinstall base-debian and then copy my home, and maybe my root-directory back? or maybe i can just install the system around my existing stuff...

im not sure what i should do. any suggestions? please ...

Old 10-25-2009, 10:51 AM   #3
Registered: Aug 2009
Distribution: debian testing / slackware 13.0
Posts: 30

Original Poster
Rep: Reputation: 15
ok. since i was able to acces my data, i just backed it up and then reinstalled debian. it was too much gone.. :\




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
need clarification on `fsck` under single-user mode taiwf Solaris / OpenSolaris 6 09-15-2009 02:16 AM
Sarge corrupted raid 1, forced fsck stops checking rguyler Debian 1 02-12-2009 09:41 PM
Need help using Rescue Mode - How to fsck(power outage caused kernal panic on bootup) Arodef Red Hat 3 04-16-2006 11:44 AM
Need help using Rescue Mode - How to fsck(power outage caused kernal panic on bootup Arodef Linux - Software 1 04-08-2006 01:54 AM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 07:51 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration