[arch-general] Failed kernel update
Hi All .. Had a kernel update fail yesterday core dumped part way thru the install of the new Kernel this has left the system unbootable . I am fairly sure i can fix the problem booting from the latest Arch cd but cant quite find the right method . Help please other than this the system has been great for a long time ... Pete . -- Linux voyager 3.6.2-1-ARCH #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012 x86_64 GNU/Linux
Hey,
On 23 August 2015 at 23:02, Peter Nikolic
Had a kernel update fail yesterday core dumped part way thru the install of the new Kernel this has left the system unbootable .
I am fairly sure i can fix the problem booting from the latest Arch cd but cant quite find the right method .
I would try to arch-chroot into the broken system and reinstall the kernel package with pacman. I'd think that should fix it. -- Maarten
On Sun, 23 Aug 2015 23:12:07 +0200
Maarten de Vries
Hey,
On 23 August 2015 at 23:02, Peter Nikolic
wrote: Had a kernel update fail yesterday core dumped part way thru the install of the new Kernel this has left the system unbootable .
I am fairly sure i can fix the problem booting from the latest Arch cd but cant quite find the right method .
I would try to arch-chroot into the broken system and reinstall the kernel package with pacman. I'd think that should fix it.
-- Maarten
This, or use pacman's --root option from the live environment. Doug
On Sun, Aug 23, 2015 at 5:49 PM, Doug Newgard
On Sun, 23 Aug 2015 23:12:07 +0200 Maarten de Vries
wrote: Hey,
On 23 August 2015 at 23:02, Peter Nikolic
wrote: Had a kernel update fail yesterday core dumped part way thru the install of the new Kernel this has left the system unbootable .
I am fairly sure i can fix the problem booting from the latest Arch cd but cant quite find the right method .
I would try to arch-chroot into the broken system and reinstall the kernel package with pacman. I'd think that should fix it.
-- Maarten
This, or use pacman's --root option from the live environment.
Doug
If you get a chance, and aren't completed disgusted by the time you've tried all the rescue methods, report back on your experiences if possible.
On Sun, 23 Aug 2015 20:03:58 -0400, David Kaylor wrote:
If you get a chance, and aren't completed disgusted by the time you've tried all the rescue methods, report back on your experiences if possible.
Assumed the OP has got a multi-boot it's very easy.
[weremouse@moonstudio ~]$ sudo systemd-nspawn -qD /mnt/archlinux
[sudo] password for weremouse:
Failed to create directory /mnt/archlinux/sys/fs/selinux: No such file
or directory Failed to create directory /mnt/archlinux/sys/fs/selinux:
No such file or directory
[root@archlinux ~]# pacman -Si linux
Repository : core
Name : linux
Version : 4.1.5-1
Description : The Linux kernel and modules
Architecture : x86_64
URL : http://www.kernel.org/
Licenses : GPL2
Groups : base
Provides : kernel26=4.1.5
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Deps : crda: to set the correct wireless channels of your
country
Conflicts With : kernel26
Replaces : kernel26
Download Size : 56.44 MiB
Installed Size : 73.44 MiB
Packager : Tobias Powalowski
On Sun, 23 Aug 2015 16:49:14 -0500
Doug Newgard
On Sun, 23 Aug 2015 23:12:07 +0200 Maarten de Vries
wrote: Hey,
On 23 August 2015 at 23:02, Peter Nikolic
wrote: Had a kernel update fail yesterday core dumped part way thru the install of the new Kernel this has left the system unbootable .
I am fairly sure i can fix the problem booting from the latest Arch cd but cant quite find the right method .
I would try to arch-chroot into the broken system and reinstall the kernel package with pacman. I'd think that should fix it.
-- Maarten
This, or use pacman's --root option from the live environment.
Doug
Morning all Ok Doug i think that may be the one i was looking for will give it a go tonight and report back .. No Dual or multi boot here 2 machines both Arch linux only . Thanks Pete . -- Linux voyager 3.6.2-1-ARCH #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012 x86_64 GNU/Linux
On 23 August 2015 at 23:49, Doug Newgard
On Sun, 23 Aug 2015 23:12:07 +0200 Maarten de Vries
wrote: I would try to arch-chroot into the broken system and reinstall the kernel package with pacman. I'd think that should fix it.
This, or use pacman's --root option from the live environment.
Doug
Would that work correct with the post install/upgrade hooks running mkinitcpio? I would chroot anyway, to make sure. -- Maarten
On Mon, 24 Aug 2015 10:46:33 +0200
Maarten de Vries
On 23 August 2015 at 23:49, Doug Newgard
wrote: On Sun, 23 Aug 2015 23:12:07 +0200 Maarten de Vries
wrote: I would try to arch-chroot into the broken system and reinstall the kernel package with pacman. I'd think that should fix it.
This, or use pacman's --root option from the live environment.
Doug
Would that work correct with the post install/upgrade hooks running mkinitcpio?
I would chroot anyway, to make sure.
-- Maarten
Yes, it would work fine. Doug
On 24 August 2015 at 15:14, Doug Newgard
On Mon, 24 Aug 2015 10:46:33 +0200 Maarten de Vries
wrote: Would that work correct with the post install/upgrade hooks running mkinitcpio?
Yes, it would work fine.
Doug
Ah, so pacman/alpm itself chroots into the root directory for the post install/upgrade scripts? That is useful to know. -- Maarten
participants (5)
-
David Kaylor
-
Doug Newgard
-
Maarten de Vries
-
Peter Nikolic
-
Ralf Mardorf