Archlinux failed to boot: can't access tty: job control turned off
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I came across the problem after upgrading my system through pacman -Syu
.
During the upgrade, I encountered a python package conflict which caused the upgrade transaction aborted. So I resolved the conflict: removing the python package by pip uninstall pkg_name
, then retried pacman -Syu
. This time no more errors.
Then I rebooted my system and the problem occurred:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
starting version 239
/dev/nvme0n1p2: clean, 968023/31227904 files, 27066236/124895569 blocks
mount: /new_root: unknown filesystem type 'ext4'
You are now being dropped into an emergency shell,
sh: can't access tty: job control turned off
[rootfs] #
BTW: As the warning indicating, I was upgrading kernel 4.18 to 4.19
linux arch-linux linux-kernel grub pacman
New contributor
add a comment |
up vote
1
down vote
favorite
I came across the problem after upgrading my system through pacman -Syu
.
During the upgrade, I encountered a python package conflict which caused the upgrade transaction aborted. So I resolved the conflict: removing the python package by pip uninstall pkg_name
, then retried pacman -Syu
. This time no more errors.
Then I rebooted my system and the problem occurred:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
starting version 239
/dev/nvme0n1p2: clean, 968023/31227904 files, 27066236/124895569 blocks
mount: /new_root: unknown filesystem type 'ext4'
You are now being dropped into an emergency shell,
sh: can't access tty: job control turned off
[rootfs] #
BTW: As the warning indicating, I was upgrading kernel 4.18 to 4.19
linux arch-linux linux-kernel grub pacman
New contributor
Edit your question with the output ofpacman -Q linux && uname -r
.
– jasonwryan
yesterday
@jasonwryan Sorry I can't make it. Since the last reboot, I can no longer login in my system, blocked by theWarning
posted above. However I do remember that before the last reboot I executeduname -r
and the ouput kernel version was still 4.18.xxx
– streethacker
yesterday
You need to chroot in, make sure/
and/boot
are mounted and then reinstall linux.
– jasonwryan
yesterday
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I came across the problem after upgrading my system through pacman -Syu
.
During the upgrade, I encountered a python package conflict which caused the upgrade transaction aborted. So I resolved the conflict: removing the python package by pip uninstall pkg_name
, then retried pacman -Syu
. This time no more errors.
Then I rebooted my system and the problem occurred:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
starting version 239
/dev/nvme0n1p2: clean, 968023/31227904 files, 27066236/124895569 blocks
mount: /new_root: unknown filesystem type 'ext4'
You are now being dropped into an emergency shell,
sh: can't access tty: job control turned off
[rootfs] #
BTW: As the warning indicating, I was upgrading kernel 4.18 to 4.19
linux arch-linux linux-kernel grub pacman
New contributor
I came across the problem after upgrading my system through pacman -Syu
.
During the upgrade, I encountered a python package conflict which caused the upgrade transaction aborted. So I resolved the conflict: removing the python package by pip uninstall pkg_name
, then retried pacman -Syu
. This time no more errors.
Then I rebooted my system and the problem occurred:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
starting version 239
/dev/nvme0n1p2: clean, 968023/31227904 files, 27066236/124895569 blocks
mount: /new_root: unknown filesystem type 'ext4'
You are now being dropped into an emergency shell,
sh: can't access tty: job control turned off
[rootfs] #
BTW: As the warning indicating, I was upgrading kernel 4.18 to 4.19
linux arch-linux linux-kernel grub pacman
linux arch-linux linux-kernel grub pacman
New contributor
New contributor
edited yesterday
Rui F Ribeiro
38.2k1475123
38.2k1475123
New contributor
asked yesterday
streethacker
61
61
New contributor
New contributor
Edit your question with the output ofpacman -Q linux && uname -r
.
– jasonwryan
yesterday
@jasonwryan Sorry I can't make it. Since the last reboot, I can no longer login in my system, blocked by theWarning
posted above. However I do remember that before the last reboot I executeduname -r
and the ouput kernel version was still 4.18.xxx
– streethacker
yesterday
You need to chroot in, make sure/
and/boot
are mounted and then reinstall linux.
– jasonwryan
yesterday
add a comment |
Edit your question with the output ofpacman -Q linux && uname -r
.
– jasonwryan
yesterday
@jasonwryan Sorry I can't make it. Since the last reboot, I can no longer login in my system, blocked by theWarning
posted above. However I do remember that before the last reboot I executeduname -r
and the ouput kernel version was still 4.18.xxx
– streethacker
yesterday
You need to chroot in, make sure/
and/boot
are mounted and then reinstall linux.
– jasonwryan
yesterday
Edit your question with the output of
pacman -Q linux && uname -r
.– jasonwryan
yesterday
Edit your question with the output of
pacman -Q linux && uname -r
.– jasonwryan
yesterday
@jasonwryan Sorry I can't make it. Since the last reboot, I can no longer login in my system, blocked by the
Warning
posted above. However I do remember that before the last reboot I executed uname -r
and the ouput kernel version was still 4.18.xxx– streethacker
yesterday
@jasonwryan Sorry I can't make it. Since the last reboot, I can no longer login in my system, blocked by the
Warning
posted above. However I do remember that before the last reboot I executed uname -r
and the ouput kernel version was still 4.18.xxx– streethacker
yesterday
You need to chroot in, make sure
/
and /boot
are mounted and then reinstall linux.– jasonwryan
yesterday
You need to chroot in, make sure
/
and /boot
are mounted and then reinstall linux.– jasonwryan
yesterday
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
If the update was aborted and the kernel was in the process of being updated, you probably still have the initramfs of the the old kernel in your /boot
whilst having the new kernel installed which can prevent booting.
The easiest way to fix this would be to boot with an archlinux installation media, perform a chroot
and reinstall the kernel using pacman
# mount /dev/yourroodisk /mnt
# mount /dev/yourbootdisk /mnt/boot # if needed
# mount /dev/yourefipartition /mnt/boot/EFI # if you use EFI (optionnal)
# arch-chroot /mnt
# pacman -Sy linux
The files that should be modified are /boot/initramfs-linux.img
and /boot/initramfs-linux-fallback.img
so you probably don't need to mount the EFI partition
If for some reason you can't use pacman
, you can also launch mkinitcpio
by hand to regenerate the initramfs to use the new kernel
New contributor
Your answer is correct, but please do not advise people to-Sy $package
, it is terrible advice and just leads to breakage.
– jasonwryan
yesterday
add a comment |
up vote
0
down vote
The text can't access tty: job control turned off
is just a notification by the shell that job control doesn't work, that means that you can't stop a program with Ctrl+C or Ctrl+Z.
The problem is visible in the lines above, and maybe what is above that lines:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
mount: /new_root: unknown filesystem type 'ext4'
It seems the kernel modules are not found, and therefor no module ext4
, and therefor no mounting the ext4
root file system.
Most distributions don't delete the old kernel in case there is something wrong with the new one, so try to boot the previous kernel.
If that doesn't work, boot a live system and either install the previous kernel with matching modules, or the new one, or any kernel that works.
It's also possible that there was just something wrong with the creation of the initrd file system, that ext4
was not included for some reasons. In this case, you can boot a live system, recreate initrd with ext4
and reboot.
Arch does remove the old kernel. OP's issue is that /boot wasn't mounted during that upgrade so the installed modules do not match the kernel.
– jasonwryan
yesterday
@jasonwryan If /boot was not mounted, then the matching kernel and initrd should be in the root file system, so it should be possible to load them from there.
– RalfFriedl
20 hours ago
Not necessarily; actual /boot may get mounted over the top or the initrd could be corrupted. The only safe approach is to chroot and fix it.
– jasonwryan
20 hours ago
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
If the update was aborted and the kernel was in the process of being updated, you probably still have the initramfs of the the old kernel in your /boot
whilst having the new kernel installed which can prevent booting.
The easiest way to fix this would be to boot with an archlinux installation media, perform a chroot
and reinstall the kernel using pacman
# mount /dev/yourroodisk /mnt
# mount /dev/yourbootdisk /mnt/boot # if needed
# mount /dev/yourefipartition /mnt/boot/EFI # if you use EFI (optionnal)
# arch-chroot /mnt
# pacman -Sy linux
The files that should be modified are /boot/initramfs-linux.img
and /boot/initramfs-linux-fallback.img
so you probably don't need to mount the EFI partition
If for some reason you can't use pacman
, you can also launch mkinitcpio
by hand to regenerate the initramfs to use the new kernel
New contributor
Your answer is correct, but please do not advise people to-Sy $package
, it is terrible advice and just leads to breakage.
– jasonwryan
yesterday
add a comment |
up vote
1
down vote
If the update was aborted and the kernel was in the process of being updated, you probably still have the initramfs of the the old kernel in your /boot
whilst having the new kernel installed which can prevent booting.
The easiest way to fix this would be to boot with an archlinux installation media, perform a chroot
and reinstall the kernel using pacman
# mount /dev/yourroodisk /mnt
# mount /dev/yourbootdisk /mnt/boot # if needed
# mount /dev/yourefipartition /mnt/boot/EFI # if you use EFI (optionnal)
# arch-chroot /mnt
# pacman -Sy linux
The files that should be modified are /boot/initramfs-linux.img
and /boot/initramfs-linux-fallback.img
so you probably don't need to mount the EFI partition
If for some reason you can't use pacman
, you can also launch mkinitcpio
by hand to regenerate the initramfs to use the new kernel
New contributor
Your answer is correct, but please do not advise people to-Sy $package
, it is terrible advice and just leads to breakage.
– jasonwryan
yesterday
add a comment |
up vote
1
down vote
up vote
1
down vote
If the update was aborted and the kernel was in the process of being updated, you probably still have the initramfs of the the old kernel in your /boot
whilst having the new kernel installed which can prevent booting.
The easiest way to fix this would be to boot with an archlinux installation media, perform a chroot
and reinstall the kernel using pacman
# mount /dev/yourroodisk /mnt
# mount /dev/yourbootdisk /mnt/boot # if needed
# mount /dev/yourefipartition /mnt/boot/EFI # if you use EFI (optionnal)
# arch-chroot /mnt
# pacman -Sy linux
The files that should be modified are /boot/initramfs-linux.img
and /boot/initramfs-linux-fallback.img
so you probably don't need to mount the EFI partition
If for some reason you can't use pacman
, you can also launch mkinitcpio
by hand to regenerate the initramfs to use the new kernel
New contributor
If the update was aborted and the kernel was in the process of being updated, you probably still have the initramfs of the the old kernel in your /boot
whilst having the new kernel installed which can prevent booting.
The easiest way to fix this would be to boot with an archlinux installation media, perform a chroot
and reinstall the kernel using pacman
# mount /dev/yourroodisk /mnt
# mount /dev/yourbootdisk /mnt/boot # if needed
# mount /dev/yourefipartition /mnt/boot/EFI # if you use EFI (optionnal)
# arch-chroot /mnt
# pacman -Sy linux
The files that should be modified are /boot/initramfs-linux.img
and /boot/initramfs-linux-fallback.img
so you probably don't need to mount the EFI partition
If for some reason you can't use pacman
, you can also launch mkinitcpio
by hand to regenerate the initramfs to use the new kernel
New contributor
New contributor
answered yesterday
Fredszaq
1113
1113
New contributor
New contributor
Your answer is correct, but please do not advise people to-Sy $package
, it is terrible advice and just leads to breakage.
– jasonwryan
yesterday
add a comment |
Your answer is correct, but please do not advise people to-Sy $package
, it is terrible advice and just leads to breakage.
– jasonwryan
yesterday
Your answer is correct, but please do not advise people to
-Sy $package
, it is terrible advice and just leads to breakage.– jasonwryan
yesterday
Your answer is correct, but please do not advise people to
-Sy $package
, it is terrible advice and just leads to breakage.– jasonwryan
yesterday
add a comment |
up vote
0
down vote
The text can't access tty: job control turned off
is just a notification by the shell that job control doesn't work, that means that you can't stop a program with Ctrl+C or Ctrl+Z.
The problem is visible in the lines above, and maybe what is above that lines:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
mount: /new_root: unknown filesystem type 'ext4'
It seems the kernel modules are not found, and therefor no module ext4
, and therefor no mounting the ext4
root file system.
Most distributions don't delete the old kernel in case there is something wrong with the new one, so try to boot the previous kernel.
If that doesn't work, boot a live system and either install the previous kernel with matching modules, or the new one, or any kernel that works.
It's also possible that there was just something wrong with the creation of the initrd file system, that ext4
was not included for some reasons. In this case, you can boot a live system, recreate initrd with ext4
and reboot.
Arch does remove the old kernel. OP's issue is that /boot wasn't mounted during that upgrade so the installed modules do not match the kernel.
– jasonwryan
yesterday
@jasonwryan If /boot was not mounted, then the matching kernel and initrd should be in the root file system, so it should be possible to load them from there.
– RalfFriedl
20 hours ago
Not necessarily; actual /boot may get mounted over the top or the initrd could be corrupted. The only safe approach is to chroot and fix it.
– jasonwryan
20 hours ago
add a comment |
up vote
0
down vote
The text can't access tty: job control turned off
is just a notification by the shell that job control doesn't work, that means that you can't stop a program with Ctrl+C or Ctrl+Z.
The problem is visible in the lines above, and maybe what is above that lines:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
mount: /new_root: unknown filesystem type 'ext4'
It seems the kernel modules are not found, and therefor no module ext4
, and therefor no mounting the ext4
root file system.
Most distributions don't delete the old kernel in case there is something wrong with the new one, so try to boot the previous kernel.
If that doesn't work, boot a live system and either install the previous kernel with matching modules, or the new one, or any kernel that works.
It's also possible that there was just something wrong with the creation of the initrd file system, that ext4
was not included for some reasons. In this case, you can boot a live system, recreate initrd with ext4
and reboot.
Arch does remove the old kernel. OP's issue is that /boot wasn't mounted during that upgrade so the installed modules do not match the kernel.
– jasonwryan
yesterday
@jasonwryan If /boot was not mounted, then the matching kernel and initrd should be in the root file system, so it should be possible to load them from there.
– RalfFriedl
20 hours ago
Not necessarily; actual /boot may get mounted over the top or the initrd could be corrupted. The only safe approach is to chroot and fix it.
– jasonwryan
20 hours ago
add a comment |
up vote
0
down vote
up vote
0
down vote
The text can't access tty: job control turned off
is just a notification by the shell that job control doesn't work, that means that you can't stop a program with Ctrl+C or Ctrl+Z.
The problem is visible in the lines above, and maybe what is above that lines:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
mount: /new_root: unknown filesystem type 'ext4'
It seems the kernel modules are not found, and therefor no module ext4
, and therefor no mounting the ext4
root file system.
Most distributions don't delete the old kernel in case there is something wrong with the new one, so try to boot the previous kernel.
If that doesn't work, boot a live system and either install the previous kernel with matching modules, or the new one, or any kernel that works.
It's also possible that there was just something wrong with the creation of the initrd file system, that ext4
was not included for some reasons. In this case, you can boot a live system, recreate initrd with ext4
and reboot.
The text can't access tty: job control turned off
is just a notification by the shell that job control doesn't work, that means that you can't stop a program with Ctrl+C or Ctrl+Z.
The problem is visible in the lines above, and maybe what is above that lines:
Warning: /lib/modules/4.19.1-arch1-1-ARCH/modules.devname not found - ignoring
mount: /new_root: unknown filesystem type 'ext4'
It seems the kernel modules are not found, and therefor no module ext4
, and therefor no mounting the ext4
root file system.
Most distributions don't delete the old kernel in case there is something wrong with the new one, so try to boot the previous kernel.
If that doesn't work, boot a live system and either install the previous kernel with matching modules, or the new one, or any kernel that works.
It's also possible that there was just something wrong with the creation of the initrd file system, that ext4
was not included for some reasons. In this case, you can boot a live system, recreate initrd with ext4
and reboot.
answered yesterday
RalfFriedl
4,8372725
4,8372725
Arch does remove the old kernel. OP's issue is that /boot wasn't mounted during that upgrade so the installed modules do not match the kernel.
– jasonwryan
yesterday
@jasonwryan If /boot was not mounted, then the matching kernel and initrd should be in the root file system, so it should be possible to load them from there.
– RalfFriedl
20 hours ago
Not necessarily; actual /boot may get mounted over the top or the initrd could be corrupted. The only safe approach is to chroot and fix it.
– jasonwryan
20 hours ago
add a comment |
Arch does remove the old kernel. OP's issue is that /boot wasn't mounted during that upgrade so the installed modules do not match the kernel.
– jasonwryan
yesterday
@jasonwryan If /boot was not mounted, then the matching kernel and initrd should be in the root file system, so it should be possible to load them from there.
– RalfFriedl
20 hours ago
Not necessarily; actual /boot may get mounted over the top or the initrd could be corrupted. The only safe approach is to chroot and fix it.
– jasonwryan
20 hours ago
Arch does remove the old kernel. OP's issue is that /boot wasn't mounted during that upgrade so the installed modules do not match the kernel.
– jasonwryan
yesterday
Arch does remove the old kernel. OP's issue is that /boot wasn't mounted during that upgrade so the installed modules do not match the kernel.
– jasonwryan
yesterday
@jasonwryan If /boot was not mounted, then the matching kernel and initrd should be in the root file system, so it should be possible to load them from there.
– RalfFriedl
20 hours ago
@jasonwryan If /boot was not mounted, then the matching kernel and initrd should be in the root file system, so it should be possible to load them from there.
– RalfFriedl
20 hours ago
Not necessarily; actual /boot may get mounted over the top or the initrd could be corrupted. The only safe approach is to chroot and fix it.
– jasonwryan
20 hours ago
Not necessarily; actual /boot may get mounted over the top or the initrd could be corrupted. The only safe approach is to chroot and fix it.
– jasonwryan
20 hours ago
add a comment |
streethacker is a new contributor. Be nice, and check out our Code of Conduct.
streethacker is a new contributor. Be nice, and check out our Code of Conduct.
streethacker is a new contributor. Be nice, and check out our Code of Conduct.
streethacker is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481857%2farchlinux-failed-to-boot-cant-access-tty-job-control-turned-off%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Edit your question with the output of
pacman -Q linux && uname -r
.– jasonwryan
yesterday
@jasonwryan Sorry I can't make it. Since the last reboot, I can no longer login in my system, blocked by the
Warning
posted above. However I do remember that before the last reboot I executeduname -r
and the ouput kernel version was still 4.18.xxx– streethacker
yesterday
You need to chroot in, make sure
/
and/boot
are mounted and then reinstall linux.– jasonwryan
yesterday