SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-07-11 02:31:29

farinet
#! Junkie
Registered: 2012-11-03
Posts: 290

boot problem (lvm?)

Out of a sudden on my main machine i've a boot problem:

Early console in decompress_kernel

Decompressing Linux ... Parsing ELF ... done.
Booting the kernel.
Loading please wait ...
modprobe: can'tload module microcode (kernel/arch/x86/kernel/microcode.ko): No
such device
mdadm: No devices listed in conf file were found.
   Volume group "vg_debian" not found
   Skipping volume group vg_debian
Unable to find LVM volume vg_debian/root
Gave up waiting for root device. Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/vg_debian-root does not exist. Dropping to a shell!

BusyBox v1.20.2 (Debian 1:1.20.0-8.1) built-in shell (ash)
/bin/sh: can't access tty; job control turned ogg
(initramfs) _

What can i do? I had the above problem already before, but only with one kernel (which i removed) but the other passed thru without any problem. Now, that problem is with all kernels.

Thanks a lot in advance for any help!

Offline

Help fund CrunchBang, donate to the project!

#2 2013-07-11 09:28:29

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: boot problem (lvm?)

Boot from a grml live disk.
Make sure to enable lvm support - it is one of the possible boot options.
Check that your logical volumes are OK.

sudo lvm
lvm> lvs

Offline

#3 2013-07-11 12:33:48

Anakinholland
#! CrunchBanger
Registered: 2011-11-30
Posts: 210

Re: boot problem (lvm?)

Possibly bad sectors on the locations for libraries?

mdadm: No devices listed in conf file were found.
http://en.wikipedia.org/wiki/Mdadm wrote:

mdadm is a Linux utility used to manage software RAID devices.

If a Raid isn't available, neither will the LVM be that's on top of it. Do you use mirrored LVM, or separated LVM and Raid? Kernel doesn't have access to Raid, might be because of

modprobe: can't load module microcode (kernel/arch/x86/kernel/microcode.ko): No such device

Location on my system:

root@crunchTP:~# find / -type f -name microcode.ko -ls 2>/dev/null
2627179   32 -rw-r--r--   1 root     root        30304 Jun  9 20:47 /lib/modules/3.2.0-4-amd64/kernel/arch/x86/kernel/microcode.ko

Mind though, I do not use LVM or Raid, so I guess that file should be on /boot on your system, outside the Raid. Is that file present with the Kernel you're booting?

Did you replace any disks lately? Are all disks still visible in the BIOS? Can you for instance still see them when trying to change HDD boot sequence?

Possible causes:

- HDD kaput?
- One of the updates relabeled disk UUIDs?

You'll have to check your setup with disks before we can continue after that, I guess.

Anakin

Last edited by Anakinholland (2013-07-11 12:34:11)


Use what you like. If you don't like it, improve it. If you can't, look for something else. || **Please read before posting** || Edit the first post in a topic and mark it [solved] if it has been.

Offline

#4 2013-07-11 14:30:45

farinet
#! Junkie
Registered: 2012-11-03
Posts: 290

Re: boot problem (lvm?)

Anakinholland wrote:

. . . Did you replace any disks lately? Are all disks still visible in the BIOS? Can you for instance still see them when trying to change HDD boot sequence?
. . .

I followed this guide to install LVM. So, no raid there . . .

The hd is ok, still working. Booting from an installer cd, i checked that . . .  May be it's something kernel related. Since on that machine i've only siduction kernels installed (unfortunately?). I had the same problem with another amd64 machine (a Samsung 535), if i recall correctly 3.9-2, but there i also had a smxi kernel which did pass through without any problem.

Offline

#5 2013-07-11 14:52:52

Anakinholland
#! CrunchBanger
Registered: 2011-11-30
Posts: 210

Re: boot problem (lvm?)

Seems you're not the only one.

regards,

Anakin


Use what you like. If you don't like it, improve it. If you can't, look for something else. || **Please read before posting** || Edit the first post in a topic and mark it [solved] if it has been.

