Hi Alexander,
Following;
http://www.linuxfromscratch.org/hints/downloads/files/bootcd-2.6-udev-nptl.txt
I finished building BLFS LiveCD and burned it on CD-RW, all files not
being compressed except /usr which was compressed with squashfs; (ISO
image size about 430MB)
compressed /usr as usr.sqfs
removed /usr
mkdir /usr
mount usr.sqfs /usr/
all went through without complaint
Now the adventure started. On booting it popup
Verify DM1 Pool Data
Boot from CD
ISOLINUX 3.11 2005-09-02-Copyright(0)
1994-2005 H.Peter Anviin
Missing parameter in Config file
Could not find kernel image : lfskernel
Boot:
It hung here.
Which Config file was referred? If .config of /usr/src/linux-2.6.11/
the directory has been removed including .config. If it needs the
.config file where I shall I put it? (I have it saved on another
partition)
Which kernel image it referred? At the end of recompiling kernel, I
ran;
# cp arch/i386/boot/bzImage /boot/lfscdkernel && cp System.map /boot/
# cat /mnt/livecd/boot/grub/menu.lst
default 0
timeout 30
color green/black light-green/black
title LFS LiveCD
# root (hd0,5)
root
kernel /boot/lfscdkernel root=/ vga=795
title Windows
# rootnoverify (hd0,0)
chainloader +1
Remark: also tried "kernel /boot/lfskernel root=/ vga=795"
# cat /mnt/livecd/etc/fstab
# file system mount-point type options
dump fsck
order
proc /proc proc defaults
0 0
sysfs /sys sysfs defaults
0 0
devpts /dev/pts devpts gid=4,mode=620
0 0
shm /dev/shm tmpfs defaults
0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu
0 0
usbfs /proc/bus/usb usbfs devgid=14,devmode=0660
0 0
Please shed me some advise where shall I check. TIA
BR
SL
--- "Alexander E. Patrakov" <[EMAIL PROTECTED]> wrote:
> 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
>
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page