Page 1 of 1

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.

Image

Image

Image

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:

Code: Select all

lsblk -f
and

Code: Select all

sudo parted --list
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 ###
Image

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

Re: Help with Begin: Running /scripts/local-block ... done

Posted: Sun Mar 02, 2025 5:35 pm
by rej
Thank you fehlix-

Hope this is correct.

(Can't edit grub entries without grub-customizer - tried many times from MX posts, arch and other different sources. Failed miserably...)

Wiped everything from the second drive - only swap, MX, antiX, and antiX on the main drive and nothing else on the laptop. First antiX partition boots to "begin:running/scripts/local- block" however, eventually opens. The second anitX boots normally. There was no change after the edits.

Code: Select all

rj@mx23rj:~
$ lsblk -f
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                         
├─sda1
│    swap   1     swap  a5990d12-4389-44a1-9485-837f5d05da55                
├─sda2
│    ext4   1.0   rootMX23
│                       90cbb371-5fdf-41c5-b51a-55c3223db06c   40.9G    24% /
├─sda3
│    ext4   1.0   rootantiX23
│                       9bf5959d-d29b-4647-96dc-42d9c895da19                
└─sda4
     ext4   1.0   rootantiX23
                        5743a750-cf94-43dd-89b4-a654883a62bb                
sdb                                               

Code: Select all

rj@mx23rj:~
$ 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  4195MB  4194MB  primary  linux-swap(v1)  swap
 2      4195MB  67.1GB  62.9GB  primary  ext4            boot
 3      67.1GB  98.6GB  31.5GB  primary  ext4
 4      98.6GB  124GB   25.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


rj@mx23rj:~
$ 

Code: Select all

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="0"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="$(unset PRETTY_NAME; (. /etc/lsb-release; echo ${PRETTY_NAME:?}) 2>/dev/null || echo Debian)"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noresume"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="1024x768"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

#run dpkg-reconfigure grub-pc to allow toggle of os-prober
GRUB_DISABLE_OS_PROBER="false"

GRUB_DISABLE_OS_PROBER="false"
if [ -e /etc/default/grub.mx-defaults ]; then
     .  /etc/default/grub.mx-defaults
fi
GRUB_DISABLE_OS_PROBER="false"

GRUB_THEME="/boot/grub/themes/mx_linux/theme.txt"

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,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  90cbb371-5fdf-41c5-b51a-55c3223db06c
else
  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
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,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  90cbb371-5fdf-41c5-b51a-55c3223db06c
else
  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
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-90cbb371-5fdf-41c5-b51a-55c3223db06c' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	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  90cbb371-5fdf-41c5-b51a-55c3223db06c
	else
	  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
	fi
	echo	'Loading Linux 6.1.0-12-amd64 ...'
	linux	/boot/vmlinuz-6.1.0-12-amd64 root=UUID=90cbb371-5fdf-41c5-b51a-55c3223db06c ro  quiet splash noresume
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-6.1.0-12-amd64
}
### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda3)" --class antix --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-9bf5959d-d29b-4647-96dc-42d9c895da19' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  9bf5959d-d29b-4647-96dc-42d9c895da19
	else
	  search --no-floppy --fs-uuid --set=root 9bf5959d-d29b-4647-96dc-42d9c895da19
	fi
	linux /boot/vmlinuz-6.1.42-antix.1-amd64-smp root=/dev/sda3
	initrd /boot/initrd.img-6.1.42-antix.1-amd64-smp
}
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda4)" --class antix --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-5743a750-cf94-43dd-89b4-a654883a62bb' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  5743a750-cf94-43dd-89b4-a654883a62bb
	else
	  search --no-floppy --fs-uuid --set=root 5743a750-cf94-43dd-89b4-a654883a62bb
	fi
	linux /boot/vmlinuz-6.1.42-antix.1-amd64-smp root=/dev/sda4
	initrd /boot/initrd.img-6.1.42-antix.1-amd64-smp
}
### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/31_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
true
menuentry "Memory test (memtest86+)" {
	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  90cbb371-5fdf-41c5-b51a-55c3223db06c
	else
	  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
	fi
	linux16	/boot/memtest86+x64.bin
}
fi
### END /etc/grub.d/31_memtest86+ ###

