Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] no /dev/disk/by-uuid on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kos
n00b
n00b


Joined: 28 May 2003
Posts: 71
Location: Mountain View, CA

PostPosted: Sat Aug 15, 2020 1:24 am    Post subject: [solved] no /dev/disk/by-uuid on boot Reply with quote

Hi

My system stopped propagating `/dev/disk/by-uuid` on boot, and so root volume can't be found. The only thing I see in the rescue shell is `/dev/disk/by-id`.
`by-uuid` gets created later, when udev starts I guess.

I'm building my kernel using `genkernel --disklabel all`

What am I missing?

thanks
_________________
/KoS


Last edited by kos on Mon Aug 17, 2020 5:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
Whissi
Retired Dev
Retired Dev


Joined: 12 Jan 2011
Posts: 222

PostPosted: Sat Aug 15, 2020 5:46 pm    Post subject: Reply with quote

Which genkernel version are you using? Because you mentioned udev I assume genkernel-4.1.0?

Root will be detected after udev started so this shouldn't be a problem.

Check that only one root kernel command-line argument is present and that this value is correct. Also, please tell us the exact error you are facing.
_________________
Regards,
Whissi
Back to top
View user's profile Send private message
kos
n00b
n00b


Joined: 28 May 2003
Posts: 71
Location: Mountain View, CA

PostPosted: Sat Aug 15, 2020 11:01 pm    Post subject: Reply with quote

I'm using genkernel 4.0.10, latest stable. Should I unmask and try 4.1.0?
By some reason my current version tries to mount root before starting udev I think. Visually there's much fewer logging happening before it tries to mount root, compared to what I was getting when it was working fine.

/proc/cmdline:
Code:

root=/dev/ram0 real_root=/dev/disk/by-uuid/e71d81da-0885-4f7b-a45e-77d4533df813 rootfstype=ext4 real_init=/sbin/init keymap=us root_trim=yes fbcon=font:TER16x32 mitigations=off crashkernel=512M nokaslr BOOT_IMAGE=/boot/vmlinuz-5.8.0-gentoo-r1-x86_64 root=/dev/nvme0n1p2 ro intel_iommu=igfx_off


second `root=/dev/nvme0n1p2` got added because I specified it manually at boot after it fail to find `real_root`.
Will tell the exact error message after next reboot, but it was a standard message about not being able to find `/dev/disk/by-uuid/e71d81da-0885-4f7b-a45e-77d4533df813` with a prompt to specify the alternative or drop to rescue shell
_________________
/KoS
Back to top
View user's profile Send private message
Whissi
Retired Dev
Retired Dev


Joined: 12 Jan 2011
Posts: 222

PostPosted: Sun Aug 16, 2020 12:32 am    Post subject: Reply with quote

4.1.0 was marked stable a few hours ago. Just wait, sync and test in a few hours.
Quote:
By some reason my current version tries to mount root before starting udev I think.
This is confusing me. (E)UDEV is the new feature of genkernel-4.1.0 -- previous versions are using MDEV.
_________________
Regards,
Whissi
Back to top
View user's profile Send private message
kos
n00b
n00b


Joined: 28 May 2003
Posts: 71
Location: Mountain View, CA

PostPosted: Mon Aug 17, 2020 5:02 pm    Post subject: Reply with quote

re mdev vs udev -- I might be mixing them up, I don't know what genkernel is using internally.
But anyways, 4.1.0 solved the issue. Thanks!
_________________
/KoS
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum