X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by mail.alpinelinux.org (Postfix) with ESMTP id 7D31227435B6 for ; Wed, 3 Aug 2011 13:53:12 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id CF7A4AE4002 for ; Wed, 3 Aug 2011 13:53:11 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UqeD7Zd3w2qx for ; Wed, 3 Aug 2011 13:53:11 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id DED15AE4001 for ; Wed, 3 Aug 2011 13:53:10 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 8BB9860A86A54 for ; Wed, 3 Aug 2011 13:53:10 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (ncopa-desktop.nor.wtbts.net [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 6D2AB60A86A53 for ; Wed, 3 Aug 2011 13:53:09 +0000 (UTC) Date: Wed, 3 Aug 2011 15:53:09 +0200 From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] kernels and booting Message-ID: <20110803155309.199dc67e@ncopa-desktop.nor.wtbts.net> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.5; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Hi, So now again the update-extlinux called from syslinux trigger script has caused my box unbootable. Now I want fix this. The question is how? The problems we want solve is: * If you upgrade your kernel you should have a fallback alternative in case new kernel is broken some how. * Should be possible to pick from a menu. * If you upgrade the extlinux.conf should pick the newest kernel by default. Previously I have done, install 2 kernels, grsec and vserver. if grsec kernel break i can always boot up the server one. I had a onetime generated extlinux.conf. If i added a kernel I needed to manually modify extlinux.conf. The extlinux.conf used vmlinuz-grsec and initramfs-grsec which was symlinks to latest kernel. The problem here was that when installing a new kernel there was some manual work to get it working. So update-extlinux showed up. It parses the /boot and overwrites extlinux.conf, without taking any backup of the current. So if you multiboot, good bye to your custom ubuntu or fedora or windows boot entry. Now my laptop is also unbootable so I have disabled the syslinux trigger til 1) we have figured out how it should be solved, 2) implemtened the solution with all the factors in consideration (like multi OS booting), 3) have tested it that it works in most cases. Any ideas how this should ideally work? How do we provide backup kernel if kernel upgrade break you box? How do we generate the boot menu and keep it updated with newer kernels? -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---