Thanks for your producing and uploading great tool. I want to install kexec-loader into my HDD. I commented out the last line of mkiso.sh: rm -rf iso-root and run mkiso.sh and copied the contents of iso_root directory to a partition of an internal HDD. By grub4dos installed in the internal HDD, vmlinuz and initrd.img in isolinux directory was read and kexec-loader started. Many modules were loaded (because I had copied all files in modules-2.6.30.5-1 directory into iso-modules directory before running mkiso.sh). And finally, the following message: Press any key to abort appeared. I pushed ENTER key, and then kexec-loader command prompt(?) appeared. > disks showed the available disks and their partitions. > root sda1 > kernel /vmlinuz > initrd /initrd.img > cmdline root=LABEL=ubuntu ro > boot Then my Ubuntu in 1st partition of my USB-HDD successfully booted. Great! But, I cannot use kexec-loader.conf. I think the reason is that I used the CD version kexec-loader. So, the kernel and the initramfs might have tried to find CD(/dev/hdc?).
Thanks for your telling me to change the label of the partition to "kexecloader". kexec-loader.conf is successfully recognized and my menu is shown. I could boot Ubuntu 9.10 installed on 1st partition of USB-HDD.
I want to install kexec-loader into my HDD.
I commented out the last line of mkiso.sh:
rm -rf iso-root
and run mkiso.sh and copied the contents of iso_root directory to a partition of an internal HDD.
By grub4dos installed in the internal HDD, vmlinuz and initrd.img in isolinux directory was read and kexec-loader started.
Many modules were loaded (because I had copied all files in modules-2.6.30.5-1 directory into iso-modules directory before running mkiso.sh).
And finally, the following message:
Press any key to abort
appeared.
I pushed ENTER key, and then kexec-loader command prompt(?) appeared.
> disks
showed the available disks and their partitions.
> root sda1
> kernel /vmlinuz
> initrd /initrd.img
> cmdline root=LABEL=ubuntu ro
> boot
Then my Ubuntu in 1st partition of my USB-HDD successfully booted. Great!
But, I cannot use kexec-loader.conf.
I think the reason is that I used the CD version kexec-loader. So, the kernel and the initramfs might have tried to find CD(/dev/hdc?).
How to install kexec-loader 2.2 into my HDD?