You are not logged in.

#1 2022-01-30 23:10:05

DonComedia
Member
Registered: 2022-01-30
Posts: 2

Waiting 30 seconds for device /dev/disk/by-label (on installed system)

Hi, I'm new to the arch comunity, I tried installing arch from another distro, did the partitions, the filesystems (GPT/BIOS), extracted the fsf of the iso inside / (already mounted / and /boot), chroot into it with the essencial locations binded, installed the kernel with pacman, did the `grub-install` and `grub-mkconfig`, some os configuration (fstab, users), but this error appears, as fas as I've seen is common with USB sticks, but in my case is for an already installed system, grub appears to work fine (but I suspect the issue is inside /boot/grub/grub.cfg) and the kernel appears to boot. Here is some info:

The important of /boot/grub/grub.cfg

menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-104d33e0-4c26-44b5-9e54-c2752b1e37a4' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        search --no-floppy --fs-uuid --set=root bc3d7e0b-ca22-4750-98a4-6590852d2c4c
        echo    'Loading Linux linux ...'
        linux   /vmlinuz-linux root=UUID=104d33e0-4c26-44b5-9e54-c2752b1e37a4 rw  loglevel=3 quiet
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-linux.img
        echo    'Ramdisk loaded'
}

How I've setup the partitions (do I really need UUIDs here?) (the 3MB for the GPT/BIOS exist but no need to list it here)

# <file system> <dir> <type> <options> <dump> <pass>
/dev/nvme0n1p2 /boot   ext4   defaults    0 2
/dev/nvme0n1p3 none    swap   sw          0 0
/dev/nvme0n1p4 /       ext4   noatime     0 1

Also If you don't know what's the solution but you know exactly at which stage it's happening and how to get the logs of that it would be appreciated,

Thanks in advance wink

Last edited by DonComedia (2022-01-30 23:11:32)

Offline

#2 2022-01-31 00:50:23

jonno2002
Member
Registered: 2016-11-21
Posts: 887

Re: Waiting 30 seconds for device /dev/disk/by-label (on installed system)

i would suggest using uuid's in fstab, also your grub config looks different to all my arch boxes, its missing the

set root='hd*,gpt*'

line and the search section has one line instead of 2 and the UUID in this section doesnt match the other 2 occurances.

maybe you installed the grub version from the host OS you were installing from? i would suggest using the arch live usb and chroot in and re-install grub and regenerate the grub config and also update the fstab with UUID's.

Offline

#3 2022-01-31 10:50:38

DonComedia
Member
Registered: 2022-01-30
Posts: 2

Re: Waiting 30 seconds for device /dev/disk/by-label (on installed system)

Didn't worked, I don't think thats the issue, that set root should be a simplified version of the search statement, I've tried many ways but none worked.

I've seen that my nvme don't have a label, maybe thats the issue.

Offline

#4 2022-01-31 11:21:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: Waiting 30 seconds for device /dev/disk/by-label (on installed system)

That's not the issue when you are at that point you are already past GRUB and in the initramfs stage.

You should fix the order in your fstab. Move the root partition to the top, the passno doesn't inherently define this.

Other than that maybe a wonky initial initramfs due to the unorthodox setup method, once you're in your system and the partitions set up as they are needed regenerate your initramfs with

mkinitcpio -P

Offline

Board footer

Powered by FluxBB