LinuxQuestions.org
Help answer threads with 0 replies.
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 07-12-2012, 10:16 PM   #1
phoenixfusion
LQ Newbie
 
Registered: Jul 2012
Posts: 16

Rep: Reputation: Disabled
LFS Version SVN-20120623 ls command doesnt display anything after boot and login


I have completed building LFS and am able to boot and login into root user but Im unable to view any of the folders such as home etc, var, etc...
The ls command doesnt show any files or folders.On the other hand when I chroot into lfs using my host system I can access everything. Also fr your information I have used my existing grub, Grub 2 and used grub customiser to automatically searchh and add the entry into the grub. I have also tried adding the entry in the below format to the 40_custom file to see if it works, it does get added and when i select it it says file not found and then press any key to continue and when I press it starts up into login alright. The first option (using grub customiser) doesnt even give me an error.
menuentry "GNU/Linux, Linux 3.4.3-lfs-SVN-20120623" {
set default=0
set timeout=5
insmod ext3
set root=(hd0,2)
linux /boot/vmlinuz-3.4.3-lfs-SVN-
20120623 root=/dev/sda7 ro
}

The problem is the same in both cases
ls shows nothing is there
and I cant see any of my files or dirctories, whereas I see them using chroot on my host system.

Please help!
 
Old 07-13-2012, 03:10 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

the command ls is in coreutils, can you run other commands. mkdir,chmod,df
 
Old 07-14-2012, 03:32 AM   #3
phoenixfusion
LQ Newbie
 
Registered: Jul 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
this is solved There was a space type in my fstab I fixed it and recompiled the kernel using devfs(I had missed out on actually marking it with pressing M instead of just pressing enter on the entry for devfs) and that fixed things, as for the grub issue Im using the gruub entry made by grub configurator an easy to use app that made my life easier, It automatiically scans for kernels and then updates the grub. Its crazy how a few silly mistake can cause such damage and time wastage...!
 
  


Reply



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
[SOLVED] LFS Version SVN-20120623 gcc build 2 esornep Linux From Scratch 17 07-05-2012 08:34 AM
[SOLVED] pure 32 bit LFS Version SVN-20110110 trouble installing libX11 in BLFS mcamp73 Linux From Scratch 4 01-22-2011 03:42 AM
Horrible ordeal trying to boot LFS. Tried older version - won't boot either Lyle Linux From Scratch 9 05-20-2010 08:56 PM
A little disappointed, has anyone built the SVN version of LFS? z3r0.0v3rrid3 Linux From Scratch 5 06-29-2007 06:28 AM
doesnt boot login screen scobe Linux - General 3 07-01-2006 02:28 PM

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

All times are GMT -5. The time now is 07:11 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