Offline

#6 2013-07-11 15:19:29

farinet
#! Junkie
Registered: 2012-11-03
Posts: 290

Re: boot problem (lvm?)

xaos52 wrote:

Boot from a grml live disk.
Make sure to enable lvm support - it is one of the possible boot options.
Check that your logical volumes are OK.

sudo lvm
lvm> lvs
home    vg_debian     -wi     70g
root     vg_debian      -wi     10g
swap     vg_debian     -wi       2g

Last edited by farinet (2013-07-11 15:20:42)

Offline

#7 2013-07-11 15:29:06

farinet
#! Junkie
Registered: 2012-11-03
Posts: 290

Re: boot problem (lvm?)

Anakinholland wrote:

Sounds not so nice. No idea, how i could get back to a working/booting system . . . :-(

Offline

#8 2013-07-11 15:34:54

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: boot problem (lvm?)

Possibilities - off the top of my head:
- You did not remove package 'lvm2' by any chance?
   Check /var/log/apt/history.log for packages removed
- can you mount the volume groups after having booted from live media?
- Does your initramfs contain the module lvm2?
- Check /boot/grub/grub.cfg:
  - do you load the grub2 lvm module
  - check the grub2 menu-itiem for the OS you want to load. Does the linux line contain the correct device path?

Can you boot into the old kernel?

Did you make a backup before upgrading your system?

Last edited by xaos52 (2013-07-11 15:39:40)

Offline

#9 2013-07-11 17:35:57

farinet
#! Junkie
Registered: 2012-11-03
Posts: 290

Re: boot problem (lvm?)

xaos52 wrote:

Possibilities - off the top of my head:
- You did not remove package 'lvm2' by any chance?

No.

xaos52 wrote:

Check /var/log/apt/history.log for packages removed
- can you mount the volume groups after having booted from live media?
- Does your initramfs contain the module lvm2?
- Check /boot/grub/grub.cfg:
  - do you load the grub2 lvm module
  - check the grub2 menu-itiem for the OS you want to load. Does the linux line contain the correct device path?

Can you boot into the old kernel?

Did you make a backup before upgrading your system?

I need (your? wink ) help:

How would i mount the volume group from the grml cd?

How would i check the initramfs of the internal hd?

...

And no: Also the old kernel does not work anymore.

And no: I didn't do an upgrade (but, since i didn't do a lot after the installation, a re-install wouldn't hurt so much).

Thanks a lot anyway!

Offline

#10 2013-07-11 19:01:50

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: boot problem (lvm?)

How would i mount the volume group from the grml cd?

1. boot into live system from grml CD - enable lvm
2. create a mount point and mount the lvm, e.g.
mkdir /tmp/lvm1
sudo mount /dev/mapper/vg_debian-root /tmp/lvm1

How would I check the initramfs of the internal hd?

lsinitramfs <path-to-your-initramfs-fileon hd>

Offline

#11 2013-07-12 07:13:16

farinet
#! Junkie
Registered: 2012-11-03
Posts: 290

Re: boot problem (lvm?)

xaos52 wrote:

How would i mount the volume group from the grml cd?

1. boot into live system from grml CD - enable lvm
2. create a mount point and mount the lvm, e.g.
mkdir /tmp/lvm1
sudo mount /dev/mapper/vg_debian-root /tmp/lvm1

How would I check the initramfs of the internal hd?

lsinitramfs <path-to-your-initramfs-fileon hd>

xaos! Thanks a lot for all your help - but: in the end i gave up, reformatted the hd (this time not lvm but gparted) and all is fine.

One point i notice: This newer installations bring a program called mdadm which brings, even with the "normal" installation this error on boot:

/etc/mdadm/mdadm.conf
noarrays in conf

I solved that by removing mdadm. But i suspect that might create the trouble i had when you start from a lvm formatted hd ... (?)

In any case, i now can confirm that all works fine and even the siduction kernel 3.10 apparently is ok.

Thanks again.

PS. Should i mark this thread as solved?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo