many grubs, which one in charge
by notbob11 from LinuxQuestions.org on (#6K20A)
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 filesystemI 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 ...
doneAs you can see, the OS prober detected no other OS's.
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 filesystemI 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 ...
doneAs you can see, the OS prober detected no other OS's.