Quote:
Originally Posted by bhxs1809
Thanks for your advice£¬I will try it.
|
you can install the lfs livecd on your hard disk by following these instructions, but I'm not sure that it will work on 86x_64 architecture , I try it with the same way as in 86x and it worked successfully but unfortunately its not the case for the 86x architecture,
furst of all u have to extract these following files from the livecd
/boot/isolinux/initramfs_data.cpio.gz
/boot/isolinux/linux
put them in the target partition formatted w6ith fs-type (ext3,ext2...), let's assume that its /dev/sda8
for exemple,
/boot/isolinux/initramfs_data.cpio.gz
/boot/isolinux/linux
u can put them any where here, the path is not so important
put lfs live cd under /root that u create by our ouwn
the second step consist in modifying the menu.lst in /boot/gr
ub, don't worry its simple.
the kernel should knew where the the livecd is stored,the target partition... the alternative the sollution is to pass them as parameters to the kernel
u should also specify the initramfs
the implementation :
title LFS
root (hd0,7)
kernel /boot/lfs/linux rw root=iso:/dev/sda8:/root/lfslivecd.iso rootfstype=ext3
initrd /boot/lfs/initramfs_data.cpio.gz
good luck