LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 06-09-2011, 02:13 PM   #31
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723

Pass 2 is finished! On to "Part 3: Building the LFS System"...
 
Old 06-11-2011, 04:25 PM   #32
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Thumbs up 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.
 
Old 06-12-2011, 02:00 AM   #33
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Ho MTK358,

Always nice to read when someone successfully finishes LFS
 
Old 06-12-2011, 08:32 AM   #34
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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?
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpeg
Views:	26
Size:	117.1 KB
ID:	7302  

Last edited by MTK358; 06-12-2011 at 08:33 AM.
 
Old 06-12-2011, 10:27 AM   #35
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 06-12-2011, 10:33 AM   #36
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by druuna View Post
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
 
Old 06-12-2011, 10:57 AM   #37
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by MTK358 View Post
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.
 
Old 06-12-2011, 11:04 AM   #38
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by druuna View Post
Hi,
Doesn't <shift>-<page up> work?
No. It only works when I'm in a shell.

Quote:
Originally Posted by druuna View Post
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)?
 
Old 06-12-2011, 11:24 AM   #39
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by MTK358 View Post
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.
 
Old 06-12-2011, 11:26 AM   #40
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by druuna View Post
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.
 
Old 06-12-2011, 11:34 AM   #41
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 06-12-2011, 11:37 AM   #42
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by druuna View Post
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:
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpeg
Views:	22
Size:	86.2 KB
ID:	7303  

Last edited by MTK358; 06-12-2011 at 11:52 AM.
 
Old 06-12-2011, 12:26 PM   #43
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 06-12-2011, 12:56 PM   #44
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
All I modified is:

Code:
/etc/profile
/etc/profile.d/*
/etc/bashrc
/etc/skel/*
/etc/issue
 
Old 06-13-2011, 09:26 AM   #45
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Anyone?

I really have no clue about what to do or where to start. And I don't even understand what is going wrong.
 
  


Reply

Tags
flags, glibc, lfs, make



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upcoming pain with glibc-2.14 and Linux-PAM: RPC build supt. is removed from glibc! JoelPB Linux From Scratch 6 12-13-2011 06:31 AM
ERROR:During Making of glibc-build(GLIBC-2.12.1) gau190188 Linux From Scratch 1 01-04-2011 05:19 AM
64-bit VirtualBox host running a single 32-bit guest, good idea? FireRaven Linux - Virtualization and Cloud 10 04-03-2010 03:21 PM
Puzzling glibc-build question... sundialsvcs Linux From Scratch 2 09-18-2005 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration