Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
06-09-2011, 02:13 PM
|
#31
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Pass 2 is finished! On to "Part 3: Building the LFS System"...
|
|
|
|
06-11-2011, 04:25 PM
|
#32
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Success!
I just finished the LFS book, rebooted the VM, and it works!
I'll move on to BLFS now.
Last edited by MTK358; 06-11-2011 at 04:29 PM.
|
|
|
|
06-12-2011, 02:00 AM
|
#33
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Ho MTK358,
Always nice to read when someone successfully finishes LFS 
|
|
|
|
06-12-2011, 08:32 AM
|
#34
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
I had to un-mark this thread as solved, since I have an issue: it won't boot any more. The first boot worked fine, I played around with the config files they talked about in the BLFS book, and when shutting it down I accidentally typed "shutdown -r now" instead of "shutdown -h now". So I decided to wait for it to reboot and then I'll type the correct command. But it failed to boot! I tried again today, and it still doesn't work.
What happens if it seems to work fine, but it just reaches this point and freezes. How can I fix it?
Last edited by MTK358; 06-12-2011 at 08:33 AM.
|
|
|
|
06-12-2011, 10:27 AM
|
#35
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
There's not enough info in the posted attachment. Can you post what's above it (first none similar line and say 5 lines above and below that)?
Looking at the output it seems some process is having trouble figuring out the input/output controls for your (virtual) hard drive and cdrom. I don't have a solution at the moment, but maybe with some more info we can figure it out.
|
|
|
|
06-12-2011, 10:33 AM
|
#36
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Quote:
Originally Posted by druuna
Can you post what's above it
|
How am I supposed to do that?
Last edited by MTK358; 06-12-2011 at 11:00 AM.
Reason: typo
|
|
|
|
06-12-2011, 10:57 AM
|
#37
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
Quote:
Originally Posted by MTK358
How am I supposed to so that?
|
Doesn't <shift>-<page up> work? Or one of the options that comes with oracle's VM (which I'm not familiar with)?
Are you at all able to access the (virtual) disk you used to build LFS and make changes to its content? If not then this is academic.....
Hope this helps.
|
|
|
|
06-12-2011, 11:04 AM
|
#38
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Quote:
Originally Posted by druuna
Hi,
Doesn't <shift>-<page up> work?
|
No. It only works when I'm in a shell.
Quote:
Originally Posted by druuna
Are you at all able to access the (virtual) disk you used to build LFS and make changes to its content? If not then this is academic.....
|
I'm not sure how. Maybe I can find a tool that can convert VirtualBox's disk format to another, but how would I modify it (especially without screwing up the permissions)?
|
|
|
|
06-12-2011, 11:24 AM
|
#39
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
Quote:
Originally Posted by MTK358
I'm not sure how. Maybe I can find a tool that can convert VirtualBox's disk format to another, but how would I modify it (especially without screwing up the permissions)?
|
If you would be able to mount it from another linux box for example you could chroot into LFS again. You might not even need the chrooted environment, root on one linux box equals root on another, restoring/editing the config files you tinkered with can be done using your hosts root user.
Hope this helps.
|
|
|
|
06-12-2011, 11:26 AM
|
#40
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Quote:
Originally Posted by druuna
Hi,
If you would be able to mount it from another linux box for example you could chroot into LFS again. You might not even need the chrooted environment, root on one linux box equals root on another, restoring/editing the config files you tinkered with can be done using your hosts root user.
Hope this helps.
|
I can boot the LFS Live CD and then chroot into the LFS system on the disk.
|
|
|
|
06-12-2011, 11:34 AM
|
#41
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
I have to take your word for that. I thought you build your LFS system inside a VM, which leaves you with a disk-image if I'm not mistaken. I would not know how to access it from the LFS liveCD.
|
|
|
|
06-12-2011, 11:37 AM
|
#42
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Quote:
Originally Posted by druuna
I have to take your word for that. I thought you build your LFS system inside a VM, which leaves you with a disk-image if I'm not mistaken. I would not know how to access it from the LFS liveCD.
|
I don't understand what you're talking about. This is just like you can boot a Live CD in a physical machine and mount the hard drive.
EDIT: I attached a screenshot:
Last edited by MTK358; 06-12-2011 at 11:52 AM.
|
|
|
|
06-12-2011, 12:26 PM
|
#43
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
That looks promising (and shows I know even less about VM's then I though  )
I do hope you remember which config files you edited and how to restore them to their original state. You at least have a way to reach and edit them now.
|
|
|
|
06-12-2011, 12:56 PM
|
#44
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
All I modified is:
Code:
/etc/profile
/etc/profile.d/*
/etc/bashrc
/etc/skel/*
/etc/issue
|
|
|
|
06-13-2011, 09:26 AM
|
#45
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Anyone?
I really have no clue about what to do or where to start. And I don't even understand what is going wrong.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|