GRUB Fail (YunoHost Newbie)

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: Most Recent
How are you able to access your server: Other(?)
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: N/A

Describe your issue

Hi,

So, I’m new to YunoHost but not new to servers. I’ve been using a MiniPC with Debian 13, XRDP, Nextcloud, Jellyfin, DNLA and a NAS (a simple Samba one) but I’ve had problems not least when my Nextcloud installation collapsed following an upgrade. The server is still working albeit sans Nextcloud.

I have another PC, an older one (Lenovo H500s, 8Gb) with a boot drive; it varies because I’m ex-IT and have a lot of old kit around, including drives. I purchased a PCI-E to SATA adapter and I have three additional 2Tb drives hanging off that.

I’ve been trying various ideas such as Windows 10 Pro, Windows Server 2022, TrueNAS and now YunoHost… none are perfect solutions, and both TrueNAS & YunoHost have given me problems installing GRUB (although YunoHost did work when the 3 larger drives weren’t installed).

I haven’t thrown in the towel (“given up”) yet but I have some questions:

  • How do I avoid or deal with the GRUB failure (‘executing grub-install’ failed) at the end of the install… it’s a long old install and having this happen right at the end is a P-I-T-A because, if I want to try a new configuration, I have to go through the whole thing again? Also, can YunoHost work with RAIDed drives?

Any advice appreciated :slight_smile:

James

Share relevant logs or error messages

None as yet!

I do have RAID drives, and a few of them are encrypted.
On my personal computer I installed Limine instead on GRUB, it may work here (even if there is no Limine in Debian, my Linux Mint boots perfectly with it).

I currently have 3 x 2Tb spindle drives, might buy another, and I’d probably want RAID 5 especially since they’re older (at least in the short term). Might replace them with SSDs over time.

So this Limine thing is an option on the install process or you install Linux then install YunoHost on it?

James

Limine is a new boot loader. Check it.

For your issue with GRUB, since your computer is quite old, have you tried different things on your BIOS setup ?
I guess the computer did not have UEFI, so no EFI partition on the boot drive.
Have you tried to check the disks (gdisk) ? With Windows 10 (and maybe Windows Server 2022), EFI partition are required. But with a non UEFI BIOS, you should have a MBR and not a GPT.

Thanks for that… I still don’t get how to install Limine. Is it done post YunoHost install or does the install need to be altered. Although I broadly understand what it is (a way to compile things), I’ve never done a “make” in my life and, at 68 years old, I’m reluctant to start doing so now.

I’ve disabled fast boot, CSM (I understand it’s part of UEFI) and Secure Boot. The disk I’m using (Crucial Bx500 240Gb SSD) is fine, I’ve changed it to GPT but, although I disabled Secure Boot the YunoHost installation still reports the system as being UEFI so I elected not to force it and see what happens.

James

OK, so I changed the SATA port (from the PCI-E 4 port SATA to the onboard) and it worked swimmingly although oddly not picking up any IP so I’ll look into that .

Thanks for the replies :slight_smile:

James

1 Like