• Unable to find root device ' '

    Hey !
    My install was working pretty fine until I changed gummiboot config file and mkinitcpio.conf

    Here’s what happens when I boot

    [0.026367] Ignoring BGRT: invalid status 0 (expected 1)
    :: running early hook [udev]
    starting version 224
    :: running hook [udev]
    :: Triggering uevents...
    :: running hook [keymap]
    :: Loading keymap...done.
    :: running hook [encrypt]
    ERROR: device '' not found. Skipping fsck.
    ERROR: Unable to find root device ''.
    You are being dropped to a recovery shell
    Type 'exit' ...
    sh: can't access tty: job control turned off

    Both the configuration file (gummiboot and mkinitcpio) are coming, just have to boot on the liveUSB

  • Here is my /boot/loader/entries/antergos.conf

    title	Antergos
    linux	/vmlinuz-linux
    options	initrd=/initramfs-linux.img acpi_osi="!Windows 2013" acpi_osi="!Windows 2012" acpi_backlight=vendor
    root=/dev/mapper/luks-4deafd57-3871-4022-9d01-60885395d5f0 rw quiet

    And here is my /etc/mkinitcpio.conf

    # vim:set ft=sh
    # The following modules are loaded before any boot hooks are
    # run.  Advanced users may wish to specify all system modules
    # in this array.  For instance:
    #     MODULES="piix ide_disk reiserfs"
    MODULES="dm_mod dm_crypt ext4 aes_x86_64 sha256 sha512"
    # This setting includes any additional binaries a given user may
    # wish into the CPIO image.  This is run last, so it may be used to
    # override the actual binaries included by a given hook
    # BINARIES are dependency parsed, so you may safely ignore libraries
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in any way.  This is useful for config files.
    # HOOKS
    # This is the most important setting in this file.  The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    ##   This setup specifies all modules in the MODULES setting above.
    ##   No raid, lvm2, or encrypted root is needed.
    #    HOOKS="base"
    ##   This setup will autodetect all modules for your system and should
    ##   work as a sane default
    #    HOOKS="base udev autodetect block filesystems"
    ##   This setup will generate a 'full' image which supports most systems.
    ##   No autodetection is done.
    #    HOOKS="base udev block filesystems"
    ##   This setup assembles a pata mdadm array with an encrypted root FS.
    ##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
    #    HOOKS="base udev block mdadm encrypt filesystems"
    ##   This setup loads an lvm2 volume group on a usb device.
    #    HOOKS="base udev block lvm2 filesystems"
    ##   NOTE: If you have /usr on a separate partition, you MUST include the
    #    usr, fsck and shutdown hooks.
    HOOKS="base udev autodetect modconf block keyboard keymap encrypt filesystems fsck"
    # Use this to compress the initramfs image. By default, gzip compression
    # is used. Use 'cat' to create an uncompressed image.
    # Additional options for the compressor

    Any idea ? Thanks :)

    And I forgot, here’s my disk

    Model: ATA AXNS381E-128GM-B (scsi)
    Disk /dev/sda: 128GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    Number  Start   End    Size    File system     Name           Flags
     1      1049kB  269MB  268MB   fat32           ANTERGOS_BOOT  boot, esp
     2      269MB   124GB  124GB                   ANTERGOS_ROOT
     3      124GB   128GB  4053MB  linux-swap(v1)  ANTERGOS_SWAP
  • So now by changing these files again, i’m can enter my passphrase but ERROR: Unable to find root device ''. is still coming up !

    Here is my new gummiboot config

    title   Antergos
    linux   /vmlinuz-linux
    initrd /initramfs-linux.img
    options cryptdevice=UUID=4deafd57-3871-4022-9d01-60885395d5f0:cryptAntergos
    root=/dev/mapper/cryptAntergos rw quiet acpi_osi="!Windows 2013" acpi_osi="!Windows 2012" acpi_backlight=vendor

    And here is my HOOKS line : HOOKS="base udev autodetect modconf block keyboard keymap encrypt filesystems"

    I’ll continue to try fixing it, but if somebody find the problem i’ll be grateful :)

  • Well, it’s working now :) I just took back the filesystems hook and set the root=… on the same line as the cryptdevice in the gummiboot config !

  • Glad you solved it. Cheers. :)

Posts 5Views 2725
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.