Problem booting system after first installation

Help with issues regarding installation of Debian

Problem booting system after first installation

Postby lodopidolo » 2017-11-21 10:20

Hello, I'm installing a new debian (buster) in my machine, but afer first boot (after installation has finished), the systen doesn't boot and appers the messages of this two images:

Image
Full image: https://www.dropbox.com/s/vowgyg6cov3d1yh/IMG_20171121_095320.jpg?dl=1

Image
Full image: https://www.dropbox.com/s/qkg7llx6keobcbk/IMG_20171121_095409.jpg?dl=1

I've been looking for a solution but I didn't found anything.

I've installed the system two times (one without encrypted root partition, and another with lvm-encrypted root partition). Always I get the same results.

With linux kernel image 4.11 the systen ran ok, but after this version the system always though this message (this is why I've reinstalled the system).

Some information about my system (obtained booting from resque usb pen):

Code: Select all
# blkid
/dev/sda1: UUID="6BEE-D06F" TYPE="vfat" PARTUUID="24352397-f201-4117-89b6-f5d4119d5dc6"
/dev/sda2: UUID="f270646b-602e-4d96-9078-e9d8b403bb69" TYPE="ext2" PARTUUID="bb7f6d62-a9e4-450c-bee2-eb6b81a88b9b"
/dev/sda3: UUID="9edbc602-9553-4f54-93b2-e37801134aee" TYPE="crypto_LUKS" PARTUUID="39cd4195-6b99-49ff-b0b9-67019c74b135"
/dev/sdb1: UUID="2017-08-29-10-30-36-00" LABEL="Debian buster-DI-a1 amd64 1" TYPE="iso9660" PTUUID="761b498c" PTTYPE="dos" PARTUUID="761b498c-01"
/dev/sdb2: SEC_TYPE="msdos" UUID="C61B-FC69" TYPE="vfat" PARTUUID="761b498c-02"
/dev/mapper/sda3_crypt: UUID="Sz5sEI-1hTk-LUHp-ty2T-Ye4F-2E4I-Gg5v4e" TYPE="LVM2_member"
/dev/mapper/local--vg-rootlv: UUID="5d4d1a11-1fa2-4633-8732-5d2191aced17" UUID_SUB="bf74104d-268b-4ed0-adad-6e021c2a6660" TYPE="btrfs"

# dmsetup ls --target crypt
sda3_crypt   (253, 0)

# dpkg -l
Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
| Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo
|/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
||/ Nombre                     Versión      Arquitectura Descripción
+++-==========================-============-============-===================================
ii  linux-image-4.12.0-1-amd64 4.12.6-1     amd64        Linux 4.12 for 64-bit PCs
ii  linux-image-4.13.0-1-amd64 4.13.4-2     amd64        Linux 4.13 for 64-bit PCs
ii  linux-image-amd64          4.13+86      amd64        Linux for 64-bit PCs (meta-package)

# mount
/dev/mapper/local--vg-rootlv on / type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)
devtmpfs on /dev type devtmpfs (rw,relatime,size=32916788k,nr_inodes=8229197,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /run type tmpfs (rw,nosuid,relatime,size=6585348k,mode=755)
/dev/sda2 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)

# pvdisplay
  --- Physical volume ---
  PV Name               /dev/dm-0
  VG Name               local-vg
  PV Size               <476.20 GiB / not usable 3.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              121906
  Free PE               0
  Allocated PE          121906
  PV UUID               Sz5sEI-1hTk-LUHp-ty2T-Ye4F-2E4I-Gg5v4e

# vgdisplay
  --- Volume group ---
  VG Name               local-vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  6
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <476.20 GiB
  PE Size               4.00 MiB
  Total PE              121906
  Alloc PE / Size       121906 / <476.20 GiB
  Free  PE / Size       0 / 0   
  VG UUID               cNWEtw-FEYz-BVm7-7ByE-xIDk-uWiX-8zxfEP

# lvdisplay
  --- Logical volume ---
  LV Path                /dev/local-vg/rootlv
  LV Name                rootlv
  VG Name                local-vg
  LV UUID                xFxz6K-HwzJ-f1I3-eRSI-2kXF-wCqp-n11SlH
  LV Write Access        read/write
  LV Creation host, time local, 2017-11-17 11:03:49 +0100
  LV Status              available
  # open                 1
  LV Size                <476.20 GiB
  Current LE             121906
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

# cat /etc/crypttab
sda3_crypt /dev/sda3 none luks

# cat /etc/fstab
/dev/mapper/local--vg-rootlv /               btrfs   defaults,ssd,compress-force=lzo        0       0
/dev/sda2 /boot           ext2    defaults        0       2
/dev/sda1 /boot/efi       vfat    umask=0077      0       1
/dev/sr0  /media/cdrom0   udf,iso9660 user,noauto     0       0

# update-initramfs -uv > update-initramfs_-uv.log
# dmesg > dmesg.log
# lspci > lspci.logical


update-initramfs_-uv.log: https://www.dropbox.com/s/6o9r16kjilrc6wd/update-initramfs_-uv.log?dl=1

dmesg.log: https://www.dropbox.com/s/tzycnnnn42krl49/dmesg.log?dl=1

lspci.log: https://www.dropbox.com/s/wm1mqrw9tdhcq76/lspci.log?dl=1

How can I solve this?

Regards.
Last edited by lodopidolo on 2017-11-22 07:40, edited 2 times in total.
lodopidolo
 
Posts: 2
Joined: 2017-11-21 08:38

Re: Problem booting system after first installation

Postby arochester » 2017-11-21 11:10

1) Your pictures are much too big. Please look at viewtopic.php?f=16&t=123831

2) If you are new to Debian why are you not using Debian 9 Stretch Stable?
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1112
Joined: 2010-12-07 19:55

Re: Problem booting system after first installation

Postby lodopidolo » 2017-11-22 07:43

arochester wrote:1) Your pictures are much too big. Please look at viewtopic.php?f=16&t=123831


Resized and linked to full image. Sorry.

arochester wrote:2) If you are new to Debian why are you not using Debian 9 Stretch Stable?


I'm no new to Debian. I'm working with Debian many yaers. I have this problem that, first time in my live, I can't solve.

Could you help me?

Regards.
lodopidolo
 
Posts: 2
Joined: 2017-11-21 08:38

Re: Problem booting system after first installation

Postby pylkko » 2017-11-28 17:51

Are you sure the disk hasn't failed? Can you not boot the disk without the USB stick, not even single user mode?? What about mounting the disk when in the USB OS? try smartctl just in case. I'm having a hard time understanding what you are trying to install. You have btrfs, but also lvm?? You have some partition that is crypted but others are not.
User avatar
pylkko
 
Posts: 1213
Joined: 2014-11-06 19:02

Re: Problem booting system after first installation

Postby Head_on_a_Stick » 2017-11-28 17:59

lodopidolo wrote:I'm no new to Debian. I'm working with Debian many yaers

It is unreasonable to expect Debian testing to be installable at any given moment, wait a bit and try again.

Debian development branches are not intended for day-to-day usage.

If you prefer distributions that actually work then why not try Debian stable instead?
Last edited by Head_on_a_Stick on 2017-11-28 18:01, edited 1 time in total.
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6790
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problem booting system after first installation

Postby pylkko » 2017-11-28 18:01

Ok, so in the dmesg log posted the devices appear to mount normally. I wonder what was installed in the btrfs partition and if there are subvolumes under it? yes, testing. It could be fun to try to figure out what's going on.
User avatar
pylkko
 
Posts: 1213
Joined: 2014-11-06 19:02


Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable