Page 1 of 2
Help with Begin: Running /scripts/local-block ... done [Solved]
Posted: Fri Feb 28, 2025 1:13 pm
by rej
Hi-
I followed the directions on this post:
viewtopic.php?t=56351
and it now boots to initramfs TTY screen.
As an experiment, the instructions corrected it for antiX, but not for MX on the same laptop, different drive.
MX is my daily OS and MX is also the boot controller and this was fixable with switching around the grub-customizer menu selections up until recently.
Is there any way to resolve this?
Thank you.
Code: Select all
rj@mx23rj:~
$ blkid
/dev/sdb2: LABEL="rootantiX23" UUID="60f7affb-33cd-45e3-b947-31ed4c53de1e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="67bd1fbc-02"
/dev/sdb1: LABEL="rootMX23" UUID="ddd44d04-c5cc-4450-bab4-eb007e411e4d" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="67bd1fbc-01"
/dev/sda2: BLOCK_SIZE="512" UUID="01DB89C79820B860" TYPE="ntfs" PARTUUID="67c188b5-02"
/dev/sda3: BLOCK_SIZE="512" UUID="01DB89C79E2CE080" TYPE="ntfs" PARTUUID="67c188b5-03"
/dev/sda1: LABEL="New Volume" BLOCK_SIZE="512" UUID="01DB89C7905AF960" TYPE="ntfs" PARTUUID="67c188b5-01"
rj@mx23rj:~
$
Re: Help with Begin: Running /scripts/local-block ... done
Posted: Fri Feb 28, 2025 2:12 pm
by fehlix
rej wrote: Fri Feb 28, 2025 1:13 pm
Hi-
I followed the directions on this post:
viewtopic.php?t=56351
and it now boots to initramfs TTY screen.
Maybe you reformulate within this thread here the steps you have done, and explain why you think it was needed.
Thanks
Re: Help with Begin: Running /scripts/local-block ... done
Posted: Fri Feb 28, 2025 3:32 pm
by rej
Hi fehlix-
I had been multi-booting MX with antiX and sometimes Windows (which I might remove from this computer in case it is the problem - it is on another disk presently).
Before the block-scripts started showing up, I would just revert-save and make sure none of the other installations were set to look for other OSs and some other commands (as per your instructions):
viewtopic.php?p=498415#p498415
It started running those block scripts about a year ago or longer. If another version was selected in each antiX installation, it worked, then that longer worked. After that I would update-initramfs -u and that worked. Now it does not.
I could use antiX as the boot controller and just list MX first on the menu, but don't know if MX is the problem no matter where it is. It was not involved in the antiX experiment that worked, so it is possible.
Created resume file in /etc/initramfs-tools/conf.d/
sudo update-initramfs -u
Nothing changed after reboot except that now it goes to the initramfs TTY screen.

