On 06/10/2015 11:11, Richard Melville wrote:
On 6 October 2015 at 08:15, Hazel Russman <hazeldeb...@googlemail.com> wrote:

And what happens when a package manager in another system wants to update GRUB? 
Apt does this rather frequently. Do you mount your common boot partition on the 
other system's /boot and let apt replace the grub.cfg file that you hand-wrote 
for LFS?

I have Mint and LFS on a laptop with grub, and right now I'm doing all the grub 
work in Mint, but it's not a solution I like very much. Which is why on my main 
computer I use lilo, not grub.

Another option: have you tried "sudo apt-mark hold package_name" which
will lock a package and stop it being upgraded by apt?  You can later,
if you wish, remove the "hold" using the same command but substituting
"hold" with "unhold".

Richard
It does not work for Hazel's case, because a lot of package updates trigger GRUB updating, and you can't hold all of them.

There are several solutions, none is really satisfactory:
- edit the files in /etc/grub.d, so that the LFS part is not overwritten by grub-mkconfig.
- backup grub.cfg, and merge it with the newly generated one after updates.
- let Debian find the LFS partitions and create entries for it. That sometimes generate a lot of rubbish. I have only 2 partitions, one with debain and the other with LFS, and it works for me, except that the LFS initrd is ignored.

Pierre

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to