The chroot Technique - a Swiss army multitool for Linux systems | Living Systems_

Primary Bootloader (PBL) in Two-Stage Bootloader

Mastering Primary Bootloader (PBL) in Two-Stage Bootloader A bootloader is a piece of software that runs before the main application code and performs

PiEmbSysTech

SystemRescue: أداة إنقاذ النظام لإصلاح وإدارة الأنظمة 🛠️

#SystemRescue #Linux #SystemRecovery #GParted #Gnutux #DataRecovery #SysAdmin

https://is.gd/j8EiqR

SystemRescue: أداة إنقاذ النظام لإصلاح وإدارة الأنظمة 🛠️

#SystemRescue #Linux #SystemRecovery #GParted #Gnutux #DataRecovery #SysAdmin


https://is.gd/j8EiqR

🚀 How to Update GRUB and Regenerate Initramfs from a Manjaro Live USB System 🐧

Sometimes things break—it’s Linux life! 💻 Maybe your Manjaro installation isn’t booting correctly after an update or some system tweaks. Don’t panic! You can easily fix boot-related issues using your Manjaro Live USB stick.

Here’s how you can update your GRUB bootloader and regenerate your initramfs directly from a Manjaro Live USB. Let’s dive in! 🌊

🔧 Step 1: Boot into the Manjaro Live USB & Mount your System

Boot your computer with a Manjaro USB stick. Open a terminal and identify your root partition using:

sudo fdisk -l

Let’s say your root partition is /dev/sda2, then mount it:

sudo mount /dev/sda2 /mnt

If you have separate boot or EFI partitions, mount them too:

  • For a separate /boot partition:
sudo mount /dev/sda1 /mnt/boot
  • For an EFI partition:
sudo mount /dev/sdaX /mnt/boot/efi

(Replace /dev/sdaX with your actual EFI partition.)

🛠️ Step 2: Enter your Installed System with manjaro-chroot

Manjaro makes this super easy:

sudo manjaro-chroot /mnt

Now you’re working inside your actual system environment! 🚪

⚙️ Step 3: Update GRUB Bootloader

Run these commands based on your boot type:

  • For BIOS/Legacy boot:
grub-install /dev/sdaupdate-grub
  • For EFI boot:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheckupdate-grub

🔄 Step 4: Regenerate your Initramfs

Now regenerate initramfs images:

mkinitcpio -P

🎉 Step 5: Finish & Restart!

Exit the chroot environment:

exit

Unmount your partitions:

sudo umount -R /mnt

And reboot your system:

sudo reboot

That’s it! 🎯 Your Manjaro system should now boot up smoothly.

🔗 Useful Resources:

👉 Check out my original conversation with ChatGPT here for more details.

Happy Linux adventures! 🐧✨

#ArchLinux #BIOS #Bootloader #chroot #EFI #GRUB #initramfs #Linux #LinuxCommands #LinuxTutorial #LiveUSB #Manjaro #mkinitcpio #SystemRecovery #Terminal #Troubleshooting

The 6+ hours overnight memtest gave me a PASS on the new memory configuration, so now I am *copying* the files over to a new hard disk (configured as a single-disk RAID1, to be updated with the disk I'm copying *from* afterwards).

Copying 1.5 Tbyte of files does take a while (5 hours and counting so far), but since I don't trust the metadata of the old filesystem, I am not taking the chance to just have Linux RAID mirror it over.

I need to clean up the filesystem, it is heavy with backups of backups of old root filesystem copies which had backups of old machines with backups on them...

#Linux #SystemRecovery

Installation of Windows on a PC with no OS

I recently received a PC recently that had no Operating System installed on it from TechMart Arusha Limited during a night shift and was... I established the theory while comparing the hardware of the two different computers. One computer I had which was running Windows 11 (With all... Guide: Product:

iFixit
How I hacked my Linux system with a Live USB device https://www.both.org/?p=3806 #Fedora, #LiveUSB, #SystemRecovery
How I hacked my Linux system with a Live USB device

I used a Fedora Live USB to hack into my systems, enter recovery mode, and resolve a problem that I’d created on multiple computers.

Both.org
So today I had the horrible experience of having a dnf update of my #Fedora system basically brick my laptop.
Somehow, somewhere, it failed to properly run ldconfig (I need to investigate more still) and left me with a pile of 0-length /usr/lib entries, and also unable to run bash, or ldconfig for that matter.
I tried a few things before booting up the Fedora LiveCD, mounting my disk, and just reinstalling nearly everything with `dnf reinstall` ... https://gist.github.com/bigntallmike/0624858d4eead91d90baebfee4dcb94d
#Linux #SystemRecovery
Steps to reinstall RPMs with zero-length libraries

Steps to reinstall RPMs with zero-length libraries - gist:0624858d4eead91d90baebfee4dcb94d

Gist

Everyone should have a #SystemRecovery plan. Learn how to set up yours on #Linux with an article from #FOSS educator and community leader Morrolinux!

Check out the #LPI blog to master the essentials tools, from #Grub2 to #SystemRescue: https://lpi.org/5jbl

#opensource #IT #ITsecurity #BootRepairDisk #tech