### BEGIN /etc/grub.d/34_os-prober_proxy ###
submenu "Advanced options for antiX 23-runit bookworm (23-runit) (on /dev/sda4)"{
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.42-antix.1-amd64-smp--5743a750-cf94-43dd-89b4-a654883a62bb' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  5743a750-cf94-43dd-89b4-a654883a62bb
		else
		  search --no-floppy --fs-uuid --set=root 5743a750-cf94-43dd-89b4-a654883a62bb
		fi
		linux /boot/vmlinuz-6.1.42-antix.1-amd64-smp root=/dev/sda4
		initrd /boot/initrd.img-6.1.42-antix.1-amd64-smp
}
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.10.188-antix.1-amd64-smp--5743a750-cf94-43dd-89b4-a654883a62bb' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  5743a750-cf94-43dd-89b4-a654883a62bb
		else
		  search --no-floppy --fs-uuid --set=root 5743a750-cf94-43dd-89b4-a654883a62bb
		fi
		linux /boot/vmlinuz-5.10.188-antix.1-amd64-smp root=/dev/sda4
		initrd /boot/initrd.img-5.10.188-antix.1-amd64-smp
}
}
submenu "Advanced options for antiX 23-runit bookworm (23-runit) (on /dev/sda3)"{
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda3)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.42-antix.1-amd64-smp--9bf5959d-d29b-4647-96dc-42d9c895da19' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  9bf5959d-d29b-4647-96dc-42d9c895da19
		else
		  search --no-floppy --fs-uuid --set=root 9bf5959d-d29b-4647-96dc-42d9c895da19
		fi
		linux /boot/vmlinuz-6.1.42-antix.1-amd64-smp root=/dev/sda3
		initrd /boot/initrd.img-6.1.42-antix.1-amd64-smp
}
menuentry "antiX 23-runit bookworm (23-runit) (on /dev/sda3)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.10.188-antix.1-amd64-smp--9bf5959d-d29b-4647-96dc-42d9c895da19' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  9bf5959d-d29b-4647-96dc-42d9c895da19
		else
		  search --no-floppy --fs-uuid --set=root 9bf5959d-d29b-4647-96dc-42d9c895da19
		fi
		linux /boot/vmlinuz-5.10.188-antix.1-amd64-smp root=/dev/sda3
		initrd /boot/initrd.img-5.10.188-antix.1-amd64-smp
}
}
### END /etc/grub.d/34_os-prober_proxy ###

### BEGIN /etc/grub.d/35_linux_xen ###

### END /etc/grub.d/35_linux_xen ###

