Quote:
Originally Posted by olcal
How do I boot the iso image of the LFS LiveCD from hard disk.
My hard disk is a 40GB partitioned as follows
/dev/hda1 FAT32 FreeDOS 20GB
/dev/hda2 ext3 Linux 19GB
/dev/hda3 Linux swap 1 GB
Secondary Master CDRW
Secondary Slave DVDROM
Memory : 448MB
I have copied the iso image of LFS 6.3-x86-r2160 to the lfs
partition. I have also copied the isolinux folder from the
LiveCD to the lfs partition.
I have referred to the LiveCD Documentation "Booting from ISO image" which says to copy those files to hard disk. It then says...
Configure the boot loader to load “linux” as a kernel image and “initramfs_data.cpio.gz” as an initrd. The following parameters
have to be passed to the kernel:
rw root=iso:/dev/XXX:/path/to/lfslivecd.iso rootfstype=fs_type
I do not understand the instructions. I have reached Chapter 5.6 Glibc-2.5.1 of the manual v6.3. I am new to linux but have used
CentOS intermittently before.
I have 2 questions.
1) Is what I have done correct ? If not what is the correct method ?
2) How do I install and configure the bootloader to boot from ISO image ?
Regards
olcal
|
Hi,
Short answer is that you need a boot loader that will allow you to load the kernel and provide that root parameter. GRUB is your friend in this regard. If you used GRUB you would enter this into the grub command line
root (hd0,1)
kernel /path/to/isolinux/linux root=iso:/dev/hda2:/path/to/lfslivecd.iso
initrd /path/to/initrd.img
boot
Regards,
ddden