I have been booting debian from my usb flash drive. From grub2 I have done
menuentry "Debian GNU/Linux, Install i386" {
loopback loop (hd0,5)/debian-images/testing/debian-testing-i386-DVD-1.iso
linux (loop)/install.386/vmlinuz findiso=/debian-images/testing/debian-testing-i386-DVD-1.iso nopat boot=live noeject noprompt
initrd (loop)/install.386/initrd.gz isofrom=/dev/sda5/debian-images/testing/debian-testing-i386-DVD-1.iso
}
The problem with this is the initrd.gz tries to mount the cdrom which then fails. The image build by debian at
http://people.debian.org/~joeyh/d-i/...edia/initrd.gz
works perfectly. I want to build this EXACT SAME initrd.gz myself so I can install debian from the usb flash drive.
By changing the initrd.gz line to this
initrd /initrd.gz
I can then boot the live image. I generated initrd.gz by using the live-helper or another method where you use a script called 'moo' which I got off the debian wiki. If I use the said initrd.gz image from debian I can install debian from usb. But I really want to build the initrd.gz myself instead of download it.
Thanks
Rob Key