Stephen Liu wrote:
Also, forget about the hints, they need adjustment in order to work
with
today's LFS. In Lesson 20, you will have a better CD if you succeed
in all previous lessons.
Please advise "Lesson 20" of which document you referred to. Tks.
My future email.
Run the following commands:
cd /mnt
mkisofs -R -o cdrom.iso lfs
They will make a non-bootable CD image with your LFS. Burn it.
Noted with thanks. One additional question; can I test-run the LiveCD
after its building finished but before creating its ISO image?
How are you going to test it? If "chroot and see if my programs work",
then yes. If "reboot", this will work for now, but not for future
lessons when we will modify the bootscripts.
Then copy the kernel from /mnt/lfs/boot to /boot/lfscdkernel, and add
it
to your bootloader for dual booting.
Here I have some confusion. It is necessary to recompile the kernel of
the LiveCD to enable IDE CD-ROMs support and ISO-9660 filesystem as
non-modules, etc. Whether after compilation while still on
/mnt/livecd/usr/src/linux-2.6.11.12/ Run;
# cp /arch/i386/boot/bzImage /mnt/livecd/boot/lfskernel && cp
System.map /mnt/livecd/boot/
If I'm wrong please correct me.
Do anything you want to. The end result should be:
arch/i386/boot/bzImage copied to /boot/lfscdkernel and added to GRUB
with the "root=/dev/hdb" argument (or where your CD-ROM really is).
Besides shall I leave the recompilation of kernel to last step of
building LiveCD?
No, this is in fact the first step. I want to make sure that you get the
kernel right before doing anything else. By posting the error message
from bootscripts, you will confirm that you did the kernel step right.
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page