You are not logged in.
Pages: 1
Topic closed
Hi,
I hope this is the right section of the forum.
When I boot my Arch desktop everything is norrmal until it displays this error message:
ERROR: device 'UUID=88a...7c' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=88a...7c'.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty; job control turned off
[rootfs /]# _
I can't use a keyboard at this stage, I don't know why.
From what I have read about other people who have had this problem is that they had a sudden loss of power before it happened. The few that I could find didn't have solutions. I am almost certain that I shut my computer down, however during the night there was a power cut.
Thank you in advance for any help that you can offer
Last edited by nontlikeuname (2014-12-30 19:46:20)
Offline
I suspect you'll need to boot into a live medium to do maintainance.
Once there, get copies of your bootloader config (what bootloader is it?) and your fstab, to start.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
It looks as though you've either managed to create a initrd with no modules in it, or you've not generated an initrd for the current kernel. You could try the fallback initrd, but I imagine that will have the same problem.
Do you have a LiveCD/USB that you can use to chroot into the installation and re-run the mkinitcpio script?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I am using grub. I will try booting into a live usb and see if i can get bootloader config files and fstab as well as running mkinitcpio. Thanks
Offline
I have run mkinitcpio and recieved no errors. I'm not exactly sure what it is meant to do or what it did do.
These are my grub config and fstab files.
/boot/grub/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
set default="0"
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_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 88a87a6a-2cd4-4a4c-814f-cc1840248c7c
else
search --no-floppy --fs-uuid --set=root 88a87a6a-2cd4-4a4c-814f-cc1840248c7c
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_UK
insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-88a87a6a-2cd4-4a4c-814f-cc1840248c7c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 88a87a6a-2cd4-4a4c-814f-cc1840248c7c
else
search --no-floppy --fs-uuid --set=root 88a87a6a-2cd4-4a4c-814f-cc1840248c7c
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=88a87a6a-2cd4-4a4c-814f-cc1840248c7c ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-88a87a6a-2cd4-4a4c-814f-cc1840248c7c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 88a87a6a-2cd4-4a4c-814f-cc1840248c7c
else
search --no-floppy --fs-uuid --set=root 88a87a6a-2cd4-4a4c-814f-cc1840248c7c
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=88a87a6a-2cd4-4a4c-814f-cc1840248c7c ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-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/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
/etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda1
UUID=88a87a6a-2cd4-4a4c-814f-cc1840248c7c / ext4 rw,relatime,data=ordered 0 1
# /dev/sda2
UUID=1dd01e7c-75c4-463a-be6e-bb7b031f39bf /home ext4 rw,relatime,data=ordered 0 2
Offline
Sorry, I assumed you knew about mkinitcpio. If you just call the script by itself, it just does a trial run. You should pass it the preset name that you want to use (usually named after the kernel). You seem to be using the default Arch kernel, so try running:
# mkinitcpio -p linux
It should create two new initial ramdisks for you for that kernel, an optimised one with the modules that your system needs to boot, and a fallback one, with all the modules for your kernel. If there are any errors, post them here.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thank you for explaining, I ran:
mkinitcpio -p linux
I didn't get any errors as such but I got 2 warnings.
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
It did manage to create initramfs-linux.img and initramfs-linux-fallback.img though which fixed the problem.
Thanks very much for your help.
Last edited by nontlikeuname (2013-07-23 15:43:49)
Offline
Those warnings can be ignored. As far as I know, they're only relevant to embedded systems.
If you check /var/log/pacman.log, it may shed some light on why the problem occurred in the first place. Possibly an update got interrupted, or you just did the usr/bin move without holding back the bash package, and subsequently "/bin/bash" wasn't present when the script was called. If this was the case, you may have other packages that also failed to run their associated install scripts.
Glad you got it sorted.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I'm having the same issue, but when I try to chroot from a live USB it complains about not being able to run /bin/zsh but I chsh to /bin/sh (and still get that error). So I ran mkinitcpio directly via chroot but then it complains that /proc isn't mounted, which is true in the chroot'd environment.
Any idea? I really need to get my laptop working again. Thanks,
Headed for the second star to the right and straight on 'til morning...
Schultzter
Offline
Online
schultzter, am I right in assuming your last update was the one with the filesystem intervention? If so, you'll need to specify the shell in the chroot command as /usr/bin/bash.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Ofcourse, the wiki!
In my defense it was late and I was using my phone to try and research the issue. I will try again momentarily, with wiki open on my desktop computer! Thanks,
Headed for the second star to the right and straight on 'til morning...
Schultzter
Offline
Thank you for explaining, I ran:
mkinitcpio -p linux
I didn't get any errors as such but I got 2 warnings.
==> WARNING: Possibly missing firmware for module: bfa ==> WARNING: Possibly missing firmware for module: aic94xx
It did manage to create initramfs-linux.img and initramfs-linux-fallback.img though which fixed the problem.
Thanks very much for your help.
It works for me, thanks!
Offline
Netawater, you should know our rules by now -- don't necrobump or empty post.
https://wiki.archlinux.org/index.php/Co … bumping.22
https://wiki.archlinux.org/index.php/Co … mpty_posts
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed