• After power failure, cant login (cant find new_root UUID=...)


    Hello guys and congrats for your amazing distro. Its about 2 years now and for the first time I step into a serious problem.

    After an update the system can’t boot. I tried the following:

    • boot into live cd and after mount /mnt and /mnt/boot run pacman -Syu, mkinitcpio -p linux and also tried linux-lts kernel.

    • run grub-mkconfig -p /boot/grub/grub.cfg

    • Other stuff found in the forum (like adding block hook near the start of my hooks

    But nothing worked!!!
    My drive is:

    Number  Start   End     Size    File system  Name  Flags
     1      1049kB  3048kB  2000kB  btrfs              bios_grub
     2      3048kB  771MB   768MB   ext4               boot, esp
     3      771MB   250GB   249GB   ext4
    
    /dev/sda1: LABEL="Antergos" UUID="44870903-4b2d-4592-9fca-f4f8edde6062" UUID_SUB="eb2dfd7f-99af-4d29-badb-5692dae7421d" TYPE="btrfs" PARTUUID="af045f22-f5b6-4489-b588-55d08ba9038f"
    /dev/sda2: UUID="845ee567-eabc-4a4e-a2f0-582f8b308083" TYPE="ext4" PARTUUID="4b068063-6740-4638-9bd3-e8326c4b770a"
    /dev/sda3: UUID="992a9454-0316-42a8-853b-9f8be7e9359e" TYPE="ext4" PARTUUID="bb8d7c61-bd76-4b03-b6dd-95ac92b651b0"
    

    fstab:

    UUID=992a9454-0316-42a8-853b-9f8be7e9359e / ext4 defaults,noatime,discard 0 1
    UUID=845ee567-eabc-4a4e-a2f0-582f8b308083 /boot ext4 defaults,noatime,discard 0 0
    tmpfs /tmp tmpfs defaults,noatime,mode=1777,size=5G 0 0
    UUID=3C1D059D1B80F5B5 /home/luke/BACKUP ntfs-3g uid=kozer,gid=users,dmask=000,fmask=000 0 0
    UUID=B22E1A662E1A23BF /home/luke/windows ntfs-3g uid=kozer,gid=users,dmask=000,fmask=000 0 0
    
    

    grub.cfg

    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    if [ "${next_entry}" ] ; then
       set default="${next_entry}"
       set next_entry=
       save_env next_entry
       set boot_once=true
    else
       set default="0"
    fi
    
    if [ x"${feature_menuentry_id}" = xy ]; then
      menuentry_id_option="--id"
    else
      menuentry_id_option=""
    fi
    
    export menuentry_id_option
    
    if [ "${prev_saved_entry}" ]; then
      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
    set root='hd0,gpt3'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],gpt3' --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  992a9454-0316-42a8-853b-9f8be7e9359e
    else
      search --no-floppy --fs-uuid --set=root 992a9454-0316-42a8-853b-9f8be7e9359e
    fi
        font="/usr/share/grub/unicode.pf2"
    fi
    
    if loadfont $font ; then
      set gfxmode=1680x1050-32
      load_video
      insmod gfxterm
      set locale_dir=$prefix/locale
      set lang=en_US
      insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  845ee567-eabc-4a4e-a2f0-582f8b308083
    else
      search --no-floppy --fs-uuid --set=root 845ee567-eabc-4a4e-a2f0-582f8b308083
    fi
    insmod gfxmenu
    loadfont ($root)/grub/themes/Antergos-Default/ascii.pf2
    loadfont ($root)/grub/themes/Antergos-Default/rlwy14.pf2
    loadfont ($root)/grub/themes/Antergos-Default/rlwy16.pf2
    insmod png
    set theme=($root)/grub/themes/Antergos-Default/theme.txt
    export theme
    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_antergos ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-992a9454-0316-42a8-853b-9f8be7e9359e' {
    	load_video
    	set gfxpayload=keep
    	insmod gzio
    	insmod part_gpt
    	insmod ext2
    	set root='hd0,gpt2'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  #search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  845ee567-eabc-4a4e-a2f0-582f8b308083
    	  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 992a9454-0316-42a8-853b-9f8be7e9359e
    	else
    	  search --no-floppy --fs-uuid --set=root 992a9454-0316-42a8-853b-9f8be7e9359e
    	fi
    	echo	'Loading  linux kernel ...'
    	linux	/vmlinuz-linux root=UUID=992a9454-0316-42a8-853b-9f8be7e9359e rw  quiet intel_iommu=on
    	echo	'Loading initial ramdisk ...'
    	initrd	/intel-ucode.img /initramfs-linux.img
    }
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-992a9454-0316-42a8-853b-9f8be7e9359e' {
    	menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-992a9454-0316-42a8-853b-9f8be7e9359e' {
    		load_video
    		set gfxpayload=keep
    		insmod gzio
    		insmod part_gpt
    		insmod ext2
    		set root='hd0,gpt2'
    		if [ x$feature_platform_search_hint = xy ]; then
    		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  845ee567-eabc-4a4e-a2f0-582f8b308083
    		else
    		  search --no-floppy --fs-uuid --set=root 845ee567-eabc-4a4e-a2f0-582f8b308083
    		fi
    		echo	'Loading  linux kernel ...'
    		linux	/vmlinuz-linux root=UUID=992a9454-0316-42a8-853b-9f8be7e9359e rw  quiet intel_iommu=on
    		echo	'Loading initial ramdisk ...'
    		initrd	/intel-ucode.img /initramfs-linux.img
    	}
    	menuentry 'Arch Linux - Fallback' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-992a9454-0316-42a8-853b-9f8be7e9359e' {
    		load_video
    		set gfxpayload=keep
    		insmod gzio
    		insmod part_gpt
    		insmod ext2
    		set root='hd0,gpt2'
    		if [ x$feature_platform_search_hint = xy ]; then
    		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  845ee567-eabc-4a4e-a2f0-582f8b308083
    		else
    		  search --no-floppy --fs-uuid --set=root 845ee567-eabc-4a4e-a2f0-582f8b308083
    		fi
    		echo	'Loading  linux kernel ...'
    		linux	/vmlinuz-linux root=UUID=992a9454-0316-42a8-853b-9f8be7e9359e rw  quiet intel_iommu=on
    		echo	'Loading initial ramdisk ...'
    		initrd	/intel-ucode.img /initramfs-linux-fallback.img
    	}
    	menuentry 'Arch Linux LTS Kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-992a9454-0316-42a8-853b-9f8be7e9359e' {
    		load_video
    		set gfxpayload=keep
    		insmod gzio
    		insmod part_gpt
    		insmod ext2
    		set root='hd0,gpt2'
    		if [ x$feature_platform_search_hint = xy ]; then
    		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  845ee567-eabc-4a4e-a2f0-582f8b308083
    		else
    		  search --no-floppy --fs-uuid --set=root 845ee567-eabc-4a4e-a2f0-582f8b308083
    		fi
    		echo	'Loading  linux-lts kernel ...'
    		linux	/vmlinuz-linux-lts root=UUID=992a9454-0316-42a8-853b-9f8be7e9359e rw  quiet intel_iommu=on
    		echo	'Loading initial ramdisk ...'
    		initrd	/intel-ucode.img /initramfs-linux-lts.img
    	}
    	menuentry 'Arch Linux LTS Kernel - Fallback' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-992a9454-0316-42a8-853b-9f8be7e9359e' {
    		load_video
    		set gfxpayload=keep
    		insmod gzio
    		insmod part_gpt
    		insmod ext2
    		set root='hd0,gpt2'
    		if [ x$feature_platform_search_hint = xy ]; then
    		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  845ee567-eabc-4a4e-a2f0-582f8b308083
    		else
    		  search --no-floppy --fs-uuid --set=root 845ee567-eabc-4a4e-a2f0-582f8b308083
    		fi
    		echo	'Loading  linux-lts kernel ...'
    		linux	/vmlinuz-linux-lts root=UUID=992a9454-0316-42a8-853b-9f8be7e9359e rw  quiet intel_iommu=on
    		echo	'Loading initial ramdisk ...'
    		initrd	/intel-ucode.img /initramfs-linux-lts-fallback.img
    	}
    }
    
    ### END /etc/grub.d/10_antergos ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 10 (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-B22E1A662E1A23BF' {
    	insmod part_msdos
    	insmod ntfs
    	set root='hd1,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],msdos1' --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  B22E1A662E1A23BF
    	else
    	  search --no-floppy --fs-uuid --set=root B22E1A662E1A23BF
    	fi
    	parttool ${root} hidden-
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### 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
    
    

    Also I have to mention that I don’t run uefi (I checked it both in linux and windows)
    and I run the following to access the installation:

    sudo mount /dev/sda3 /mnt
    
    sudo mount /dev/sda2 /mnt/boot/
    
    sudo arch-chroot /mnt
    

    Can I do anything to save the installation and avoid the new installation? (Maybe delete the boot partition and make it again or something?). Any ideas??

    Thanks a lot!!!

    EDIT: Resolved after downgrade systemd to 139.x

  • @antonyagrios said in After power failure, cant login (cant find new_root UUID=...):

    grub-mkconfig -p /boot/grub/grub.cfg

    must be grub-mkconfig -o /boot/grub/grub.cfg

login135 power27 failure16 newroot1 Posts 2Views 78
Log in to reply
Bloom Email Optin Plugin

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