LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-08-2009, 02:14 PM   #16
rm_dash_rf_star
Member
 
Registered: Nov 2007
Location: Seattle, WA
Distribution: LFS
Posts: 36

Rep: Reputation: 16

-k,

I did not post a new thread, because I found an old one with this problem:

http://www.linuxquestions.org/questi...anging-525350/

Basically---I/we need to set some Udev rules for the naming of our respective hard disks.

Then we will be able to unambiguously pass a root= option to the kernel---(root=/dev/hda1) for example.

We will also be able to fill out fstab with the correct device. (/ on /dev/hda1, /home on /dev/hda2, etc)

When the kernel gets to the point where it mounts the root of the filesystem, it will find the correct disk, mount it, and then pass control to SysVInit (/sbin/init), which will go through the boot scripts.

---rm_dash_rf_star
 
Old 01-08-2009, 02:18 PM   #17
rm_dash_rf_star
Member
 
Registered: Nov 2007
Location: Seattle, WA
Distribution: LFS
Posts: 36

Rep: Reputation: 16
Just one more thought:

When I recompiled my kernel last night, I used:

make ARCH=i386 defaultconfig (or something of that sort)

I found this configuration option in the README file under /sources/linux-version

Then, I did a `make menuconfig' and set a few more options (but nothing that I think made the difference).

I would highly recommend starting from this default configuration.---rm_dash_rf_star
 
Old 01-08-2009, 03:26 PM   #18
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Basically---I/we need to set some Udev rules for the naming of our respective hard disks.

Then we will be able to unambiguously pass a root= option to the kernel---(root=/dev/hda1) for example.

We will also be able to fill out fstab with the correct device. (/ on /dev/hda1, /home on /dev/hda2, etc)

When the kernel gets to the point where it mounts the root of the filesystem, it will find the correct disk, mount it, and then pass control to SysVInit (/sbin/init), which will go through the boot scripts.
To use udev persistent naming for your boot device you need to have an initial ram disk with udev in it. LFS doesn't have an initial ram disk.
 
Old 01-12-2009, 06:19 AM   #19
bines
Member
 
Registered: Dec 2008
Location: Hereford, UK
Distribution: LFS (when it's finished)
Posts: 30

Original Poster
Rep: Reputation: 16
I'm pleased to report that I have successfully completed my build of LFS version 6.3 using the Live CD. I had to study kernel configuration carefully and my system of restoring the environment after a shut-down now works flawlessly.

On to BLFS now. A quick look at the book indicates to me that I have a very great deal of work to do to work out what I need to do. I think a period with a reference book and an existing distribution is necessary first.

Now I've finally built the LFS system I would like to be able to save it out onto a CD for backup purposes - I wouldn't want to have to go through the whole build process again should it become corrupted. Is this possible and if so - can someone please point me in the right direction.

I am very grateful to every person who helped me in this and other posts. Without your kindness and encouragement I might not have got this far. Thanks to you all.

Allan
 
  


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
LXer: Will a $19.99 Ubuntu Succeed Where the Free Version Hasn't? LXer Syndicated Linux News 0 07-28-2008 02:30 PM
LXer: Live version of OpenSuse 10.3 is out LXer Syndicated Linux News 0 11-08-2007 11:00 AM
LXer: openSUSE 10.3 Live version available LXer Syndicated Linux News 0 11-03-2007 12:11 AM
best live cd version of linux mrobertson Linux - Newbie 1 05-24-2005 09:50 AM
How would I make my own version of a LIVE CD type of linux ullatec2003 Linux - General 3 11-01-2004 01:11 AM

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

All times are GMT -5. The time now is 03:42 PM.

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