• uuid device not found boot error


    So a bit of backstory before I type out this whole error message, this all started about a week ago I was attempting to use a udev rule to turn off my touch-pad when a wireless mouse was connected. When I restarted the laptop I got the error listed below preventing me from booting into Antergos. So I got a live-iso mounted my installation removed the udev rule. No dice same message. Did some google-phu and found nothing. Reinstalled grub, nothing. So I decided to cut my losses and reinstall Antergos. So here I am with a fresh installation got grub working (a real challenge on my machine) and I am stuck with the same error message when I try to boot to Antergos.

    Ado aside… here is the error.

    ERROR: device 'UUID=4802e739-0d75-4a53-accb-59ac7d14b873' not found. Skipping fsck. mount: /new_root: can't find UUID=4802e739-0d75-4a53-accb-59ac7d14b873. You are being dropped into an emergency shell. sh: can't access tty; job control turned off
    

    Thanks in advance!

  • @joeslost
    Sounds like partition table is corrupted. Hopefully you have a backup of anything important.
    If the table is corrupted, then you probably need to reinstall Antergos.

    So boot using the installer USB stick and, start gparted, and do one of:

    • If you are dual booting, then delete all partitions related to Antergos only (but not the EFI partition if you have one!).
    • If you are not dual booting, create a new partition table (wipes all partitions!)

    Then you can reinstall Antergos.

  • mkinitcpio -p linux
    

    from live-system boot could solve this also…

    Get into installed system like shown here:
    EFU/UEFI Firmware (bios)
    https://antergos.com/wiki/de/miscellaneous/how-to-fix-grub-with-efi-boot/
    on legacy BIOS system:
    https://antergos.com/wiki/de/miscellaneous/how-to-fix-grub-with-bios-boot/

    on both:
    do first chroot into it and then:

    mkinitcpio -p linux
    grub-mkconfig -o /boot/grub/grub.cfg
    

    reference: https://bbs.archlinux.org/viewtopic.php?id=167109

  • @joekamprad
    Oh yes, that might do the trick.

  • @joekamprad
    Okay so I used a live iso and ran mkinitcpio and grub-mkconfig both ran fine. Rebooted system and no change :(.
    However I am not positive I mounted my system properly The EFI grub guide you linked to shows mounting /mnt, /mnt/boot, and /mnt/boot. However I do not have a seperate boot partition from my EFi partition. So I only mounted /mnt and /mnt/boot/efi.
    fdisk -l
    Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
    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: 3F794B6F-F0DA-43DA-AA87-E8F3238C6FA8

    Device Start End Sectors Size Type
    /dev/nvme0n1p1 2048 534527 532480 260M EFI System —/boot
    /dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
    /dev/nvme0n1p3 567296 490153983 489586688 233.5G Microsoft basic data ----windows 7
    /dev/nvme0n1p4 976912384 978919423 2007040 980M Windows recovery environmen
    /dev/nvme0n1p5 978919424 1000204287 21284864 10.2G Microsoft basic data
    /dev/nvme0n1p6 490153984 505778983 15625000 7.5G Linux filesystem -----Swap
    /dev/nvme0n1p7 505778984 915474431 409695448 195.4G Linux filesystem ------- / Antergos
    /dev/nvme0n1p8 915474432 976912383 61437952 29.3G Microsoft basic data -------/Home

    Is that correct?

  • @joeslost said in uuid device not found boot error:

    /dev/nvme0n1p1 2048 534527 532480 260M EFI System —/boot

    this is a efi partition you want to say you do not have /boot on a seperate partition… so it is onto this one called {/ = root}:
    /dev/nvme0n1p7 505778984 915474431 409695448 195.4G Linux filesystem ------- / Antergos

  • I am sorry I don’t understand. So you are saying efi partition is not equal to /boot. So I want to tell grub that no /boot exists and It needs to look on the root partition (/dev/nvme0n1p7). How do I go about that. When I first attempted your solution I did the following :

    sudo su
    mount /dev/nvme0n1p7 /mnt
    mount /dev/nvme0n1p1 /mnt/boot/efi
    arch-chroot /mnt
    mkinitcpio -p linux
    grub-mkconfig -o /boot/grub/grub.cfg
    

    Ps. when I reinstalled antergos last I believe I gave /dev/nvme0n1p1 the /boot flag

  • @joeslost said in uuid device not found boot error:

    efi partition is not equal to /boot

    yes! it is not the same but /boot exist under your root filesystem / as a folder /boot and the efi partition needs to be mounted under this folder /boot/efi

    and a boot flag is a flag that marks a partition as the boot device…

    sudo su
    mount /dev/nvme0n1p7 /mnt
    mount /dev/nvme0n1p1 /mnt/boot/efi
    arch-chroot /mnt
    mkinitcpio -p linux
    grub-mkconfig -o /boot/grub/grub.cfg
    

    is completely right but you do not understand me fully i feel…

  • Okay So I think I understand you completely.
    So mount /dev/nvme0n1p1 /mnt/boot/efi is mounting my EFI partition to the efi folder inside the boot folder of the root partition.
    Still unfortunately these commands did not yield the desired results. Next step is to just delete all partitions except the windows partitions? If that doesn’t work then I guess I’ll just redo everything…

  • SOLVED!
    I was just creating the grub config in the wrong location. I needed /boot/efi/grub/grub.cfg

    So for future people looking for a solution.

    sudo su
    mount /dev/nvme0n1p7 /mnt
    mount /dev/nvme0n1p1 /mnt/boot/efi
    arch-chroot /mnt
    mkinitcpio -p linux
    grub-mkconfig -o /boot/efi/grub/grub.cfg
    

    Thanks @joekamprad

  • @joeslost said in uuid device not found boot error:

    grub-mkconfig -o /boot/efi/grub/grub.cfg

    yes??? i was thinking this is the same as on bios systems so the same on Bios and EFI… i am confused now… may someone @Community-Moderators can help here to give me some light hits on the neck???

    https://antergos.com/wiki/miscellaneous/how-to-fix-grub-with-efi-boot/

    https://antergos.com/wiki/miscellaneous/how-to-fix-grub-with-bios-boot/

  • @joeslost
    Please show the output of commands

    lsblk -f
    find /boot -iname \*.efi -exec ls -l {} \;
    find /boot -iname \*.cfg -exec ls -l {} \;
    

    EDIT: sorry, edited the commands a bit…

error312 boot280 device27 uuid9 Posts 12Views 2631
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.