Re: Help with Begin: Running /scripts/local-block ... done
Posted: Fri Feb 28, 2025 5:19 pm
by fehlix
Based on the information provided I may have a rough idea what you are "talking" about.
But to get a better picture suggest gathering a bit more infos,
so perhaps do this first:
* Do boot with a recent MX Linux Live USB/Media:
* Open the Menu and search for QSI "Quick System Info".
Run the QSI and click and the button "Copy for forum", and post here.
* Next open terminal and show involved partitions with:
and
Post both command and text output as text within code-block tags enclosed:
Code block looks like this with the post editor [
code] A text code block [/code
]
Thanks
Re: Help with Begin: Running /scripts/local-block ... done
Posted: Fri Feb 28, 2025 6:42 pm
by rej
Thank you fehlix -
I think I had mislead you. The initramfs TTY screen appears when I try to boot from a selection of antiX on the menu, but it boots to MX itself with no issues, just the menu selections of the multi-boot.
Should I gather the QSI, lsblk -f and parted --list from MX that is installed directly, without using the Live USB? Or just do it the way you have stated?
Re: Help with Begin: Running /scripts/local-block ... done
Posted: Sat Mar 01, 2025 1:39 am
by rej
Code: Select all
Snapshot created on: 20231026_0109
System:
Kernel: 6.1.0-12-amd64 [6.1.52-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: quiet splash
lang=en_US kbd=us tz=America/New_York
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.1_x64 Libretto October 26 2023 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Laptop System: LENOVO product: 20BWCTO1WW v: ThinkPad T450s serial: <superuser required>
Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 20BWCTO1WW v: SDK0E50512 STD serial: <superuser required>
UEFI-[Legacy]: LENOVO v: JBET48WW (1.13 ) date: 04/20/2015
Battery:
ID-1: BAT0 charge: 11.7 Wh (98.3%) condition: 11.9/23.5 Wh (50.8%) volts: 12.4 min: 11.4
model: LGC 45N1113 type: Li-ion serial: <filter> status: not charging
ID-2: BAT1 charge: 12.8 Wh (98.5%) condition: 13.0/23.5 Wh (55.3%) volts: 12.3 min: 11.4
model: LGC 45N1127 type: Li-ion serial: <filter> status: not charging
CPU:
Info: model: Intel Core i5-5200U bits: 64 type: MT MCP arch: Broadwell gen: core 5 level: v3
note: check built: 2015-18 process: Intel 14nm family: 6 model-id: 0x3D (61) stepping: 4
microcode: 0x1D
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 624 high: 798 min/max: 500/2700 scaling: driver: intel_cpufreq
governor: ondemand cores: 1: 500 2: 500 3: 798 4: 700 bogomips: 17558
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass status: Vulnerable
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: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: i915 v: kernel arch: Gen-8
process: Intel 14nm built: 2014-15 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
bus-ID: 00:02.0 chip-ID: 8086:1616 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 424x239mm (16.69x9.41") s-diag: 487mm (19.16")
Monitor-1: eDP-1 model: AU Optronics 0x303e built: 2012 res: 1600x900 dpi: 132 gamma: 1.2
size: 309x174mm (12.17x6.85") diag: 355mm (14") ratio: 16:9 modes: 1600x900
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 5500 (BDW GT2)
direct-render: Yes
Audio:
Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:160c class-ID: 0403
Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0 class-ID: 0403
API: ALSA v: k6.1.0-12-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: off with: 1: pipewire-pulse status: off 2: wireplumber
status: off tools: pw-cat,pw-cli,wpctl
Server-2: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
Device-1: Intel Ethernet I218-V vendor: Lenovo driver: e1000e v: kernel port: 4080
bus-ID: 00:19.0 chip-ID: 8086:15a3 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Realtek RTL8192EE PCIe Wireless Network Adapter driver: rtl8192ee v: kernel
modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:818b
class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 2-7:4 chip-ID: 0bda:8761
class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
sub-v: 4380 hci-v: 4.0 rev: e3e
Info: acl-mtu: 820:8 sco-mtu: 255:16 link-policy: rswitch hold sniff park
link-mode: peripheral accept
Drives:
Local Storage: total: 357.4 GiB used: 5.37 GiB (1.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G size: 223.57 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 0105 scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Transcend model: TS128GMTS430S size: 119.24 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: U17A
scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: SanDisk model: Cruzer Glide size: 14.59 GiB
block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
Message: No partition data found.
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 32.0 C pch: 36.0 C mobo: N/A
Fan Speeds (RPM): fan-1: 0
Repos:
Packages: pm: dpkg pkgs: 2296 libs: 1184 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
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/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
Info:
Processes: 191 Uptime: 2m wakeups: 2 Memory: 7.46 GiB used: 885.8 MiB (11.6%) 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: BIOS (legacy, CSM, MBR)
Code: Select all
rj@mx23rj:~
$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 4.0 0 100% /live/linux
sda
├─sda1
│ ext4 1.0 rootMX23
│ ddd44d04-c5cc-4450-bab4-eb007e411e4d
└─sda2
ext4 1.0 rootantiX23
60f7affb-33cd-45e3-b947-31ed4c53de1e
sdb
├─sdb1
│ ntfs New Volume
│ 01DB89C7905AF960
├─sdb2
│ ntfs 01DB89C79820B860
└─sdb3
ntfs 01DB89C79E2CE080
sdc
├─sdc1
│ ext4 1.0 Live-usb
│ eb1feb22-295c-4c5e-ab67-0e93f78969a9 8.9G 38% /home/rj/Live-usb-storage
│ /root/Live-usb-storage
│ /live/boot-
│ dev
└─sdc2
vfat FAT32 LIVE-UEFI
0A5A-F5AC
sdd
└─sdd1
vfat FAT32 4GB HP
F395-CDB5 3.7G 0% /media/rj/4GB HP
rj@mx23rj:~
Code: Select all
$ sudo parted --list
[sudo] password for rj:
Model: ATA KINGSTON SA400S3 (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 62.9GB 62.9GB primary ext4 boot
2 62.9GB 89.1GB 26.2GB primary ext4
Model: ATA TS128GMTS430S (scsi)
Disk /dev/sdb: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 36.1GB 36.1GB primary ntfs boot
2 41.3GB 41.9GB 596MB primary ntfs msftres
3 41.9GB 47.2GB 5243MB primary ntfs
Model: SanDisk Cruzer Glide (scsi)
Disk /dev/sdc: 15.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 15.6GB 15.6GB primary ext4 boot
2 15.6GB 15.7GB 51.4MB primary fat32 esp
Model: USB Flash Memory (scsi)
Disk /dev/sdd: 4008MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 4008MB 4007MB primary fat32
rj@mx23rj:~
$
Re: Help with Begin: Running /scripts/local-block ... done
Posted: Sat Mar 01, 2025 3:52 pm
by rej
fehlix-
After removing Windows completely, and updating initramfs, same problem.
Loading the now empty internal auxiliary m.2 with three antiX versions (base, sysVinit, runit-full), and MX as fourth selection, boots perfectly to every one with antiX as the boot controller.
Wiped the main drive with MX as the boot controller of any other selections, started over and it had the same behavior.
I don't mind wiping MX and cloning the configured installations to the main disk, but the grub menu is a little difficult to read. I tried to put a different background on it to make the selections stand out more, but it did not save it.
So my guess is that possibly the MX bootloader app might be interfering with grub-customizer. Can I remove the MX boot application from MX, since I don't use it, or is it baked in?
Re: Help with Begin: Running /scripts/local-block ... done
Posted: Sat Mar 01, 2025 5:38 pm
by fehlix
rej wrote: Sat Mar 01, 2025 3:52 pm
fehlix-
After removing Windows completely, and updating initramfs, same problem.
Loading the now empty internal auxiliary m.2 with three antiX versions (base, sysVinit, runit-full), and MX as fourth selection, boots perfectly to every one with antiX as the boot controller.
Wiped the main drive with MX as the boot controller of any other selections, started over and it had the same behavior.
I don't mind wiping MX and cloning the configured installations to the main disk, but the grub menu is a little difficult to read. I tried to put a different background on it to make the selections stand out more, but it did not save it.
So my guess is that possibly the MX bootloader app might be interfering with grub-customizer. Can I remove the MX boot application from MX, since I don't use it, or is it baked in?
I'm affraid you lost me.
As you have now changed something, maybe post again the partition layout and explain where is installed what.
Next post the grub.cfg of the controlling grub-boot loader. (perhaps mention what partition the grub.cfg is from.
And and also what entry selected within the grub menu would create the initrd show stopper.
Re: Help with Begin: Running /scripts/local-block ... done
Posted: Sun Mar 02, 2025 5:32 am
by rej
If my experimenting has not led me astray, I have discovered that removing Windows 10 operating system from the computer stopped it from booting to the "initramfs" TTY in the added operating systems, but did not stop the "begin:running/scripts/local- block" script on boot. It was not just Win 10 being there, but I had destroyed the MBR and was using grub to get into it for 2 hard drive applications I used in it occasionally. Not a big deal without it.
What I had failed to do, was "update-initramfs -u" within each system (except the MX boot controller), and when that was done, each booted perfectly.
If the Windows 10 theory proves to be erroneous, is there a way to update the initramfs from the TTY screen of that operating system, if it occurs again?
grub.cfg:
Code: Select all
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1024x768
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
insmod gfxmenu
insmod jpeg
insmod png
set theme=($root)/boot/grub/themes/mx_linux/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux_proxy ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry "MX 23.5 Libretto" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ddd44d04-c5cc-4450-bab4-eb007e411e4d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
echo 'Loading Linux 6.1.0-12-amd64 ...'
linux /boot/vmlinuz-6.1.0-12-amd64 root=UUID=ddd44d04-c5cc-4450-bab4-eb007e411e4d ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.1.0-12-amd64
}
### END /etc/grub.d/10_linux_proxy ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober_proxy ###
### END /etc/grub.d/30_os-prober_proxy ###
### BEGIN /etc/grub.d/31_memtest86+_proxy ###
if [ "${grub_platform}" == "pc" ]; then
true
fi
### END /etc/grub.d/31_memtest86+_proxy ###
### BEGIN /etc/grub.d/32_os-prober_proxy ###
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda2)" --class antix --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-11374cad-816f-4687-a2ff-0dbb29e11bd3' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 11374cad-816f-4687-a2ff-0dbb29e11bd3
else
search --no-floppy --fs-uuid --set=root 11374cad-816f-4687-a2ff-0dbb29e11bd3
fi
linux /boot/vmlinuz-6.1.42-antix.1-amd64-smp root=/dev/sda2
initrd /boot/initrd.img-6.1.42-antix.1-amd64-smp
}
### END /etc/grub.d/32_os-prober_proxy ###
### BEGIN /etc/grub.d/33_memtest86+_proxy ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
linux16 /boot/memtest86+x64.bin
}
### END /etc/grub.d/33_memtest86+_proxy ###
### BEGIN /etc/grub.d/35_linux_proxy ###
submenu "Advanced options for MX 23.5 Libretto"{
menuentry "MX 23.5 Libretto, with Linux 6.1.0-12-amd64" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-12-amd64-advanced-ddd44d04-c5cc-4450-bab4-eb007e411e4d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
echo 'Loading Linux 6.1.0-12-amd64 ...'
linux /boot/vmlinuz-6.1.0-12-amd64 root=UUID=ddd44d04-c5cc-4450-bab4-eb007e411e4d ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.1.0-12-amd64
}
menuentry "MX 23.5 Libretto, with Linux 6.1.0-12-amd64 (systemd)" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-12-amd64-init-systemd-ddd44d04-c5cc-4450-bab4-eb007e411e4d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
echo 'Loading Linux 6.1.0-12-amd64 ...'
linux /boot/vmlinuz-6.1.0-12-amd64 root=UUID=ddd44d04-c5cc-4450-bab4-eb007e411e4d ro quiet splash init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.1.0-12-amd64
}
menuentry "MX 23.5 Libretto, with Linux 6.1.0-11-amd64" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-11-amd64-advanced-ddd44d04-c5cc-4450-bab4-eb007e411e4d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
echo 'Loading Linux 6.1.0-11-amd64 ...'
linux /boot/vmlinuz-6.1.0-11-amd64 root=UUID=ddd44d04-c5cc-4450-bab4-eb007e411e4d ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.1.0-11-amd64
}
menuentry "MX 23.5 Libretto, with Linux 6.1.0-11-amd64 (systemd)" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-11-amd64-init-systemd-ddd44d04-c5cc-4450-bab4-eb007e411e4d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
echo 'Loading Linux 6.1.0-11-amd64 ...'
linux /boot/vmlinuz-6.1.0-11-amd64 root=UUID=ddd44d04-c5cc-4450-bab4-eb007e411e4d ro quiet splash init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.1.0-11-amd64
}
menuentry "MX 23.5 Libretto, with Linux 6.1.0-10-amd64" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-10-amd64-advanced-ddd44d04-c5cc-4450-bab4-eb007e411e4d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
echo 'Loading Linux 6.1.0-10-amd64 ...'
linux /boot/vmlinuz-6.1.0-10-amd64 root=UUID=ddd44d04-c5cc-4450-bab4-eb007e411e4d ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.1.0-10-amd64
}
menuentry "MX 23.5 Libretto, with Linux 6.1.0-10-amd64 (systemd)" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-10-amd64-init-systemd-ddd44d04-c5cc-4450-bab4-eb007e411e4d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ddd44d04-c5cc-4450-bab4-eb007e411e4d
else
search --no-floppy --fs-uuid --set=root ddd44d04-c5cc-4450-bab4-eb007e411e4d
fi
echo 'Loading Linux 6.1.0-10-amd64 ...'
linux /boot/vmlinuz-6.1.0-10-amd64 root=UUID=ddd44d04-c5cc-4450-bab4-eb007e411e4d ro quiet splash init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.1.0-10-amd64
}
}
### END /etc/grub.d/35_linux_proxy ###
### BEGIN /etc/grub.d/36_os-prober_proxy ###
submenu "Advanced options for antiX 23-runit bookworm (23-runit) (on /dev/sda2)"{
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.42-antix.1-amd64-smp--11374cad-816f-4687-a2ff-0dbb29e11bd3' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 11374cad-816f-4687-a2ff-0dbb29e11bd3
else
search --no-floppy --fs-uuid --set=root 11374cad-816f-4687-a2ff-0dbb29e11bd3
fi
linux /boot/vmlinuz-6.1.42-antix.1-amd64-smp root=/dev/sda2
initrd /boot/initrd.img-6.1.42-antix.1-amd64-smp
}
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.10.188-antix.1-amd64-smp--11374cad-816f-4687-a2ff-0dbb29e11bd3' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 11374cad-816f-4687-a2ff-0dbb29e11bd3
else
search --no-floppy --fs-uuid --set=root 11374cad-816f-4687-a2ff-0dbb29e11bd3
fi
linux /boot/vmlinuz-5.10.188-antix.1-amd64-smp root=/dev/sda2
initrd /boot/initrd.img-5.10.188-antix.1-amd64-smp
}
}
### END /etc/grub.d/36_os-prober_proxy ###
### BEGIN /etc/grub.d/37_uefi-firmware ###
### END /etc/grub.d/37_uefi-firmware ###
### BEGIN /etc/grub.d/38_fwupd ###
### END /etc/grub.d/38_fwupd ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Re: Help with Begin: Running /scripts/local-block ... done
Posted: Sun Mar 02, 2025 7:58 am
by fehlix
So the issue is only with menu entries running/booting from the first drive, which holds the MX linux entry, right?
OK, suggest this:
* Create an additional swap partition.
You may add the swap partition also to /etc/fstab. Even if not used, kernel "feels" better if there is one.
* add boot parameter "noresume" to the grub menu, add within /etc/default/grub ( or user mx-boot-options)
to this
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
so it looks like
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noresume"
when done regenerate the grub menu with
sudo update-grub
With this parameter, no need to manually run update-intiramfs.
As I'm not a big fan of grub-customizer suggest to get rid of it, b/c it may add further complications
e.g your are using root=/dev/sda2 instead of root=UUID=....
and device names like sda are another potential error source, use UUID instead.
When done post again the partition layout in the form:
lsblk -f
and
sudo parted --list
and
post again
content of /boot/grub/grub.cfg
and
post also /etc/default/grub
thanks