From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: boot fails after system reconfigure Date: Tue, 23 May 2017 19:56:07 +0200 Message-ID: References: <20170523172902.GA17127@jasmine> <20170523174954.GA18648@jasmine> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0de2ccc07ba6055034b3d5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDE2U-0001zV-Qe for help-guix@gnu.org; Tue, 23 May 2017 13:56:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDE2T-00023H-CD for help-guix@gnu.org; Tue, 23 May 2017 13:56:10 -0400 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:37734) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDE2T-000230-17 for help-guix@gnu.org; Tue, 23 May 2017 13:56:09 -0400 Received: by mail-wm0-x231.google.com with SMTP id d127so36180260wmf.0 for ; Tue, 23 May 2017 10:56:08 -0700 (PDT) In-Reply-To: <20170523174954.GA18648@jasmine> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Leo Famulari Cc: help-guix --94eb2c0de2ccc07ba6055034b3d5 Content-Type: text/plain; charset="UTF-8" 2017-05-23 19:49 GMT+02:00 Leo Famulari : > On Tue, May 23, 2017 at 07:35:02PM +0200, Catonano wrote: > > The conf I used follows > > > > It's the same conf I used in the previous system generations. One of > those > > generations is running right now > > [...] > > > (file-systems (cons (file-system > > (device "my-root") > > (title 'label) > > (mount-point "/") > > (type "ext4") > > > > ) > > %base-file-systems)) > > What is the result of `fdisk -l` and `e2label /dev/foo`, where foo is > the partition that should contain '/'? > This is e2label catonano@xps ~$ sudo e2label /dev/sda sda sda1 sda2 sda3 sda5 sda6 catonano@xps ~$ sudo e2label /dev/sda1 boot catonano@xps ~$ sudo e2label /dev/sda2 e2label: Valore magic non corretto nel super-blocco nell'aprire /dev/sda2 /dev/sda2 contiene un file system swap catonano@xps ~$ sudo e2label /dev/sda3 e2label: Attempt to read block from filesystem resulted in short read nell'aprire /dev/sda3 Impossibile trovare un valido super-blocco per il file system. catonano@xps ~$ sudo e2label /dev/sda5 root catonano@xps ~$ sudo e2label /dev/sda6 home and this is fdisk -l Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/sda: 238,5 GiB, 256060514304 bytes, 500118192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xb25f3f6c Dispositivo Avvio Start Fine Settori Size Id Tipo /dev/sda1 * 2048 587775 585728 286M 83 Linux /dev/sda2 587776 17364991 16777216 8G 82 Linux swap / Solaris /dev/sda3 17364992 500118191 482753200 230,2G 5 Esteso /dev/sda5 17367040 227082239 209715200 100G 83 Linux /dev/sda6 227084288 500118191 273033904 130,2G 83 Linux --94eb2c0de2ccc07ba6055034b3d5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2017-05-23 19:49 GMT+02:00 Leo Famulari = <leo@famulari.nam= e>:
=
On Tue, May 23, 2017 at 07:= 35:02PM +0200, Catonano wrote:
> The conf I used follows
>
> It's the same conf I used in the previous system generations. One = of those
> generations is running right now

[...]

>=C2=A0 =C2=A0(file-systems (cons (file-system
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(device "my-root")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(title 'label)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(mount-point "/")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(type "ext4")
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0%base-file-systems))

What is the result of `fdisk -l` and `e2label /dev/foo`, where foo i= s
the partition that should contain '/'?

This is e2label

catonano@xps ~$ sudo e2label = /dev/sda
sda=C2=A0=C2=A0 sda1=C2=A0 sda2=C2=A0 sda3=C2=A0 sda5=C2=A0 sda= 6=C2=A0
catonano@xps ~$ sudo e2label /dev/sda1
boot
catonano@xps = ~$ sudo e2label /dev/sda2
e2label: Valore magic non corretto nel super-b= locco nell'aprire /dev/sda2
/dev/sda2 contiene un file system swapcatonano@xps ~$ sudo e2label /dev/sda3
e2label: Attempt to read block = from filesystem resulted in short read nell'aprire /dev/sda3
Impossi= bile trovare un valido super-blocco per il file system.
catonano@xps ~$ = sudo e2label /dev/sda5
root
catonano@xps ~$ sudo e2label /dev/sda6home


and this is fdisk -l
<= /div>

Disk /dev/ram0: 64 MiB, 67108864 bytes,= 131072 sectors
Units: sectors of 1 * 512 =3D 512 bytes
Sector size (= logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 40= 96 bytes / 4096 bytes


Disk /dev/ram1: 64 MiB, 67108864 bytes, 13= 1072 sectors
Units: sectors of 1 * 512 =3D 512 bytes
Sector size (log= ical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 = bytes / 4096 bytes


Disk /dev/ram2: 64 MiB, 67108864 bytes, 13107= 2 sectors
Units: sectors of 1 * 512 =3D 512 bytes
Sector size (logica= l/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 byt= es / 4096 bytes


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 s= ectors
Units: sectors of 1 * 512 =3D 512 bytes
Sector size (logical/p= hysical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes = / 4096 bytes


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sect= ors
Units: sectors of 1 * 512 =3D 512 bytes
Sector size (logical/phys= ical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4= 096 bytes


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors=
Units: sectors of 1 * 512 =3D 512 bytes
Sector size (logical/physica= l): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096= bytes


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectorsUnits: sectors of 1 * 512 =3D 512 bytes
Sector size (logical/physical):= 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 by= tes


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Un= its: sectors of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 51= 2 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes=


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units= : sectors of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 b= ytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: s= ectors of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 byte= s / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sec= tors of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes = / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

=
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: secto= rs of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes / = 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors= of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes / 40= 96 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


= Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors o= f 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes / 4096= bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Di= sk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of = 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes / 4096 b= ytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk= /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 = * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes / 4096 byt= es
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /= dev/sda: 238,5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors= of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes / 51= 2 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel t= ype: dos
Disk identifier: 0xb25f3f6c

Dispositivo Avvio=C2=A0=C2= =A0=C2=A0=C2=A0 Start=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Fine=C2=A0=C2=A0 Settor= i=C2=A0=C2=A0 Size Id Tipo
/dev/sda1=C2=A0=C2=A0 *=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2048=C2=A0=C2=A0=C2=A0 587775=C2=A0=C2=A0= =C2=A0 585728=C2=A0=C2=A0 286M 83 Linux
/dev/sda2=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 587776=C2=A0 17364991=C2=A0 1= 6777216=C2=A0=C2=A0=C2=A0=C2=A0 8G 82 Linux swap / Solaris
/dev/sda3=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 17364992 500118191 4827= 53200 230,2G=C2=A0 5 Esteso
/dev/sda5=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 17367040 227082239 209715200=C2=A0=C2=A0 100G 83 Linu= x
/dev/sda6=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 227084288 50= 0118191 273033904 130,2G 83 Linux

--94eb2c0de2ccc07ba6055034b3d5--