PDA

View Full Version : Knoppix 7.2 takes too long to boot from .ISO in USB flash disk with Grub4dos



russed
08-24-2013, 04:35 PM
Hi.
I'm a happy Knoppix newbie, but I think that the boot time can be improved.
I boot Knoppix from its .ISO image file in a folder of an USB flash disk with Grub4dos.
This is the Knoppix entry in menu.lst:

title Knoppix 7.2 Lnx 32b (fom ISO)
find --set-root /iso/ADRIANE-KNOPPIX_V7.2.0CD-2013-06-16-EN.iso
map --heads=0 --sectors-per-track=0 /iso/ADRIANE-KNOPPIX_V7.2.0CD-2013-06-16-EN.iso (0xff)
map --hook
root (0xff)
kernel /boot/isolinux/linux ramdisk_size=100000 init=/etc/init apm=power-off nodma vga=normal nomce lang=es keyboard=es xkeyboard=es BOOT_IMAGE=knoppix bootfrom=/.//iso/ADRIANE-KNOPPIX_V7.2.0CD-2013-06-16-EN.iso noprompt
initrd /boot/isolinux/minirt.gz
boot

Knoppix boots well, and it does it faster than Windows, but, while booting, it stops for several seconds sarching for Knoppix filesystem, showing this message:
"Cannot find Knoppix dir in ISO file /.//iso/ADRIANE-KNOPPIX_V7.2.0CD-2013-06-16-EN.iso"
It obviously refers to the bootfrom= param in the kernel line.
It tries several times all the drives and partitions until it finally boots saying something like: found ISO in /dev/sdb1/mnt-iso/iso/ADRIANE-KNOPPIX_...
After adding the param nodma to the kernel line, it booted fine the first time, bot not always does it.
If I just change the bootfrom= param to /iso/ADRIANE-KNOPPIX_... (instead of /.//iso/ADRIANE-KNOPPIX_...), it gets worse.
I hope this issue can be improved soon.
Best regards.

Werner P. Schulz
08-27-2013, 01:02 PM
bootfrom=/.//iso/ADRIANE-KNOPPIX_....

This cannot work. Did you try

bootfrom=/dev/sdb1/mnt-iso/iso/ADRIANE-KNOPPIX_...

russed
09-11-2014, 01:56 PM
bootfrom=/.//iso/ADRIANE-KNOPPIX_.... This cannot work. Did you try bootfrom=/dev/sdb1/mnt-iso/iso/ADRIANE-KNOPPIX_... Thank you, Werner, but I not always boot from sdb1. The line that I posted works fine, but I want to share with you all what I found out. The speed of the search for the iso is notably increased (and thus the boot time is greatly decreased) if I press the [CONTROL] key when it is performed. I don't know whay, but it works for me. So, this is an important update about this issue. Best regards.