Merell L. Matlock, Jr. wrote: > On 01/28/14 12:13, Bruce Dubbs wrote: >> Merell L. Matlock, Jr. wrote: >>> Hopefully, I'm posting to the right list...my Duck-Duck-Go/Google-fu has >>> finally abandoned me. >>> >>> My (B)LFS system is complete and screaming right along, except for one >>> little issue...GRUB. >>> >>> I had originally installed Mint 15 to be my host for LFS build. Mint's >>> grub properly detected the Win 7 partition, and when I was finished with >>> LFS, detected that as well. >>> >>> I haven't been back to either Mint or Win 7 since my original LFS boot, >>> and I would really like to have all the GRUB info/configs on my BLFS >>> system, but really have no idea (and can't seem to locate any hints) to >>> accomplish this. >>> >>> Ideas or pointers would be deeply appreciated. >> >> GRUB was built in LFS Chapter 6 and the configuration covered in LFS >> Chapter 8. If you already installed GRUB, I hope you made a copy of >> grub.cfg. You can try to run grub-mkconfig to see if it finds mint >> and W7. Make a backup of a working grub.cfg first. >> >> -- Bruce >> >> > <Re-post to LFS-Support> > > I heeded the very *first* warning in Chap 8.4. All of the grub > configuration/information is in the /boot directory in the mint > partition. I didn't install grub on LFS.
That's fine, but the LFS kernel needs to be in mint's /boot. That type of problem is one reason why I always recommend a separate /boot partition. That way all distros use the same one. > Then there is this, from grub info: > > * At least on BIOS systems, if you tell `grub-install' to install grub > to a partition but grub has already been installed in the master boot > record, then the grub installation in the partition will be ignored. I don't know how GRUB would install itself to a partition. I don't know where there is space. > Anyway, I went ahead and installed grub and overwrote the MBR. Booted > fine, but mkconfig did not find the mint or win7 partitions. That's because it only looked in the LFS /boot directory. > I copied > over the menu entries from the mint partition and all is ok. I would expect that. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page