mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#grub

1 Beitrag1 Beteiligte*r0 Beiträge heute

#Grub or not to grub ?

I realised that the new #fedora installation that I did a couple of days ago was using grub. Although not a problem or a big deal. I booted into the #bios changed the #legacy setting to #uEFI Win7. (Yes it's an old #motherboard only giving Legacy, uEFI win7 or uEFI win8 as choices). Rebooted from the USB and ran a clean install again. Now it's with #systemd. Did it change anything? no, but it was fun to do.

Why is the GRUB 2 menu so slow on a UHD display with an Nvidia graphics card? There is a lag of about one second on every action, and the screen drawing is incredibly slow. It also seems to be using raw keyboard scan codes, causing letters to randomly disappear or duplicate. This, combined with the input lag, creates a maddening effect. After every key press, you have to wait for several seconds, maybe hit backspace, and then wait again... Mind-blowing! #GRUB #Nvidia #UHD #bootmenu #linux #joy #lag

Long shot, but I'll #askFedi

I have a machine with a cruddy SATA card, that changes the drive order presented to the BIOS every time. And yes, BIOS not efi.

Only one of the three drives has an os, so it's one in three of it boots after a power cycle.

It will consistently boot from a specified USB stick first though.

Will #grub or #ventoy or ??? search for a drive label or size rather than drive 0 or 1 2 ? If so, id put that on a USB stick

Fortgeführter Thread

When GRUB later launches the kernel the path to the linux kernel image is relative to the /boot _partition_ so you must remove /boot from the path to the kernel IF you have a separate boot partition.

Once you get that right you can also pass a root=UUID=... argument to the kernel (to avoid specifying /dev/sdb2 etc), but this requires you to have initramfs running, which isn't available in LFS, so it doesn't work.

However, you CAN use root=PARTUUID=.. which is available.

2/2

So GRUB has a different way of referencing drives and partitions. It uses a tuple like (hd0,1) instead of /dev/sda1 etc.

This makes it a bit difficult if you try to boot an external disk since the order might be different. But usually the main drive is hd0.

What you can do instead is to reference the partition using a UUID in the grub config:

search --no-floppy --fs-uuid --set=root <UUID>

1/

I f'ing hate windows.

I had a windows machine, moved to linux - but without a hard cut. Yeah.

Now I wanted to add the former windows ssd to the LVM in #linux. Guess.

After rebooting no valid system disk was found. Then I restored the old partition table and my #grub-infested system was replaced by a "windows needs to be repaired" without any hope ...

Well. Thank god I did so many chroots in #Gentoo, I just got everything working again. But the Win-snafu is still around. 😒

Fedora 42 is kinda messing with my mind right now... the GRUB2 entry all become "Fedora Linux 42 (Workstation Edition)" without Kernel version... After some investigation, realized on line 192 in `/usr/lib/kernel/install.d/90-loaderentry.install`, for all kernel entries generated to /boot/loader/entries/, it only uses $PRETTY_NAME from /etc/os-release for $title while GRUB2 loads only the $title... after modifying the title, it finally went normal...

#linux#fedora#grub2

Help! #Boot / #GRUB advice:

I have a relatively new laptop. Recently when rebooting it just went to the GRUB bash-like interface rather than booting.

99 times out of 100 when rebooting the laptop doesn't recognize any USB key is plugged in and goes straight to GRUB recovery. #EFI boot sees the drives EFI files though.

1 in 100 times the whole thing boots just fine from either the drive or USB key.

BIOS hard drive diagnostics says it's fine.

Any ideas how to troubleshoot?

If you use a popular #Linux Distribution, you maybe stumbled into "grub-customizer": a tool that lets you tweak your grub bootloader with a shiny GUI.

Take my advice: DON'T use it. It fumbles around deep in your #grub configuration, swaps, adds and modifies files needed for booting. Don't install it just because you want a nice background picture for grub or so.