Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Lenovo ideapad 330 with a 1 terabyte hard drive. It is broken up like this
sudo fdisk -l
Code:
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-24Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B2009593-7DD1-42EA-B0E2-5F69273B46D1
Device Start End Sectors Size Type
/dev/sda1 2048 2254847 2252800 1.1G EFI System
/dev/sda2 2254848 20686847 18432000 8.8G Linux swap
/dev/sda3 20686848 266446847 245760000 117.2G Linux filesystem
/dev/sda4 266446848 471246847 204800000 97.7G Linux filesystem
/dev/sda5 471246848 717006847 245760000 117.2G Linux filesystem
/dev/sda6 717006848 921806847 204800000 97.7G Linux filesystem
/dev/sda7 921806848 1167566847 245760000 117.2G Linux filesystem
/dev/sda8 1167566848 1372366847 204800000 97.7G Linux filesystem
/dev/sda9 1372366848 1618126847 245760000 117.2G Linux filesystem
/dev/sda10 1618126848 1822926847 204800000 97.7G Linux filesystem
/dev/sda11 1822926848 1953523711 130596864 62.3G Linux filesystem
I installed Manjaro, then Fedora, then Mint. Each distro uses the 117 gig partition as root, and the 97 gig as home. Don't ask me to explain why the home partitions, 'cause I don't know. I allowed each install to install a bootloader. (considering I wasn't given the option not to, I allowed it)
I tried to modify the /etc/default/grub to add a background image in the Fedora, but had no success.
Question 1) is, which of the bootloaders is in charge of the boot process? I imagine that would be the one to configure.
Question 2) is, where should I store the background image? I put it in /boot while running Fedora, where the EFI partition got mounted, so I assumed that would be /dev/sda1.
When I reboot, I get mint only in the grub menu. And updating grub doesn't help
In Mint
sudo update-grub
Code:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found background: /boot/grub_splash.png
Found background image: /boot/grub_splash.png
Found linux image: /boot/vmlinuz-5.15.0-97-generic
Found initrd image: /boot/initrd.img-5.15.0-97-generic
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
As you can see, the OS prober detected no other OS's.
The output of the efibootmgr command should tell you which is first in boot priority on an EFI system. The default location for a background image file is in /boot/grub. Other locations require the full, complete path to where the image file is. You can put it in the EFI partition but that is a bit odd for a location. You would obviously then need a complete path to that location in /etc/default/grub. The link below discusses background images with Grub.
I tried to modify the /etc/default/grub to add a background image in the Fedora, but had no success.
Posting exactly what you tried and how you did it and the results would have been helpful. Also, why did you select to try it on Fedora?
If update-grub from Mint does not detect your other OS's, does efibootmgr detect them? When you look in the /boot/efi/EFI partition, do you see entries for Manjaro and Fedora?
This output tells you Fedora's bootloader is in charge. Use efibootmgr if you wish the priority changed or the Windows entry removed. Or, go directly into BIOS setup to make such changes.
when i want to make changes to grub I use grub-customizer. i don't know what distros have it in their repositories except the ubuntu ones but you can still get it. it's a GUI app for grub. grub-customizer will save and update everything to do with grub.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.