modules.devname not found after updating process was cancelled
I can't boot into my Arch system after updating was canceled in the middle of it.
When I'm trying to boot it shows this message
Warning: /lib/modules/4.19.25-1-lts/modules.devname not found - ignoring starting version 239
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 ]# _
When this message is shown I can't really type anything so I used live-usb.
My system has 3 partitions:
boot
(~500mb);
swap
(~16Gb) ;- another one that contains all the data and is the biggest one, I'll call this partition
home
.
In live-usb I've mounted:
home
to/mnt
boot
to/mnt/boot
Then I did these steps:
arch-chroot /mnt
sudo pacman -S linux-lts
(I used lts before)mkinitcpio -p linux-lts
exit
reboot
It didn't help.
One thing I noticed, after I arch-chroot'ed into the /mnt and typed uname -r
, it showed me an older version that starts with 4.18. After I've performed steps 1, 2 and 3, I used uname -r
again, and it still showed me the same old version 4.18..
What could be the source of this problem and how do I fix it?
UPDATE:
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
arch-linux boot
add a comment |
I can't boot into my Arch system after updating was canceled in the middle of it.
When I'm trying to boot it shows this message
Warning: /lib/modules/4.19.25-1-lts/modules.devname not found - ignoring starting version 239
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 ]# _
When this message is shown I can't really type anything so I used live-usb.
My system has 3 partitions:
boot
(~500mb);
swap
(~16Gb) ;- another one that contains all the data and is the biggest one, I'll call this partition
home
.
In live-usb I've mounted:
home
to/mnt
boot
to/mnt/boot
Then I did these steps:
arch-chroot /mnt
sudo pacman -S linux-lts
(I used lts before)mkinitcpio -p linux-lts
exit
reboot
It didn't help.
One thing I noticed, after I arch-chroot'ed into the /mnt and typed uname -r
, it showed me an older version that starts with 4.18. After I've performed steps 1, 2 and 3, I used uname -r
again, and it still showed me the same old version 4.18..
What could be the source of this problem and how do I fix it?
UPDATE:
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
arch-linux boot
add a comment |
I can't boot into my Arch system after updating was canceled in the middle of it.
When I'm trying to boot it shows this message
Warning: /lib/modules/4.19.25-1-lts/modules.devname not found - ignoring starting version 239
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 ]# _
When this message is shown I can't really type anything so I used live-usb.
My system has 3 partitions:
boot
(~500mb);
swap
(~16Gb) ;- another one that contains all the data and is the biggest one, I'll call this partition
home
.
In live-usb I've mounted:
home
to/mnt
boot
to/mnt/boot
Then I did these steps:
arch-chroot /mnt
sudo pacman -S linux-lts
(I used lts before)mkinitcpio -p linux-lts
exit
reboot
It didn't help.
One thing I noticed, after I arch-chroot'ed into the /mnt and typed uname -r
, it showed me an older version that starts with 4.18. After I've performed steps 1, 2 and 3, I used uname -r
again, and it still showed me the same old version 4.18..
What could be the source of this problem and how do I fix it?
UPDATE:
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
arch-linux boot
I can't boot into my Arch system after updating was canceled in the middle of it.
When I'm trying to boot it shows this message
Warning: /lib/modules/4.19.25-1-lts/modules.devname not found - ignoring starting version 239
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 ]# _
When this message is shown I can't really type anything so I used live-usb.
My system has 3 partitions:
boot
(~500mb);
swap
(~16Gb) ;- another one that contains all the data and is the biggest one, I'll call this partition
home
.
In live-usb I've mounted:
home
to/mnt
boot
to/mnt/boot
Then I did these steps:
arch-chroot /mnt
sudo pacman -S linux-lts
(I used lts before)mkinitcpio -p linux-lts
exit
reboot
It didn't help.
One thing I noticed, after I arch-chroot'ed into the /mnt and typed uname -r
, it showed me an older version that starts with 4.18. After I've performed steps 1, 2 and 3, I used uname -r
again, and it still showed me the same old version 4.18..
What could be the source of this problem and how do I fix it?
UPDATE:
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
arch-linux boot
arch-linux boot
edited Mar 4 at 14:49
Jeff Schaller
43.4k1160140
43.4k1160140
asked Feb 25 at 10:47
Chaz AshleyChaz Ashley
112
112
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I've solved it.
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f502837%2fmodules-devname-not-found-after-updating-process-was-cancelled%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I've solved it.
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
add a comment |
I've solved it.
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
add a comment |
I've solved it.
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
I've solved it.
It happened to be that I was using custom initramfs and it wasn't updated. So I changed names of used initramfs back to initramfs-linux-lts.img (or something like that) in my grub.cfg file and system started to boot.
answered Feb 25 at 12:22
Chaz AshleyChaz Ashley
112
112
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f502837%2fmodules-devname-not-found-after-updating-process-was-cancelled%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