Hi Alexander,

Tks for your advice.

> The contents of the initrd or initramfs or whatever the hint
> suggests.

I checked

1)
/isolinux/isolinux.cfg
default livecd

label livecd
kernel lfskernel
append initrd=initrd.gz root=/dev/ram0 init=/linuxrc ramdisk_size=16384
vga=795 desktop=twm
- END -

Remark: also tried;
append initrd=initrd.gz root=/dev/ram0 init=/linuxrc devfs=mount
ramdisk_size=16384 vga=795 desktop=twm 
(adding devfs=mount)

2)
/etc/fstab 
# Begin /etc/fstab
# file system  mount-point    type    options                          
   dump  fsck
#                                                                      
      order

proc           /proc          proc    defaults                         
      0  0
devpts         /dev/pts       devpts  gid=4,mode=620                   
      0  0
- END -

only 2 lines there.


3)
Depressed "/isolinux/initrd.gz" and checked the content of initrd vs
the hint.

4)
Check the notes taken download during building LiveCD against the hint.

5)
Googling around on Internet but without result.  I found some more less
similar problems there but not related to building LFS LiveCD OR
relating to building other LiveCDs


I suspect leaving out following command line before creating
livecd_image;

# mount -t squashfs usr.sqfs /usr/ -o loop

/usr/ has been compressed and removed thereafter.

If running the abovementioned command line before creating livecd_image
and without umount it then the image size became 1.4G against 430MB
with usr.sqfs umounted.  


I applied following command to burn CD-RW on the fly;

# mkisofs -R -l -L -D -b isolinux/isolinux.bin -o
$ISODIR/livecd_image.iso -c isolinux/boot.cat -no-emul-boot
-boot-load-size 4 -boot-info-table -V "livecd" /mnt/livecd && cdrecord
-v -eject dev=ATA:1,0,0 blank=fast $ISODIR/livecd_image.iso

(remark: running the host to burn CD)

I can't figure out how to stop "mkisofs" reading usr.sqfs and adding
its content in the livecd_image if the abovementioned command line is
up

Could you please shed me some light.  TIA.

BR
SL



-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to