[Bug 863134] [NEW] Kernel update fails due to grub update
Matthew Wyneken
863134 at bugs.launchpad.net
Fri Sep 30 09:26:56 UTC 2011
Public bug reported:
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.
** Affects: ltsp
Importance: Undecided
Status: New
** Affects: ltsp (Ubuntu)
Importance: Undecided
Status: New
** Tags: grub kernel ltsp
** Also affects: ltsp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/863134
Title:
Kernel update fails due to grub update
Status in Linux Terminal Server Project:
New
Status in “ltsp” package in Ubuntu:
New
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