Web lists-archives.com

Re: Installer Can Not Find Root

Le 19/11/2017 à 20:02, Dan Norton a écrit :
   -----Original Message-----
From: Pascal Hambourg
Sent: Nov 19, 2017 11:03 AM
To: "debian-user@xxxxxxxxxxxxxxxx"
Subject: Re: Installer Can Not Find Root

Le 19/11/2017 à 03:26, Dan Norton a écrit :

user@debian:/$ sudo mount /dev/debian-vg/root

The mount point is missing. Besides, why did you mount the filesystem ?

No reply to this question ?

#the "/root" was dropped apparently

What do you mean ?

Simply that
sudo mount /dev/debian-vg/root
was processed as
sudo mount /dev/debian-vg

No it wasn't. Unless a mount point was defined for /dev/debian-vg/root in /etc/fstab, this command is invalid and had no effect except to print an error message.

There they are. All the logical volumes.

/dev/debian-vg is a directory created by LVM when the volume group debian-vg is activated. What you see in this directory is not a mounted filesystem but device nodes for its logical volumes (actually, symbolic links pointing to the real device nodes /dev/dm-*).

OK, in the installer, logical volumes selected and mount points defined for /,
/home, swap, /tmp, and /var.
Thank you, Pascal. That's progress.

Now I have a problem with the EFI partition. I made several attempts with
primary partitions. The last is:

#1  primary  1.0MB     F  fat32  /dos

What is the purpose of this partition ?

#2  primary  8.6GB  B  K  ESP

"The attempt to mount a file system with type vfat in SCSI1 (0,0,0), partition
#2(sda) at /boot/efi failed."

In your original post, partition #2 was identified as a swap. Allocating 8 GB to an EFI system partition which must contain less than 1 MB of files is just a waste.

What is the contents type of this partition ? You can check with blkid.
An EFI system partition should contain a FAT filesystem and be mounted on /boot/efi.

The goal is to multiboot with grub among several Debian partitions.

You're going into trouble installing several instances of Debian in EFI mode. They will all install their own GRUB EFI in the same place in the EFI system partition and overwrite the previous one. AFAIK, only manual GRUB installation can avoid this by forcing a different identifier for each instance. Or you must not install GRUB with the other instances.