### BEGIN /etc/grub.d/36_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-90cbb371-5fdf-41c5-b51a-55c3223db06c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  90cbb371-5fdf-41c5-b51a-55c3223db06c
		else
		  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
		fi
		echo	'Loading Linux 6.1.0-12-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-12-amd64 root=UUID=90cbb371-5fdf-41c5-b51a-55c3223db06c ro  quiet splash noresume
		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-90cbb371-5fdf-41c5-b51a-55c3223db06c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  90cbb371-5fdf-41c5-b51a-55c3223db06c
		else
		  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
		fi
		echo	'Loading Linux 6.1.0-12-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-12-amd64 root=UUID=90cbb371-5fdf-41c5-b51a-55c3223db06c ro  quiet splash noresume 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-90cbb371-5fdf-41c5-b51a-55c3223db06c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  90cbb371-5fdf-41c5-b51a-55c3223db06c
		else
		  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
		fi
		echo	'Loading Linux 6.1.0-11-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-11-amd64 root=UUID=90cbb371-5fdf-41c5-b51a-55c3223db06c ro  quiet splash noresume
		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-90cbb371-5fdf-41c5-b51a-55c3223db06c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  90cbb371-5fdf-41c5-b51a-55c3223db06c
		else
		  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
		fi
		echo	'Loading Linux 6.1.0-11-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-11-amd64 root=UUID=90cbb371-5fdf-41c5-b51a-55c3223db06c ro  quiet splash noresume 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-90cbb371-5fdf-41c5-b51a-55c3223db06c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  90cbb371-5fdf-41c5-b51a-55c3223db06c
		else
		  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
		fi
		echo	'Loading Linux 6.1.0-10-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-10-amd64 root=UUID=90cbb371-5fdf-41c5-b51a-55c3223db06c ro  quiet splash noresume
		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-90cbb371-5fdf-41c5-b51a-55c3223db06c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		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  90cbb371-5fdf-41c5-b51a-55c3223db06c
		else
		  search --no-floppy --fs-uuid --set=root 90cbb371-5fdf-41c5-b51a-55c3223db06c
		fi
		echo	'Loading Linux 6.1.0-10-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-10-amd64 root=UUID=90cbb371-5fdf-41c5-b51a-55c3223db06c ro  quiet splash noresume init=/lib/systemd/systemd
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-10-amd64
}
}
### END /etc/grub.d/36_linux_proxy ###

### BEGIN /etc/grub.d/37_os-prober_proxy ###







### END /etc/grub.d/37_os-prober_proxy ###

### BEGIN /etc/grub.d/38_uefi-firmware ###
### END /etc/grub.d/38_uefi-firmware ###

### BEGIN /etc/grub.d/39_fwupd ###
### END /etc/grub.d/39_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 ###

### BEGIN /etc/grub.d/42_os-prober_proxy ###
### END /etc/grub.d/42_os-prober_proxy ###


Re: Help with Begin: Running /scripts/local-block ... done

Posted: Sun Mar 02, 2025 7:44 pm
by fehlix
OK, boot to the "MX Linux" generated GRUB menu,
On the antiX menu entry press "E"-key for "Edit" and navigate to end of the line starting with "linux"
and add to the end of that line "noresume" space separated.

Press F10 ore Ctrlx+x to boot.

Now, when it boots to antiX, hopefully with no the intrd issue:
edit /etc/default/grub

and add to the GRUB_CMDLINE_LINUX_DEFAULT line also the parameter noresume.
so it may look like this or similare:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet selinux=0 noresume"
also make sure sure you kept this line "#"-commented

Code: Select all

#GRUB_DISABLE_LINUX_UUID=true
Now, back on commadn line do generated antiX grub menu with

sudo update-grub.

Reboot again to the GRUB menu and do the same for the 2nd antiX install.

When done, reboot into "MX Linux" and run here also

sudo update-grub

On all three MX and both antix, to add a swap line to the fstab:

edit /etc/fstab
and add these lines:

Code: Select all

# Swap partition on /dev/sda1
UUID=a5990d12-4389-44a1-9485-837f5d05da55  none  swap  defaults  0  0
Good luck.

Re: Help with Begin: Running /scripts/local-block ... done

Posted: Mon Mar 03, 2025 6:27 am
by rej
fehlix-

Thank you for all the time and effort you put in to this - I appreciate it!

Re: Help with Begin: Running /scripts/local-block ... done

Posted: Mon Mar 03, 2025 5:12 pm
by fehlix
rej wrote: Mon Mar 03, 2025 6:27 am fehlix-

Thank you for all the time and effort you put in to this - I appreciate it!
If the main issue of this thread has been resolved, please consider marking it as such. To mark a thread as [Solved], click the checkmark button ✅ located to the right of the post that provides a solution to the main topic of the thread.

Marking the thread as solved helps other users with similar issues easily find the solution.

If you have any other issues related to the main topic that haven't been addressed, please feel free to state them here.

Thank you!

Re: Help with Begin: Running /scripts/local-block ... done

Posted: Mon Mar 03, 2025 11:58 pm
by rej
fehlix -

Yes, I will mark it solved and re-visit if I find other issues.

Thank you again for your help!