On 06/15/2014 08:16 AM, Luis Muñoz Fuente wrote:
El 14/06/14 a las 19:27:31, ALZ (phyglos.org) escribió:
I hope this is a typo and you built all your LFS system with:
mount /dev/sda3 /mnt/lfs
Yes, I built with mount /dev/sda3 /mnt/lfs
This statement conflicts with one in your previous post. You posted
I have mounted /dev/sda3 to
/mnt/lfs throughout the build of LFS, and I have now:
ls /mnt/lfs/lfs/
bin boot dev etc home lib media mnt opt proc root run sbin
sources srv sys tmp usr var
Is /mnt/lfs/lfs correct?
This indicates that you mounted sda3 to /mnt/lfs/lfs and not /mnt/lfs.
ALZ just posted what I was about to write. I won't repeat it.
You've spent a lot of time trying to get update-grub to work the way you
want. If you want to boot LFS, you could just make an entry in your
current grub.cfg for it. Yes, if you keep your debian distro up to
date, it will run update-grub from time to time. When it does, you'd
have manually input your LFS in grub.cfg again.
You said you modified 40_custom file in /etc/grub.d and then run
update-grub. This 40_custom file should be left intact with regards LFS.
It will be the 30_os-prober script that will be able to find your LFS
boot partition if correctly built and placed.
Yes, I made it but update-grub doesn't find lfs
Does "update-grub doesn't find lfs" mean that in your new grub.cfg there
is no entry for lfs? If not and your 40_custom changes in /etc/grub.d
hasn't somehow changed, then there is an error in your entry.
When you say, "update-grub doesn't find lfs" you're implying that
os-prober, part of your debian system, isn't working the way you want.
If what you're really saying is, "After I changed 40_custom in grub.d,"
that's a completely different situation.
You can function and boot with /dev/sda3 mounted at /mnt/lfs/lfs, but
all the {,B}LFS procedures are pointed at /mnt/lfs. And anyway, once
your system is complete, /dev/sda3 is mounted at /.
Dan
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page