You are not logged in.

#1 2023-07-29 02:19:04

jack23
Member
Registered: 2023-07-29
Posts: 5

[SOLVED] system sometimes not booting

Hello,

I just setup my arch install yesterday with systemd_boot and for the most part it's great, but sometimes at boot I get this error and get thrown into emergency shell.

The error I get is:

mount: /new_root: unknown filesystem type 'ntfs'.
ERROR: Failed to mount '/dev/nvme0n1p3' on real root

The thing is, my /dev/nvme0n1p3 is not ntfs. this is according to fdisk -l:

Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Sabrent Rocket 4.0 1TB                  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8D9C7AF9-F350-4F85-8967-C145E228DDE3

Device             Start        End    Sectors   Size Type
/dev/nvme0n1p1   2099200    4196351    2097152     1G EFI System
/dev/nvme0n1p2   4196352   71305215   67108864    32G Linux swap
/dev/nvme0n1p3  71305216  218105855  146800640    70G Linux root (x86-64)
/dev/nvme0n1p4 218105856 1951426559 1733320704 826.5G Linux home

I don't get it, it doesn't even fail to boot all the time, it only fails sometimes. Any help understanding this is appreciated!

[SOLVED]

Solved by using "options    root=UUID=<partition UUID> rw" instead of "options    root=/dev/nvme0n1p3 rw".

Last edited by jack23 (2023-08-01 17:44:59)

Offline

#2 2023-07-29 11:22:20

nichts
Member
Registered: 2020-11-14
Posts: 35

Re: [SOLVED] system sometimes not booting

jack23 wrote:

I don't get it, it doesn't even fail to boot all the time, it only fails sometimes. Any help understanding this is appreciated!

Do you have another SSD installed, with ntfs on the 3rd partition, e.g. a windows system drive? Then it may be that it gets occasionally enumerated as nvme0, because it’s faster ready than the other drive. That used to happen quit often back in the SATA-Days. Solution in this case would be to use unique identifiers in bootloader config.


english is not my first language. If you find a mistake in this post, please mention it in your reply – this way I can learn.  TIA

Offline

#3 2023-07-29 21:17:10

jack23
Member
Registered: 2023-07-29
Posts: 5

Re: [SOLVED] system sometimes not booting

yeah I do, also today it did the same thing but with another error:

mount: /new_root: special device /dev/nvme0n1p3 does not exist. 

so here in the config:

options	root=/dev/nvme0n1p3 rw

I should do this instead?

options	root=<partition UUID> rw

Last edited by jack23 (2023-07-29 21:17:52)

Offline

#4 2023-07-30 16:14:36

xerxes_
Member
Registered: 2018-04-29
Posts: 1,061

Re: [SOLVED] system sometimes not booting

Yes and you should change your partition names to UUIDs in /etc/fstab file.

Offline

#5 2023-07-31 09:13:56

jack23
Member
Registered: 2023-07-29
Posts: 5

Re: [SOLVED] system sometimes not booting

yeah thanks for the help!

Offline

#6 2023-08-01 16:28:09

xerxes_
Member
Registered: 2018-04-29
Posts: 1,061

Re: [SOLVED] system sometimes not booting

If you resolved your issue mark this thread as solved by editing the subject of your first post.

Offline

Board footer

Powered by FluxBB