[Bug 863134] Re: Kernel update fails due to grub update
Alkis Georgopoulos
863134 at bugs.launchpad.net
Fri Feb 17 06:56:09 UTC 2012
Fixed in LTSP 5.3. You can now use `ltsp-chroot -m` to have /dev mounted
so that the grub postinst doesn't fail. I'm opening a task to the grub
package though, as I think that it shouldn't fail when it doesn't detect
any devices, it should consider it the same as not selecting any device
at its debconf dialog.
** Also affects: grub (Ubuntu)
Importance: Undecided
Status: New
** Changed in: ltsp (Ubuntu)
Status: New => Fix Released
** Changed in: ltsp (Ubuntu)
Assignee: (unassigned) => Alkis Georgopoulos (alkisg)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/863134
Title:
Kernel update fails due to grub update
Status in Linux Terminal Server Project:
Fix Released
Status in “grub” package in Ubuntu:
New
Status in “ltsp” package in Ubuntu:
Fix Released
Bug description:
LTSP client is running Ubuntu 11.04
I had problems during an update in the chroot that wanted to update to
kernel 2.6.38-11.50. This was the first time a kernel update was
performed on this image so it's the first time I could run into this
problem.
The installation process runs /etc/kernel/postinst.d/zz-update-grub,
which exits with an error because it can't find the root partition.
There is no root partition mounted because the update is performed in
chroot.
I had the same problem when I tried to perform the update on a running
client system. In this case the problem was due to root being on an
aufs disk rather than on an actual harddisk.
I came to the conclusion that an LTSP image doesn't have to have a
working grub because it doesn't boot from disk. My solution: „chmod -x
/etc/kernel/postinst.d/zz-update-grub“.
If my thinking is correct I suggest that zz-update-grub be removed
from the directory when the LTSP client tree is first created.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/863134/+subscriptions
More information about the foundations-bugs
mailing list