LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   How can I succeed with the Live CD version 6.3? (https://www.linuxquestions.org/questions/linux-from-scratch-13/how-can-i-succeed-with-the-live-cd-version-6-3-a-693654/)

rm_dash_rf_star 01-08-2009 02:14 PM

-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

rm_dash_rf_star 01-08-2009 02:18 PM

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

bgeddy 01-08-2009 03:26 PM

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.

bines 01-12-2009 06:19 AM

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


All times are GMT -5. The time now is 06:51 AM.