Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

5.13 minimal GUI, boot hangs on mounting by UUID

Started by PelleB, December 22, 2020, 08:58:19 PM

Previous topic - Next topic

PelleB

Hello all,

I have installed the minimal GUI with CDE on two computers, one old Imac, where I used a DVD, as the USB-stick blocks the startup, and on a newer Lenovo from the USB-stick. In both cases booting after install hangs on trying to mount the EFI-partition by UUID. The reson is that it tries to mount the partition using UUID "EFI" (DVD-install) or "SYSTEM" (USB-install), both are wrong.

My solution was to boot another system, mount the partition with Sparky and replacing EFI and SYSTEM with the correct UUIDs. I do not know if this was the best way to do it, but it worked.

Now I wonder, did this only happen to me, and if so, what could I have done wrong? The checksum for the downloaded image was OK, and it was written to the stick exactly according to the instructions. There were some other errors too, such as Grub being installed despite that I chose not to install it and the installation (advanced isntaller with GUI9 reported it not being installed.

paxmark1

Posting (as code via the # button) of the contents of /etc/fstab would be helpful. It is always appreciated to also post the output of "inxi -bp"   b flag is "basic"  p flag is "partitions".       
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

PelleB

#2
fstab, original:
# root /dev/sda4
UUID=c90b1ec6-57f6-4cfe-b62c-209918b9dc4b / ext4 errors=remount-ro,defaults 0 1
# swap /dev/sda3
UUID=9defd91e-6e09-4a87-a48d-9ca7c6e9cdb7 none swap sw 0 0
# cdrom
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
# efi /dev/sda1
UUID=EFI /boot/efi vfat defaults 0 0


Last line edited:
UUID=BE49-C598 /boot/efi vfat defaults 0 0

Inxi output:
System:
  Host: StoreMac Kernel: 4.19.0-13-amd64 x86_64 bits: 64 Desktop: mwm
  Distro: SparkyLinux 5.13 (Nibiru)
Machine:
  Type: Desktop System: Apple product: iMac8,1 v: 1.0 serial: W88095MPZE2
  Mobo: Apple model: Mac-F226BEC8 v: PVT serial: 1 UEFI: Apple
  v: IM81.88Z.00C1.B00.0802091538 date: 02/09/08
CPU:
  Dual Core: Intel Core2 Duo E8135 type: MCP speed: 798 MHz
  min/max: 800/2400 MHz
Graphics:
  Device-1: AMD RV610/M74 [Mobility Radeon HD 2400 XT] driver: radeon
  v: kernel
  Display: x11 server: X.Org 1.20.4 driver: ati,radeon
  unloaded: fbdev,modesetting,vesa resolution: 1680x1050~60Hz
  OpenGL: renderer: AMD RV610 (DRM 2.50.0 / 4.19.0-13-amd64 LLVM 7.0.1)
  v: 3.3 Mesa 18.3.6
Network:
  Device-1: Broadcom Limited BCM4321 802.11a/b/g/n driver: b43-pci-bridge
  Device-2: Marvell 88E8058 PCI-E Gigabit Ethernet driver: sky2
Drives:
  Local Storage: total: 232.89 GiB used: 8.67 GiB (3.7%)
Partition:
  ID-1: / size: 76.62 GiB used: 8.67 GiB (11.3%) fs: ext4 dev: /dev/sda4
  ID-2: /boot/efi size: 499.0 MiB used: 2.0 MiB (0.4%) fs: vfat
  dev: /dev/sda1
  ID-3: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3
Info:
  Processes: 129 Uptime: 6m Memory: 1.94 GiB used: 1.19 GiB (61.3%)
  Shell: bash inxi: 3.0.32


It did not supply any more information, did it? And the desktop is Dtwm, not mwm.

The installation log:
==============================================================
Sparky Advanced Installer log
==============================================================
DATE=2020-11-24
KERNEL=4.19.0-12-amd64
RAMTOTAL=2038548
SWAPTOTAL=4194300
TESTEFI=EFI detected
LIVELOCALE=en_GB.UTF-8
TARGETLOCALE=English
SCRIPTVERSION=SPARKYBACKUPVERSION="20201006"

LIVEISOIMAGE=CUSTOMISO="sparkylinux-5.13-x86_64-minimalgui.iso"
TARGETUSERGROUPS=DEFAULTGROUPS="audio,cdrom,dialout,floppy,video,plugdev,netdev,sudo,users"
TARGETGRUBOPT=NewGrubDefLine="quiet splash"
LIVEMODE=DIST
GUI=yad
TARGETUSER=pelle
TARGETHOSTNAME=StoreMac
SWAP=sda3
TARGETPART=sda4
FSTYPE=ext4
HOMEPART=root
TARGETEFI=sda1
FORMATEFIPART=noformatefi
HFSTYPE=
GRUBLOC=
==============================================================
MOUNTS
==============================================================
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=987512k,nr_inodes=246878,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=203856k,mode=755)
/dev/sr0 on /run/live/medium type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /run/live/rootfs/filesystem.squashfs type squashfs (ro,noatime)
tmpfs on /run/live/overlay type tmpfs (rw,noatime,size=1019276k,mode=755)
overlay on / type overlay (rw,noatime,lowerdir=/run/live/rootfs/filesystem.squashfs/,upperdir=/run/live/overlay/rw,workdir=/run/live/overlay/work)
tmpfs on /usr/lib/live/mount type tmpfs (rw,nosuid,noexec,relatime,size=203856k,mode=755)
/dev/sr0 on /usr/lib/live/mount/medium type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /usr/lib/live/mount/rootfs/filesystem.squashfs type squashfs (ro,noatime)
tmpfs on /usr/lib/live/mount/overlay type tmpfs (rw,noatime,size=1019276k,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15076)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=203852k,mode=700,uid=1000,gid=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda4 on /TARGET type ext4 (rw,relatime)
/dev/sda1 on /TARGET/boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
==============================================================
FDISK listing
==============================================================
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk model: ST3250820AS Q   
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: gpt
Disk identifier: D9B26ED8-0570-44AC-A8ED-068F4F3D823D

Device         Start       End   Sectors  Size Type
/dev/sda1       2048   1026047   1024000  500M EFI System
/dev/sda2    1026048 168798207 167772160   80G Linux root (x86)
/dev/sda3  168798208 177186815   8388608    4G Linux swap
/dev/sda4  177186816 341506047 164319232 78.4G Linux filesystem
/dev/sda5  341506048 488396799 146890752   70G Linux filesystem


Disk /dev/loop0: 868.5 MiB, 910712832 bytes, 1778736 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
==============================================================
live config listing
==============================================================
export LIVE_USERNAME="live"
export LIVE_USER_FULLNAME="Live session user"
export LIVE_HOSTNAME="live"
export LIVE_NOCONFIGS="xinit"
==============================================================
Installation grub-efi ok
UUIDs & FSTAB
==============================================================
INITRAMFS-RESUME:
RESUME=UUID=9defd91e-6e09-4a87-a48d-9ca7c6e9cdb7
GENERATED FSTAB:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

# root /dev/sda4
UUID=c90b1ec6-57f6-4cfe-b62c-209918b9dc4b / ext4 errors=remount-ro,defaults 0 1
# swap /dev/sda3
UUID=9defd91e-6e09-4a87-a48d-9ca7c6e9cdb7 none swap sw 0 0
# cdrom
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
# efi /dev/sda1
UUID=EFI /boot/efi vfat defaults 0 0

Desktop Installer additional log section
==============================================================
PING TEST=Internet connection OK
NEW DESKTOP=CDE
NEW WEB BROWSER=Firefox-ESR
NEWDESKTOP=cde installed ok
==============================================================
NEW DESKTOP INSTALLATION CHOSEN=yes
==============================================================
End of Sparky Advanced Installer Log
==============================================================


pavroo

The fstab UUID's EFI entry shouldn't be like that.
# efi /dev/sda1
UUID=EFI /boot/efi vfat defaults 0 0

Never tried to install it from a DVD, have to make a test.
Nothing is easy as it looks. Danielle Steel

PelleB

QuoteNever tried to install it from a DVD, have to make a test.

The same happened when I installed from an USB-image on a Lenovo.

paxmark1

For that /boot/efi   on /dev/sda1         UUID=BE49-C598         or       UUID=EFI         looks very short. But then I am not familiar with mac and wow 12 years old. 

Maybe try     "sudo blkid /dev/sda1"    to determine the correct  UUID   and paste in,

peace out
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

PelleB

 UUID=BE49-C598 works fine, there is a longer PARTUUID too. Obviously I solved the problem the right way, but what makes the installation program set the false UUID? The age and brand of the computer are irrelevant, I got the same result on a four years old Lenovo.

If I had just wanted to try Sparky, I would have stopped the trial right there and try another distribution in stead. However I wanted to try out CDE without having to compile it myself, so I put some extra effort into it, and I think it was worth it, not only for CDE, but generally.

View the most recent posts on the forum