You are not logged in.

#1 2017-05-27 20:25:06

needles6
Member
Registered: 2017-05-26
Posts: 14

Arch doesn't boot after installation

I finished installing Arch for the first time following the Installation guide. After rebooting and removing the usb image, the computer said to insert a boot drive.(paraphrased, I forget exactly what it said).

Here is the output of fdisk -l: https://ptpb.pw/BpxI
The output of parted print: https://ptpb.pw/hdVT
The output of ls /sys/firmware/efi/efivars: https://ptpb.pw/BRlK

Offline

#2 2017-05-27 20:28:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Arch doesn't boot after installation

Have you specified the correct boot order in the firmware? How are you managing/loading the boot process?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-05-27 21:06:37

needles6
Member
Registered: 2017-05-26
Posts: 14

Re: Arch doesn't boot after installation

I have the HD/SSD first in the boot order.  I also have it set to UEFI Boot

Offline

#4 2017-05-28 01:30:56

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: Arch doesn't boot after installation

Which bootloader are using? You will need to perform extra steps regardless of which bootloader you chose. https://wiki.archlinux.org/index.php/Ca … ot_loaders. What are the contents of your ESP partition? Assuming the partition is mounted to /boot (it should be AFAIK), what does

ls /boot

return?


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#5 2017-05-28 12:52:17

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

Re: Arch doesn't boot after installation

hey !
Have you used systemd ?
Have you created a file on /boot/loader/entries/arch.conf ?


Kind Regards,
jIrenge

Offline

#6 2017-05-28 19:34:38

needles6
Member
Registered: 2017-05-26
Posts: 14

Re: Arch doesn't boot after installation

JohnBobSmith wrote:

Which bootloader are using? You will need to perform extra steps regardless of which bootloader you chose. https://wiki.archlinux.org/index.php/Ca … ot_loaders. What are the contents of your ESP partition? Assuming the partition is mounted to /boot (it should be AFAIK), what does

ls /boot

return?

I'm using GRUB, following these instructions: https://wiki.archlinux.org/index.php/GRUB#UEFI_systems
The output of

ls /boot

is:

grub memtest86+ syslinux
ireng wrote:

hey !
Have you used systemd ?
Have you created a file on /boot/loader/entries/arch.conf ?

I haven't done either of those

Last edited by needles6 (2017-05-28 20:15:42)

Offline

#7 2017-05-28 19:40:06

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Arch doesn't boot after installation

JohnBobSmith wrote:

What are the contents of your ESP partition? Assuming the partition is mounted to /boot (it should be AFAIK), what does

ls /boot

return?

You quoted this but appeared to have missed supplying the requested output.
If you are using the boot media and mounting all the systems filesystems under /mnt it would be the contents of /mnt/boot assuming you are using the ESP as /boot of the system.

Offline

#8 2017-05-28 19:53:59

needles6
Member
Registered: 2017-05-26
Posts: 14

Re: Arch doesn't boot after installation

loqs wrote:
JohnBobSmith wrote:

What are the contents of your ESP partition? Assuming the partition is mounted to /boot (it should be AFAIK), what does

ls /boot

return?

You quoted this but appeared to have missed supplying the requested output.
If you are using the boot media and mounting all the systems filesystems under /mnt it would be the contents of /mnt/boot assuming you are using the ESP as /boot of the system.

On my screen it shows that I did write it, but just to be sure, here is the output:
https://ptpb.pw/GI0k

Offline

#9 2017-05-28 20:00:53

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Arch doesn't boot after installation

Ah I thought that was the output of 'efibootmgr -v'
So the kernel and initrd's are not installed on the ESP.  Is the system supposed to be mounting the ESP at /boot?

Offline

#10 2017-05-28 20:20:54

needles6
Member
Registered: 2017-05-26
Posts: 14

Re: Arch doesn't boot after installation

loqs wrote:

Ah I thought that was the output of 'efibootmgr -v'
So the kernel and initrd's are not installed on the ESP.  Is the system supposed to be mounting the ESP at /boot?

I edited the original post for clarity. The ouptut of efibootmgr -v is: https://ptpb.pw/NnEl


As for why it says debian, I had previously attempted to install debian, but ran into the same error. I was on the fence on whether to install debian and arch, so I just went ahead and started over with arch so I could have more controll over the installation process.

I installed GRUB on /boot, and mounted sda1, the ESP, to /boot

Offline

#11 2017-05-28 20:31:44

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Arch doesn't boot after installation

There seem to be two different issues with the system. From the output of `efibootmgr -v`

BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0005,0006,0007
Boot0000* debian	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0001* UEFI: IP4 Realtek PCIe FE Family Controller	PciRoot(0x0)/Pci(0x2,0x3)/Pci(0x0,0x0)/MAC(f0761c4cbc08,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0002* UEFI: IP6 Realtek PCIe FE Family Controller	PciRoot(0x0)/Pci(0x2,0x3)/Pci(0x0,0x0)/MAC(f0761c4cbc08,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0003* grub	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0004* UEFI: PNY USB 2.0 FD 1100	PciRoot(0x0)/Pci(0x10,0x0)/USB(3,0)/HD(1,MBR,0x5d5f03,0x800,0xf17800)..BO
Boot0005* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0006* UEFI:USB Device	BBS(130,,0x0)
Boot0007* UEFI:Network Device	BBS(131,,0x0)

The bootorder does not include 03 which I take it is the arch install of grub
The other issue is that /boot (the ESP) does not appear to have been mounted when the linux package was installed as the kernel and initrd's are not shown in

grub memtest86+ syslinux

Edit:
Grammar seem not some
Spelling shown not show
Edit2:
To attempt to fix the boot order use efibootmgr ( see man page https://linux.die.net/man/8/efibootmgr for parameters )
To fix the missing files from the linux package use the live media ( ensure both the root and boot filesystems are mounted ) then chroot in and reinstall the linux package.

Last edited by loqs (2017-05-28 21:10:49)

Offline

#12 2017-05-28 21:16:53

needles6
Member
Registered: 2017-05-26
Posts: 14

Re: Arch doesn't boot after installation

I used

efibootmgr -o 0003,0004

to change the boot order. I typed in efibootmgr -v to confirm it, and rebooted. It still booted to the usb image, and when I typed efibootmgr -v again, It had reverted to the previous boot order. Is there a way to make the change permanent?

Offline

#13 2017-05-28 21:33:18

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Arch doesn't boot after installation

Making it permanent depends on the firmware allowing that see http://www.rodsbooks.com/refind/installing.html#naming ( note in the referenced web page arch in italic means x32 or x64)
Edit:
For example on x64 the default fallback path is EFI/Boot/bootx64.efi copying grub.efi to that location and adding a new entry using efibootmgr may be accepted by the firmware.

Last edited by loqs (2017-05-28 21:43:05)

Offline

#14 2017-05-31 13:06:17

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: Arch doesn't boot after installation

Sorry for the late reply this wasn't showing up as having new posts...
My grub folder:

jbs @ dmb-gaming-laptop -> pwd
/boot
jbs @ dmb-gaming-laptop -> ls
EFI  grub  initramfs-linux-fallback.img  initramfs-linux.img  vmlinuz-linux
jbs @ dmb-gaming-laptop -> 

Did you remember to grub-install as per the wiki? Without your kernel images (vmlinuz-*) and initramfs-*.img no wonder you cant boot. Try these steps again and post back the result. https://wiki.archlinux.org/index.php/GRUB#Installation


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

Board footer

Powered by FluxBB