Artix Linux => Installation / Migration / Configuration => Topic started by: jjuel on 03 July 2020, 15:53:09
Title: [SOLVED] Won't boot after Install (runit)
Post by: jjuel on 03 July 2020, 15:53:09
I am new to Artix (have installed Arch plenty before). I followed along with the Installation wiki for the base install. Everything seemed to go well no errors or anything. So then I went to reboot and it doesn't boot at all. I went to boot with the USB again and looked for EFI bootloaders and it detects it and can boot into it from there. So I am not sure if it is a grub issue or what. Any help would be greatly appreciated. This is a Lenovo T480s with EFI if that makes a difference.
Title: Re: Won't boot after Install (runit)
Post by: ndowens on 03 July 2020, 16:42:22
Did it give any error message? If so, what message?
Title: Re: Won't boot after Install (runit)
Post by: jrballesteros05 on 03 July 2020, 16:42:36
Hello everybody. I came here because I have got exactly the same problem. The difference is that I installed from minimal image with s6. But the problem is the same.
I followed the installation step by step and I was very careful. I've read Archwiki and ArtixLinux's wiki and I cannot figure out what's going on.
Title: Re: Won't boot after Install (runit)
Post by: Dudemanguy on 03 July 2020, 17:26:06
Do the install instructions on the wiki need to be corrected? I'm not familiar with installing on efi, so I'm not sure where the --efi-directory argument should point. On the wiki it says:
Quote
NOTE: The BIOS boot partition is necessary on UEFI systems with a GPT-partitioned disk. EFI system partition has to be created and mounted at /mnt/boot or /mnt/efi, and the suggested size is around 512 MiB.
So would it be correct assume that --efi-directory should point to wherever you created the above partition? If so, then "--efi-directory=/boot/efi" is clearly wrong.
Title: Re: Won't boot after Install (runit)
Post by: jjuel on 03 July 2020, 18:14:18
Hello, I could finally solve the problem. I hope it can helps anyone else.
I booted from the USB.
Then I removed all the things from /boot/efi
And I change the way to install the GRUB, I just use this command. Basically I changed the efi-directory from "/boot/efi" to "/boot"
I ran efibootmgr -v again and I got this:
Reboot and I can finally boot without the USB.
This right here is the solution. Thank you so much!
Title: Re: Won't boot after Install (runit)
Post by: Dudemanguy on 03 July 2020, 19:09:09
Alright, I'll change the wiki entry to "/boot" for this part. If anyone else puts their efi directory somewhere else, I trust they know what they're doing.
Title: Re: Won't boot after Install (runit)
Post by: negative on 04 July 2020, 01:29:31
the uefi guide/gpt is suppose to follow the arch instructions. Usually the efi partition is mounted (usually to /boot/efi) and is separate from /boot. when doing the grub install, it should then be:
Title: Re: Won't boot after Install (runit)
Post by: Dudemanguy on 04 July 2020, 01:59:53
The Arch wiki says to mount at /boot (https://wiki.archlinux.org/index.php/EFI_system_partition#Mount_the_partition). It mentions that "/efi is a replacement[6] for the previously popular (and possibly still used by other Linux distributions) ESP mountpoint /boot/efi." So it seems like you should be using /boot or /efi now.
Title: Re: Won't boot after Install (runit)
Post by: ndowens on 04 July 2020, 03:40:22
The Arch wiki says to mount at /boot (https://wiki.archlinux.org/index.php/EFI_system_partition#Mount_the_partition). It mentions that "/efi is a replacement[6] for the previously popular (and possibly still used by other Linux distributions) ESP mountpoint /boot/efi." So it seems like you should be using /boot or /efi now.
I personally just use /boot
Title: Re: Won't boot after Install (runit)
Post by: negative on 04 July 2020, 04:25:29
if you started off with windows to partition the drive, the efi partition will be very small. mounting off in as the /boot will fill it over time with grub stuff and vimlinuxes. but hey its your system.
Title: Re: Won't boot after Install (runit)
Post by: jrballesteros05 on 04 July 2020, 12:58:01
Hi, I think in the 90% of the cases installing grubin /boot/efi should work. There are exceptions like my computer (I got an Assus) that you have to install in different place. I based my answer on this post (https://bbs.archlinux.org/viewtopic.php?pid=981560#p981560) from Archlinux forum. I am not sure about this because I don't have another computer to try.
In my opinion the wiki should use "/boot/efi" and for exceptional cases use "/boot" or you can refer to this post for those cases. If you definitely want to use "/boot" I think the step of creating /boot/efi won't be neccesary:
Title: Re: Won't boot after Install (runit)
Post by: Dudemanguy on 04 July 2020, 15:51:08
You're right, that extra mkdir command isn't needed. Thanks!
The Arch Wiki doesn't suggest /boot/efi anymore so I think it's better to avoid that for the guide. Of course, you are free to setup your system however you like.
Title: Re: [SOLVED] Won't boot after Install (runit)
Post by: negative on 06 July 2020, 05:41:22
maybe, not exactly to /boot/efi... but anywhere not unto as /boot itesef (like on /efi or /esp)