Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
`/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
So for the past month or so, I've been trying to build LFS through Virtualbox and the old LiveCD they had. After trouble in Chapter 6, I decided to try it out on an actual harddrive, running SalixOS and LFS has been a breeze since. After 2 days of speedily catching up and getting ahead, I've made it to Chapter 8, where the boot stuff occurs (GRUB), but now I have ran into this error. FIrst of all, I am under the impressiont hat this section is optional and I can just edit the current grub loader I have (booting Salix) to load my LFS build instead. Is this true? Anyway, I was wondering if there were any ideas where this error could be coming from? I was digging around a bit and it seems like this error usually results from forgetting to mount certain things. I've assured that everything is mounted (as in chapter 6.2 and 6.2.3) and I am doing this through chroot.
I also tried to ./configure inside the grub source directory and then;
Code:
root:/boot# cd grub/
root:/boot/grub# ls
i386-pc locale
But still got the same error.
Then I tried to boot with USB according to the instructions on this post (digging through LQ):
On the systems I have with grub2, I see at least a grub.cfg file also in that directory.
Also, in each menuentry there should be a separate set root= line. The set root line you posted "set root=(hd1,2)" is sdb2 while on the linux line you have the root=/dev/sda2. I'm really not sure what you are doing here. If you are not able to figure this out, you might do a google for 'bootinfoscript', download and run it from an Linux and post the output here for help. It should output a file called results.txt.
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate. This time I've copied the relevant answers in this thread to the other in LFS forum, but please refrain from doing it in the future.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.