[arch-general] Change kernel version or module dir at bootprompt?
t.powa at gmx.de
Sun Dec 2 04:20:09 EST 2007
Am Samstag, 1. Dezember 2007 schrieb w9ya at qrparci.net:
> Hey gang;
> I also wanted a backup/fallback to a previous version kernel without
> necessarily wanting to insert a disc. SO, apparently had someone else
> (wide-eye to be specific);
> It might well require some manual tweeking, (as I recall I HAD TO mess
> about a bit,) but try a "yaourt archrescue". I am using the .08-1 version
> here on my laptop to 'solve' this little picadillo.
> Very best regards;
> Bob Finch
> > On Sat, Dec 01, 2007 at 05:05:46PM +1100, James Rayner wrote:
> >> the kernel version is also embedded into the individual modules, so
> >> you'd have to modify the kernel and every module. You might be able to
> >> do some ugly sed trickery, but I really discourage it -- you're asking
> >> for trouble.. and it probably won't work.
> >> For a 2.6.22 to 2.6.23 type change though, yes you could just backup
> >> the kernel and modules before upgrading, upgrade, rename the kernel
> >> vmlinuz and put them back again -- though they'd then be out of
> >> pacman's control.
> >> Why would you want to do something like this anyway?
> > For a faster and easier restoring in case 2.6.23 doesn't boot?
> > I thought that always having two kernel entries, one of them known to
> > work, was a good and safe practice.
> > I'm not saying this is a critical problem to fix, because :
> > 1) kernels don't break that often
> > 2) booting with a livecd and fixing stuff there isn't that hard
> > But it's still a problem. There was a request for a fallback kernel, but
> > it was apparently rejected :
> > http://bugs.archlinux.org/task/7926
Why you jsut don't use the installation ISO kernel and initrd?
you get everything to rescue from it and it includes everything.
no hacks at all only enter it in your grub.
you can also boot into your existing system with it.
Archlinux Developer & Package Maintainer (tpowa)
tpowa at archlinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the arch-general