You are not logged in.

#1 2021-01-16 19:36:51

Boymanbat
Member
Registered: 2020-05-13
Posts: 3

Booting Error: device "UUID for the disk" not found skipping fsck

Full error:
ERROR: device 'UUID=UUID for my root partion' not found. Skipping fsck
mount: /new_root: can't find UUID=UUID for my root partion
You are now being dropped into an emergency shell.
sh: can't access tty: job control turned off

I have not idea what's causing this. But when I run grub-mkconfig I get an error saying that it can't find a GRUB disk for the flash drive I'm installing Arch Linux on.

Offline

#2 2021-01-16 19:46:48

loqs
Member
Registered: 2014-03-06
Posts: 13,014

Re: Booting Error: device "UUID for the disk" not found skipping fsck

Please post the full output of grub-mkconfig,  the contents of /boot/grub/grub.cfg and /etc/default/grub if you edited it,  also the output of parted -l.

Online

#3 2021-01-16 20:15:11

Boymanbat
Member
Registered: 2020-05-13
Posts: 3

Re: Booting Error: device "UUID for the disk" not found skipping fsck

loqs wrote:

Please post the full output of grub-mkconfig,  the contents of /boot/grub/grub.cfg and /etc/default/grub if you edited it,  also the output of parted -l.

Hello, thanks for helping me.
I'm using the linux-zen kernel, and am dual booting with Windows on the same drive

grub-mkconfig output:
found linux image: /boot/vmlinuz-linux-zen // This one does not end with .img. I don't know if that is important or not.
Found initrd image: /boot/intel-ucode.img /boot/iniramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
grub-probe error: cannot find a GRUB drive for /dev/sda (The flashdrive I installed arch linux on). Check your device.map
Found Windows Boot Manager on path to microsoft boot manager
done

grub.cfg
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  bb6f3928-3e60-4de8-903c-4598844acc3e
else
  search --no-floppy --fs-uuid --set=root bb6f3928-3e60-4de8-903c-4598844acc3e
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bb6f3928-3e60-4de8-903c-4598844acc3e' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod fat
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root  CAE5-AF30
        else
          search --no-floppy --fs-uuid --set=root CAE5-AF30
        fi
        echo    'Loading Linux linux-zen ...'
        linux   /vmlinuz-linux-zen root=UUID=bb6f3928-3e60-4de8-903c-4598844acc3e rw  loglevel=3 quiet
        echo    'Loading initial ramdisk ...'
        initrd  /intel-ucode.img /initramfs-linux-zen.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-bb6f3928-3e60-4de8-903c-4598844acc3e' {
        menuentry 'Arch Linux, with Linux linux-zen' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-advanced-bb6f3928-3e60-4de8-903c-4598844acc3e' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod fat
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root  CAE5-AF30
                else
                  search --no-floppy --fs-uuid --set=root CAE5-AF30
                fi
                echo    'Loading Linux linux-zen ...'
                linux   /vmlinuz-linux-zen root=UUID=bb6f3928-3e60-4de8-903c-4598844acc3e rw  loglevel=3 quiet
                echo    'Loading initial ramdisk ...'
                initrd  /intel-ucode.img /initramfs-linux-zen.img
        }
        menuentry 'Arch Linux, with Linux linux-zen (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-fallback-bb6f3928-3e60-4de8-903c-4598844acc3e' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod fat
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root  CAE5-AF30
                else
                  search --no-floppy --fs-uuid --set=root CAE5-AF30
                fi
                echo    'Loading Linux linux-zen ...'
                linux   /vmlinuz-linux-zen root=UUID=bb6f3928-3e60-4de8-903c-4598844acc3e rw  loglevel=3 quiet
                echo    'Loading initial ramdisk ...'
                initrd  /initramfs-linux-zen-fallback.img
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-3AA3-7F85' {
        insmod part_gpt
        insmod fat
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root  3AA3-7F85
        else
          search --no-floppy --fs-uuid --set=root 3AA3-7F85
        fi
        chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

parted -l
Number  Start   End    Size    File system     Name                          Flags
1      1049kB  263MB  262MB   fat32           EFI system partition          boot, esp
2      263MB   397MB  134MB                   Microsoft reserved partition  msftres
3      397MB   281GB  281GB   ntfs            Basic data partition          msftdata
7      281GB   283GB  1074MB  fat32                                         boot, esp
8      283GB   487GB  204GB   ext4
9      487GB   491GB  4272MB  linux-swap(v1)                                swap
4      491GB   492GB  1038MB  ntfs                                          hidden, diag
5      492GB   510GB  18.3GB  ntfs                                          hidden, diag
6      510GB   512GB  1635MB  ntfs                                          hidden, diag

Offline

#4 2021-01-17 00:25:24

Boymanbat
Member
Registered: 2020-05-13
Posts: 3

Re: Booting Error: device "UUID for the disk" not found skipping fsck

The same error happened when I installed Manjaro, before I installed Arch
(mount: /new_root can't find UUID for root partion)

Last edited by Boymanbat (2021-01-17 00:25:56)

Offline

Board footer

Powered by FluxBB