LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713

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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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 Images
File Type: jpeg screenshot.jpeg (117.1 KB, 11 views)

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: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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 Images
File Type: jpeg screenshot.jpeg (86.2 KB, 9 views)

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: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 11:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration