You are not logged in.
Pages: 1
Hi,
I know exactly from where my problem began. yesterday morning I did an NVIDIA & NVIDIA UTILS upgrade. I upgraded my version from 295 to 304 which is latest. After upgrading I did reboot and got the following error ;
Triggering unevents,
waiting 10 seconds for device '/dev/disk/by-uuid/e1a080e-cf49-45cb-b7d5-a137a157853a...
Error : device '/dev/disk/by-uuid/e1a080e-cf49-45cb-b7d5-a137a157853a' not found
skipping fsck
Error : unable to find root device '/dev/disk/by-uuid/e1a080e-cf49-45cb-b7d5-a137a157853a'
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 /]#
So I went through few similar topics from the Arch forums and accordingly I did what was told in those topics. I downloaded latest arch iso and created a usb bootable. I tried to boot from the usb and again I got the following error :-
Waiting for boot device
waiting 30 seconds for device '/dev/disk/by-label/Arch_071209...
Error : boot device didnt show up afte 30 seconds.
Fallign back to interactive prompt
you can try to fix the problem manually,
sh : Can't access tty, job control turned off
[ramfs /]#
Please tell me how should I solve this problem.
Thanks in advance.
Offline
Have you tried to boot any other bootable medium?
Offline
After you're dumped to the recovery shell, can you find your device in /dev? (either as /dev/disk/* or /dev/sd**)
If so, mount it to /new_root, then type exit.
Do you get any further in the boot process?
I find it worrying that your USB stick doesn't boot either.
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
Hi ivi3,
Have you tried to boot any other bootable medium?
No I havent yet tried. I will do it later today as I have to go out and buy an empty cd/dvd to write on.
Hi WorMzy,
After you're dumped to the recovery shell, can you find your device in /dev? (either as /dev/disk/* or /dev/sd**)
If so, mount it to /new_root, then type exit.
Do you get any further in the boot process?
I find it worrying that your USB stick doesn't boot either.
When I am dumped to recovery shell my keyboard does not work. I have no other option but to reboot.
Any other suggestions can you think of? Should I format and reinstall?
Thanks
Offline
Ok, problem 1 looks like (in)famous issue, just chroot and run mkinitcpio -p linux, should suffice.
And don't worry about pendrive, it's probably just wrong label on it so system can't find it. How did you write .iso file to your pendrive? Go with unetbootin (safe and data on thumb stick will remain) or dd (with dd you need to be extra careful! also your thumb stick capacity is going to appear smaller (re-format it later) and all your data will go away, consider yourself warned but it always worked for me)
Offline
Hi masteryod,
I thought I didnt have an empty CD until I found one lying in my closet. I burned Arch ISO on to the CD and this time it booted properly bringing me to normal root prompt.
Now please suggest what to do next. Do I run mkinitcpio -p linux
Offline
You have to mount your root filesystem and then chroot into it. Afterwards run mkinitcpio -p linux.
Offline
You have to mount your root filesystem and then chroot into it. Afterwards run mkinitcpio -p linux.
Please tell me how to do it in detail as I am quite new to this.
My root directory is on /dev/sdb6
Thanks
Offline
Please search the wiki before asking how to do things..
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
Hi,
I tried to do it but went wrong some where :-
#mkdir /mnt/arch
#mount /dev/sdb6 /mnt/arch
#cd /mnt/arch
#mount -t proc proc proc/
#mount -t sysfs sys sys/
#mount -o bind /dev dev/
#mount -t devpts pts dev/pts/
#chroot /bin/bash
chroot:cannot change root directory to /bin/bash : not a directory
#mkinitcpio -p linux
==> Building image from preset : 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Error : Specified kernal image does not exist: '/boot/vmlinuz-linux
==> Building image from preset : 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S auto-detect
==> Error : Specified kernal image does not exist: '/boot/vmlinuz-linux
One question though does 'P' in proc and 'S' in sysfs & sys needs to be capital?
Thanks
Offline
#chroot /bin/bash
chroot:cannot change root directory to /bin/bash : not a directory
Reread this section again https://wiki.archlinux.org/index.php/Chroot#Change_root - your error message will seem clearer...
Offline
Ok, I did
#chroot . /bin/bash
still got the error
chroot:cannot change root directory to /bin/bash : not a directory
so I did
source /etc/profile
and it seems to have worked. Later I did
#mkinitcpio -p linux
but still getting the following error :
==> Building image from preset : 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Error : Specified kernal image does not exist: '/boot/vmlinuz-linux
==> Building image from preset : 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S auto-detect
==> Error : Specified kernal image does not exist: '/boot/vmlinuz-linux
Offline
Any chance you've got /boot on separate partition? You need to mount it too.
Offline
Ok, I did
#chroot . /bin/bash
still got the error
chroot:cannot change root directory to /bin/bash : not a directory
This error doesn't make sense in this context, Are you sure you didn't get:
chroot: failed to run command ‘/bin/bash’: No such file or directory
?
That would mean that you ran the command from the wrong directory.
"source /etc/profile" will not change your root, and trying to rebuild the initrd from outside the chroot is futile.
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
Hi,
Any chance you've got /boot on separate partition? You need to mount it too.
Yes I do have a boot.
I mounted boot to /mnt/arch/boot
and chroot worked perfectly but when I ran mkinitcpio -p linux I got the following error :-
/usr/bin/mkinitcpio : line 209 : /dev/null : permission denied
==> Error : /dev must be mounted.
Offline
Hi,
Can anybody help me out in this.
Thanks
Offline
Well I tried doing it one more time from start hoping I made mistake somewhere. Everything went fine up till Chroot. When I did mkinitcpio -p linux this time I got tones of errors like these :-
Error : module not found : 'hid_magicmouse'
Error : module not found : 'hid_belkin'
Error : module not found : 'hid_waltop'
The list went on and on and ended with the following error message :-
--> Running build hook : [fsck]
==>Warning : no modules were added to the image. This is probably not what you want.
==>Creating gzip initcipio image : /boot/initgramfs-linux-fallback.img
Well any suggestions?
Offline
See here: https://bbs.archlinux.org/viewtopic.php?pid=1154371
Thread is unresolved but some diagnostics are included that will help you narrow down the issue...
Offline
See here: https://bbs.archlinux.org/viewtopic.php?pid=1154371
Thread is unresolved but some diagnostics are included that will help you narrow down the issue...
Thanks for the link. I did the following but still get the same error.
pacman -S mkinitcpio
pacman -R linux
pacman -S linux
Please let me know if you have any other suggestion?
Offline
Please let me know if you have any other suggestion?
You haven't folowed my last suggestion: that thread contains diagnostic methods suggested by falconindy to narrow down your issue. Work through them and try an identify what is the cause of all these command failures your are experiencing. Just reporting the failures doesn't help anyone...
Offline
#chroot . /bin/bash
Try arch-chroot instead. This is what the installation wiki states to use.
Machine: Lenovo ThinkCenter M92 (M3209) - Inte i7-3770 CPU
Offline
Hi,
Thanks for all the help you offered but I eventually did base install and everything is working fine now.
I request Admin to close this thread.
Offline
You can mark it solved by editing the first post and appending [SOLVED] to the thread title
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1