You are not logged in.

#1 2015-07-02 17:06:58

gyosko
Member
Registered: 2015-06-22
Posts: 11

Can't boot Arch (can't mount boot partition)

Hi!
When I try to boot into Arch I get the following:
https://i.imgur.com/evreGzC.jpg (sorry for low quality)

I read here on the forum that this is due to upgrading the kernel and not having the boot partition mounted,so what I did was:

- Start arch livecd
- Mount my root partition at /mnt
- Mount my boot partition at /mnt/boot
- Remove linux,mkinitcpio and linux-firmware
- Install again linux,mkinitcpio and linux-firmware

But the above didn't fix my problem.

How can I solve it?
How can I avoid this problem at my next update/upgrade?

Thanks!

Offline

#2 2015-07-02 17:15:27

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: Can't boot Arch (can't mount boot partition)

gyosko wrote:

Hi!
When I try to boot into Arch I get the following:
https://i.imgur.com/evreGzC.jpg (sorry for low quality)

I read here on the forum that this is due to upgrading the kernel and not having the boot partition mounted,so what I did was:

- Start arch livecd
- Mount my root partition at /mnt
- Mount my boot partition at /mnt/boot
- Remove linux,mkinitcpio and linux-firmware
- Install again linux,mkinitcpio and linux-firmware

But the above didn't fix my problem.

How can I solve it?
How can I avoid this problem at my next update/upgrade?

Thanks!

Check https://wiki.archlinux.org/index.php/Mkinitcpio if it can help. What filesystem are you using and are you dual booting?


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#3 2015-07-02 17:34:06

gyosko
Member
Registered: 2015-06-22
Posts: 11

Re: Can't boot Arch (can't mount boot partition)

dockland wrote:
gyosko wrote:

Hi!
When I try to boot into Arch I get the following:
https://i.imgur.com/evreGzC.jpg (sorry for low quality)

I read here on the forum that this is due to upgrading the kernel and not having the boot partition mounted,so what I did was:

- Start arch livecd
- Mount my root partition at /mnt
- Mount my boot partition at /mnt/boot
- Remove linux,mkinitcpio and linux-firmware
- Install again linux,mkinitcpio and linux-firmware

But the above didn't fix my problem.

How can I solve it?
How can I avoid this problem at my next update/upgrade?

Thanks!

Check https://wiki.archlinux.org/index.php/Mkinitcpio if it can help. What filesystem are you using and are you dual booting?

My root partition is ext4 and yes I'm dual booting(can boot in Win with no problem) using refind.
I don't know if it's standard,or if I messed up something,anyway using Refind I have Refind selection menu first,and when I select arch I get grub loaded(It used to work without problem before).

Last edited by gyosko (2015-07-02 17:34:23)

Offline

#4 2015-07-02 18:27:13

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Can't boot Arch (can't mount boot partition)

Did you miss a step?

gyosko wrote:

- Start arch livecd
- Mount my root partition at /mnt
- Mount my boot partition at /mnt/boot
- Chroot into the /mnt directory
- Remove linux,mkinitcpio and linux-firmware
- Install again linux,mkinitcpio and linux-firmware

Last edited by Slithery (2015-07-02 18:27:41)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2015-07-02 21:02:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can't boot Arch (can't mount boot partition)

Please post the content of /etc/fstab and your boot{loader,manager} configuration files.

Boot the Arch live ISO, mount all your partitions and use `arch-chroot` then post the output of:

# parted -l
lsblk -f

If you have a UEFI system, also post the output of:

# efibootmgr -v

Jin, Jîyan, Azadî

Offline

#6 2015-07-02 22:31:29

gyosko
Member
Registered: 2015-06-22
Posts: 11

Re: Can't boot Arch (can't mount boot partition)

slithery wrote:

Did you miss a step?

gyosko wrote:

- Start arch livecd
- Mount my root partition at /mnt
- Mount my boot partition at /mnt/boot
- Chroot into the /mnt directory
- Remove linux,mkinitcpio and linux-firmware
- Install again linux,mkinitcpio and linux-firmware

Yes,I didn't write it,but I chroot'ed in /mnt

Head_on_a_Stick wrote:

Please post the content of /etc/fstab and your boot{loader,manager} configuration files.

Boot the Arch live ISO, mount all your partitions and use `arch-chroot` then post the output of:

# parted -l
lsblk -f

If you have a UEFI system, also post the output of:

# efibootmgr -v

Here we are:

parted -l
Model: ATA WDC WD10SPCX-24H (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  1050MB  1049MB  ntfs         Basic data partition          hidden, diag
 2      1050MB  1322MB  273MB   fat32        EFI system partition          boot, hidden, esp
 3      1322MB  2371MB  1049MB  fat32        Basic data partition          hidden
 4      2371MB  2505MB  134MB                Microsoft reserved partition  msftres
 5      2505MB  537GB   534GB   ntfs         Basic data partition          msftdata
 6      537GB   642GB   105GB   ext4         Basic data partition          msftdata
 7      642GB   983GB   341GB   ntfs         Basic data partition          msftdata
 8      983GB   1000GB  17.0GB  ntfs         Basic data partition          hidden, diag


Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sdb: 8128MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  8128MB  8126MB  primary  fat32        boot, lba
lsbk -f
NAME            FSTYPE LABEL UUID MOUNTPOINT
sda                               
├─sda1                            
├─sda2                            /boot
├─sda3                            
├─sda4                            
├─sda5                            
├─sda6                            /
├─sda7                            /home/gyosko/tmp
└─sda8                            
sdb                               
└─sdb1                            
loop0                             
loop1                             
└─arch_airootfs                   /etc/resolv.conf
loop2                             
└─arch_airootfs                   /etc/resolv.conf
efibootmgr -v
BootCurrent: 0007
Timeout: 0 seconds
BootOrder: 0007,0003,0006,2001,0002,2003,2002
Boot0000* EFI USB Device (KingstonDataTraveler 2.0)	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x16471421,0x800,0xf23000)RC
Boot0002* Lenovo Recovery System	HD(3,GPT,34951134-e1e6-412f-a498-b7b181771639,0x276800,0x1f4000)/File(\EFI\Microsoft\Boot\LrsBootMgr.efi)RC
Boot0003* Windows Boot Manager	HD(2,GPT,e27af3d3-0d7c-4cc0-b314-8a758c98bdf7,0x1f4800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0004* EFI Network 0 for IPv4 (F8-A9-63-4E-CC-7C) 	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(f8a9634ecc7c,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
Boot0005* EFI Network 0 for IPv6 (F8-A9-63-4E-CC-7C) 	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(f8a9634ecc7c,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0006* arch	HD(2,GPT,e27af3d3-0d7c-4cc0-b314-8a758c98bdf7,0x1f4800,0x82000)/File(\EFI\arch\grubx64.efi)
Boot0007* rEFInd Boot Manager	HD(2,GPT,e27af3d3-0d7c-4cc0-b314-8a758c98bdf7,0x1f4800,0x82000)/File(\EFI\refind\refind_x64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC
cat /etc/fstab
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda6
UUID=f7bfda11-e23f-42c8-b6ff-17b81ae36fe5	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda2 LABEL=SYSTEM_DRV
UUID=3C8C-7EF5      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro	0 2
cat /boot/refind/refind.conf
"Boot with standard options"        "ro root=UUID=f7bfda11-e23f-42c8-b6ff-17b81ae36fe5   "
"Boot to single-user mode"          "ro root=UUID=f7bfda11-e23f-42c8-b6ff-17b81ae36fe5   single"
"Boot with minimal options"         "ro root=UUID=f7bfda11-e23f-42c8-b6ff-17b81ae36fe5"

Offline

#7 2015-07-03 09:59:10

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can't boot Arch (can't mount boot partition)

I'm not familiar with rEFInd so I can't tell if that set up is correct.

Can you boot if you make a custom NVRAM entry:

# efibootmgr -d /dev/sda -p 2 -c -L "Custom Arch NVRAM entry" -l /vmlinuz-linux -u "root=/dev/sda6 rw initrd=/initramfs-linux.img"

You may have to downgrade your version of efibootmgr to get this command to work.
https://bbs.archlinux.org/viewtopic.php … 6#p1541346


Jin, Jîyan, Azadî

Offline

#8 2015-07-03 11:49:04

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: Can't boot Arch (can't mount boot partition)

Hah. Looks very similar to my issue here.
It also says it doesn't know what vfat fs is.


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#9 2015-07-04 12:44:00

gyosko
Member
Registered: 2015-06-22
Posts: 11

Re: Can't boot Arch (can't mount boot partition)

Head_on_a_Stick wrote:

I'm not familiar with rEFInd so I can't tell if that set up is correct.

Can you boot if you make a custom NVRAM entry:

# efibootmgr -d /dev/sda -p 2 -c -L "Custom Arch NVRAM entry" -l /vmlinuz-linux -u "root=/dev/sda6 rw initrd=/initramfs-linux.img"

You may have to downgrade your version of efibootmgr to get this command to work.
https://bbs.archlinux.org/viewtopic.php … 6#p1541346

I did this,but I got the same error as before.

Offline

#10 2015-07-04 14:54:14

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can't boot Arch (can't mount boot partition)

gyosko wrote:
 2      1050MB  1322MB  273MB   fat32        EFI system partition          boot, hidden, esp

Try removing the "hidden" flag from the ESP.

# parted /dev/sda set 2 hidden off

Jin, Jîyan, Azadî

Offline

#11 2016-04-15 14:32:46

abhijitt
Member
Registered: 2016-04-15
Posts: 6

Re: Can't boot Arch (can't mount boot partition)

Not sure if this counts as a necrobump, but were you able to fix this issue @gyosko ?

I got the exact same issue while upgrading to kernel 4.5 from 4.4.5 today.

Offline

#12 2016-04-15 15:21:47

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Can't boot Arch (can't mount boot partition)

It does. Please open a new topic about it, and link back to this one if you feel it is relevant.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB