LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-19-2004, 04:50 AM   #1
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Rep: Reputation: 15
mount proc crashes


When I carried out the mounting of /proc near the beginning of chapter 6, it falls over with a 'segmentation fault' initally, and just hangs up completely the second time. I then reset the machine and tried again, after doing chroot, and it gives an error about "/etc/mstab~" (can't remember the exact words), recommending I use "-n". So I add "-n" to the mount command and it seems to do it OK.
I know I have seemingly carried out the mount successfully eventually, but I'm a little concerned about these problems that occured.
 
Old 03-20-2004, 03:11 AM   #2
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
You mount the $LFS /proc and $LFS devpts all before you enter the chroot enviroment. Doing it after would give you the /etc/fstab or /etc/mstab errors as you havnt created those files yet!
 
Old 03-20-2004, 12:20 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
It depends which book you're following. LFS 5 mounts proc after chrooting but current CVS versions of the book do it before you chroot..
 
Old 03-23-2004, 03:29 AM   #4
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Original Poster
Rep: Reputation: 15
I just did what the book told me, which is to do after chroot. I'll try it before chroot in the future to see if it goes away now.
 
Old 03-24-2004, 09:49 AM   #5
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Original Poster
Rep: Reputation: 15
Yep, doing it before chroot seems to be clean now, and not needing -n.
 
  


Reply


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
Firewire Maxtor drive showing up in /proc but not /dev, can't mount darkbluedrew Linux - Newbie 1 09-17-2005 06:33 PM
Unable to mount proc on boot - RH8 mikca Linux - Software 3 06-05-2005 10:17 PM
fedora crashes when mount floppy mrosati Fedora 7 01-02-2004 04:04 AM
My linux can't mount /proc, it won't start grimbys Linux - General 4 10-15-2003 02:24 PM
proc won't mount ccool Linux From Scratch 13 10-20-2002 02:36 PM

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

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