Hello,
I have Debian 9 with 3 partitions installed on /dev/sda
/dev/sda1 (EFI)
/dev/sda2 (EXT4)
/dev/sda3 (EXT4)
and 3 partitions installed on /dev/sdb
/dev/sdb1 (EFI)
/dev/sdb2 (EXT4)
/dev/sdb3 (EXT4)
all partitions are GPT.
Debian 9 gets successfully booted from '/dev/sda' while it fails to boot from '/dev/sdb'.
I've done grub-install /dev/sdb1 and update-grub /dev/sdb1 - and it still fails to boot from second/spare device.
I would appreciate any input that would help me to solve this issue.
Thank you
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Grub Boot Loader on Debian 9
-
- Posts: 19
- Joined: 2017-08-12 12:36
Re: Grub Boot Loader on Debian 9
Normally there should be only one EFI system partition on your whole computer e.g., in /sda1. Then you could start your second Debian system (maybe under / in /sdb2) also from an entry that is placed in /sda1.
On the other hand, if you are insisting on a complete duplicated system (sda and sdb) then you have to find some way in the firmware menu to totally ignore /sda so that it will only "see" /sdb. Unfortunately this way is not standardized and depends on the hardware manufacturer. As far as I know in any case it is necessary to mark only one partition as EFI boot partition.
What do you want to achieve with your configuration?
On the other hand, if you are insisting on a complete duplicated system (sda and sdb) then you have to find some way in the firmware menu to totally ignore /sda so that it will only "see" /sdb. Unfortunately this way is not standardized and depends on the hardware manufacturer. As far as I know in any case it is necessary to mark only one partition as EFI boot partition.
What do you want to achieve with your configuration?
Re: Grub Boot Loader on Debian 9
@Palmstroem
I would like to achieve a successful boot of a second drive if first drive in RAID 1 configuration fails.
I would like to achieve a successful boot of a second drive if first drive in RAID 1 configuration fails.
-
- Posts: 19
- Joined: 2017-08-12 12:36
Re: Grub Boot Loader on Debian 9
See here: https://wiki.debian.org/UEFI#Missing_features.
Bottom line:
Bottom line:
But for software RAID systems there is currently no support for putting the ESP on two separate disks in RAID.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Grub Boot Loader on Debian 9
What kind of RAID setup is this ? Hardware RAID or Linux software RAID (md) ?
There are no Linux RAID partitions on your disks, just regular ext4 partitions.
There are no Linux RAID partitions on your disks, just regular ext4 partitions.
No need for specific support. You can create a separate EFI partition on each disk and manually install GRUB on each of them. Works fine here. Just be careful on grub* package updates.Palmstroem wrote:But for software RAID systems there is currently no support for putting the ESP on two separate disks in RAID.
This is just not true. There can be as many EFI partitions as you need. One per disk, or even several on one disk.Palmstroem wrote:Normally there should be only one EFI system partition on your whole computer