Sorry for my last post, I wrote udev but I meant devtmpfs, which is said in section 8.3. Thanks for answering my off-topic questions, because I always mount my LFS entry to my host /etc/fstab. On the other hand about the question that I had posted a few months before. I had forgotten to mount my LFS system at the beginning (what a shame! :().
Edit: One thing that came to my mind now, one thing that I didn't do while going through LFS 7.2 book is in section 8.4, using GRUB to set up the boot process. I have dual-booted my laptop with Windows 7 and Linux Ubuntu, and I already have Grub 2.0 on my system. So I thought that because I already have Grub 2.0, I don't need to reinstall it, and that's why in section 8.4, where it says to use "grub-install /dev/sda", I skipped that part, and didn't execute that command, meaning I didn't installed grub. Can it be a problem? |
Hi
As you have added you lfs to ubuntu grub. Would it be an idea to boot lfs from grub prompt, Any thoughts Druuna sorry to but in. |
Quote:
You've choosen for the one that came with your host so you do not do the grub parts in the LFS book (use your host to add an entry for LFS, which you did). Just to make sure, can you post the LFS related grub.cfg entry? Quote:
|
This is the part regarding LFS in my host machines grub.cfg:
Quote:
|
Quote:
Why is the init=/bin/bash part there? It shouldn't be. This explains the lack of errors, the read-only FS and the minimal shell. Is my assumption correct that you added this entry by hand? If so, let ubuntu do the work with the update-grub command (must be root). |
Yes, I added that command by hand. Should I delete it and try booting my LFS, or should I just do update-grub without making any chance to my host grub.cfg, and then try booting my LFS?
|
Quote:
|
Thank you very much druuna. I really appreciate it. You saved my day!
After doing update-grub, my host machines grub.cfg changed to: Quote:
|
You can (re)set password for a user as root with the following command:
Code:
passwd username - above the first post -> Please Mark this thread as solved if you feel a solution has been provided. - -or- - - first post -> Thread Tools -> Mark this thread as solved |
All times are GMT -5. The time now is 07:37 PM. |