In other words I want the bootloader/grub on the same drive as the frugal install. The target device supports both legacy and uefi boot.
My hopeless attempt so far. (Actually my first attempt at a frugal install).
Using Gparted. So far I have created a 200MB FAT32 ESP partition and for the remainder, an ext4 partition for the frugal install.
I set the ESP partition flags to boot/efi and performed the frugal installation using a live usb.
Now running MX in f_static_root mode from the nvme ssd, I used disk-manager to ensure both EFI and antiX_Frugal partitions were mounted.
Then I tried reinstalling grub using MX Boot Repair, selecting type ESP and the corresponding ESP partition as the location for grub and antiX_Frugal partition as the root location. After hitting 'apply' I run into an error; specifically: Cannot setup chroot environment, please double-check the root location.
Can anyone please help me get this bootloader up and running?
Code: Select all
Snapshot created on: 20250504_0012
System:
Kernel: 5.10.230-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.230-antix.1-amd64-smp root=UUID=<filter> ro quiet
splash
Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
dm: LightDM v: 1.32.0 Distro: MX-23.6_x64 Libretto May 19 2024 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Desktop Mobo: MAXSUN model: MS-HDZ A10 Quad V2.0 serial: <superuser required>
UEFI: American Megatrends v: 4.6.5 date: 08/31/2022
CPU:
Info: model: AMD A8-7200P Radeon R5 8 Compute Cores 4C+4G bits: 64 type: MT MCP arch: Steamroller
level: v2 built: 2014 process: GF 28nm family: 0x15 (21) model-id: 0x30 (48) stepping: 1
microcode: 0x6003106
Topology: cpus: 1x cores: 4 smt: enabled cache: L1: 256 KiB desc: d-4x16 KiB; i-2x96 KiB
L2: 4 MiB desc: 2x2 MiB
Speed (MHz): avg: 1931 high: 2063 min/max: 1400/2400 boost: enabled scaling:
driver: acpi-cpufreq governor: ondemand cores: 1: 1928 2: 2063 3: 1953 4: 1783 bogomips: 19163
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: reg_file_data_sampling status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT vulnerable
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Kaveri [Radeon R5 Graphics] driver: radeon v: kernel alternate: amdgpu arch: GCN-2
code: Sea Islands process: GF/TSMC 16-28nm built: 2013-17 ports: active: HDMI-A-1 empty: VGA-1
bus-ID: 00:01.0 chip-ID: 1002:130e class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: radeon
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: radeon display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
Monitor-1: HDMI-A-1 mapped: HDMI-0 model: Sony TV serial: <filter> built: 2010 res: 1920x1080
hz: 60 dpi: 30 gamma: 1.2 size: 1600x900mm (62.99x35.43") diag: 1836mm (72.3") ratio: 16:9 modes:
max: 1920x1080 min: 640x480
API: OpenGL v: 4.5 Mesa 22.3.6 renderer: KAVERI ( LLVM 15.0.6 DRM 2.50
5.10.230-antix.1-amd64-smp) direct-render: Yes
Audio:
Device-1: AMD Kaveri HDMI/DP Audio driver: snd_hda_intel v: kernel bus-ID: 00:01.1
chip-ID: 1002:1308 class-ID: 0403
Device-2: AMD FCH Azalia vendor: Conexant Systems driver: snd_hda_intel v: kernel
bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403
API: ALSA v: k5.10.230-antix.1-amd64-smp status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:08b1 class-ID: 0280
IF: wlan0 state: down mac: <filter>
Device-2: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 10ec:8136 class-ID: 0200
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 1011.57 GiB used: 57.49 GiB (5.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: KingSpec model: NE-512 2280 size: 476.94 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: VC3S500H temp: 45.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Netac model: SSD 512GB size: 476.94 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 9A0 scheme: MBR
ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Toshiba model: KIOXIA TransMemory
size: 57.69 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 476.69 GiB size: 468.13 GiB (98.21%) used: 57.49 GiB (12.3%) fs: ext4
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
System Temperatures: cpu: 46.6 C mobo: N/A gpu: radeon temp: 46.0 C
Fan Speeds (RPM): N/A
Repos:
Packages: 2204 pm: dpkg pkgs: 2191 libs: 1102 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 13
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian/ bookworm-updates non-free-firmware non-free contrib main
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/megasync.list
1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_12/ ./
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb https://mxlinux.mirror.liquidtelecom.com/packages/mx/repo/ bookworm main non-free
Info:
Processes: 208 Uptime: 26m wakeups: 1 Memory: 14.6 GiB used: 1.6 GiB (10.9%) Init: SysVinit
v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI