boot LFS LiveCD from hard disk
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 ?
I am currently already running off the LFS LiveCD. I want to boot from hard disk for two reasons...
1) Booting from Hard disk is a lot faster.
2) It frees up the CDROM for other uses.
3) It reduces the wear and tear on the CDROM drive.
then use virtual box or vmware product and use iso instead of cdrom.
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
kernel /path/to/isolinux/linux root=iso:/dev/hda2:/path/to/lfslivecd.iso
|All times are GMT -5. The time now is 03:42 PM.|