On Tue, May 23, 2017 at 07:56:07PM +0200, Catonano wrote:
> > > (file-systems (cons (file-system
> > > (device "my-root")
> > > (title 'label)
> > > (mount-point "/")
> > > (type "ext4")
> > >
> > > )
> > > %base-file-systems))
>
> 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
The issue is that there is no filesystem with the label 'my-root'. Did
this configuration really work previously with the same partition and
filesystem layout?