LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   How can I install lfs livecd on hard disk? (http://www.linuxquestions.org/questions/linux-from-scratch-13/how-can-i-install-lfs-livecd-on-hard-disk-352782/)

bhxs1809 08-13-2005 03:41 AM

How can I install lfs livecd on hard disk?
 
I want to install lfs livecd on hard disk and what can I do£¿

n00bified 08-13-2005 08:56 AM

See http://www.linuxquestions.org/questions/history/343632

I reccomend using an installable distro (minislack works well apparently) and use the cd just for the source codes.

From what I've read it's hard to install the livecd to the hard drive.

bhxs1809 08-13-2005 09:07 AM

Thanks for your advice£¬I will try it.

Abdou_ENSI 02-25-2009 04:13 AM

Quote:

Originally Posted by bhxs1809 (Post 1797794)
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


All times are GMT -5. The time now is 09:27 AM.