boot-loader

syslinux creating unexpected partitions on disk image

syslinux creating unexpected partitions on disk image I’m encountering some odd behavior while trying to install a bootloader on a disk image. Here’s the process I followed: $ dd if=/dev/zero of=test.img status=progress bs=200M count=1 1+0 records in 1+0 records out 209715200 bytes (210 MB, 200 MiB) copied, 0.190117 s, 1.1 GB/s $ mkfs.ext2 test.img mke2fs …

Total answers: 1

Debian 12 bricked (won't boot). How to unbrick it?

Debian 12 bricked (won't boot). How to unbrick it? How the brick happened: I have a SSD with a recently-installed UEFI Debian 12 (Kingston SA400S37120G). It was working just perfect; until I swapped temporarily the SSD by a HDD with Debian 11; When I swapped the SSD back, the Debian 12 is nowhere to be …

Total answers: 1

How do I boot from an NVMe disk without bios support?

How do I boot from an NVMe disk without bios support? I have a system which I want to boot from an NVMe disk (via a PCIe riser). The system is UEFI capable, I can boot from a USB disk and install the OS (TrueNAS Scale) to the NVMe disk, and the OS shows up …

Total answers: 1

Uboot boots from SD card, but can't read info from mmc

Uboot boots from SD card, but can't read info from mmc I am working on setting up a bootable SD card for a Rockchip SOQuartz CM4. I am able to build uboot for this target, write it to an SD card along with a rootfs image and kernel, load uboot, and get to a uboot …

Total answers: 1

Two system pools on 1 disk – 1 or 2 /boot directories and WTB grub?

Two system pools on 1 disk – 1 or 2 /boot directories and WTB grub? I have a legacy root-on-zfs install that was once made by installing to an ext4 / with /boot on a separate ext4 partition, and then moving the contents of / to a ZFS pool. I had various *BSD installations on …

Total answers: 1

Why does the Linux kernel have its own bootloader

Why does the Linux kernel have its own bootloader I am trying to work my way through Linux kernel code, and in this file there seems to be a full blown bootloader that bios is expected to run. I was under the impression that generally, grub will be in the mbr and then it will …

Total answers: 1

How to edit grub file after restoring data on a new drive via dd?

How to edit grub file after restoring data on a new drive via dd? I have a dual boot system with ubuntu 20.04 and windows 10. Because of being low on space I am upgrading my ssd to 512 gigs. I have booted into live ubuntu drive, and backed up each partition ubuntu, windows, efi …

Total answers: 1

UEFI HTTP Boot clarity?

UEFI HTTP Boot clarity? I’m interested in learning more about UEFI HTTPBoot and setting it up for my LAN as a netboot option, but the details are notably sparse. The best docs I’ve found are Suse Docs for configuring an HTTP Boot server, but it’s lacking some information I’m wondering about. I use PFSense as …

Total answers: 1

Linux Live USB doesn't boot on GIGABYTE Motherboard

Linux Live USB doesn't boot on GIGABYTE Motherboard I have installed Arch Linux on a USB (Using GPT Partition Table) I have partitioned it to 3 partitions (All of them are from type Linux filesystem: Partition 1 which is /boot I have formatted as FAT32 Partition 2 which is the SWAP and formatted to SWAP …

Total answers: 1

Testing u-boot on qemu arm64 virtual machine

Testing u-boot on qemu arm64 virtual machine I’m trying to run u-boot on qemu arm64 virtual machine. (qemu 6.2.0, u-boot v2022.07) so I compiled u-boot using qemu_arm64_defconfig, it does build u-boot (and not u-boot-spl). I made initrd following U-Boot "Wrong Ramdisk Image Format" with initramfs on BeagleBone black. This is the command I made the …

Total answers: 1

Fedora Live USB in a partition?

Fedora Live USB in a partition? I want to have with me a Fedora Live UEFI boot USB for emergencies, but I do not want to carry two USB drives. So I want a USB drive with two partitions, one for Fedora Live boot, and another for my stuff. I always have had with me …

Total answers: 1

How does the `grub-pc` postinstall script know which device to install to?

How does the `grub-pc` postinstall script know which device to install to? I recently moved my Debian Testing (bookworm) system to a new SSD. My boot device used to be /dev/sdb but is now /dev/nvme0n1. I’ve edited config files such as crypttab and fstab as necessary. Everything works, but just one little annoyance remains: Whenever …

Total answers: 1

Does "TUNED_BOOT_CMDLINE" /etc/tuned/bootcmdline overwrite BOOT_IMAGE of /proc/cmdline?

Does "TUNED_BOOT_CMDLINE" /etc/tuned/bootcmdline overwrite BOOT_IMAGE of /proc/cmdline? TuneD tool provides an option to configure kernel command line via TUNED_BOOT_CMDLINE variable of the /etc/tuned/bootcmdline, which is not done directly but via setting a desired TuneD performance profile. However, there is a direct way to set GRUB command line via BOOT_IMAGE variable within /proc/cmdline, which as I …

Total answers: 1

On live boot USBs, where is the required filesystem label configured?

On live boot USBs, where is the required filesystem label configured? I could probably find this on google if I knew the verbiage to search for. When booting a live USB, the bootloader always (at least for the distros I’ve used) looks for a filesystem with specific label. I’m wanting to know where to find …

Total answers: 1

How does the kernel know it's resuming from hibernation, not booting?

How does the kernel know it's resuming from hibernation, not booting? When a Linux system hibernates and resumes from hibernation, I think that the kernel needs to know that it’s resuming, not booting. Otherwise, the kernel will start the usual boot process, and will not load the swapped data. How does the kernel know it’s …

Total answers: 1

EFI won't load linux kernel in LFS

EFI won't load linux kernel in LFS Lately, I’ve been building an LFS [Linux From Scratch] system for my Raspberry Pi Single Board Computer, and I’m currently on the very last step. I’m attempting to compile Linux 5.15 from the Raspberry Pi official Repository, but every time I install the kernel and reboot, the following …

Total answers: 1