LoneShadow
05-24-2007, 11:04 PM
Greetings folks,
I am trying to make a bootable USB installation, which can also be loaded by Qemu from windows. (Helps in situations like my windows PC which dosnt boot a liveusb).
Progress:
I modified linuxrc script to mount /dev/hda as /cdrom. Qemu loads KNOPPIX/knoppix as /dev/hda. With the new minirt.gz I am tried booting from USB, works as expected.
For the Qemu case, I am getting some problems.
my batch file contains this:
qemu\qemu.exe -L qemu/ -no-kqemu -m 512 -kernel linux -initrd minirt.gz -hda KNOPPIX/knoppix -append "qemu root=/dev/hda ramdisk_size=100000 init=/etc/init lang=us toram knoppix_name=knoppix knoppix_dir=knoppix BOOT_IMAGE=expert nomce apm=power-off vga=791"
The errors I am getting are this:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Mounted root (iso9660 filesystem) readonly
...
/etc/rcS.d/S00knoppix-autoconfig: line 100: /proc/sys/kernel/printk: No such file or directory
and bunch of errors.
I think something went wrong while loading the Ramdisk, also I dont see any of the prints from minirt.gz
Isnt root=/dev/hda sufficient for ?
Any suggestions would be great.
Thanks,
LS
I am trying to make a bootable USB installation, which can also be loaded by Qemu from windows. (Helps in situations like my windows PC which dosnt boot a liveusb).
Progress:
I modified linuxrc script to mount /dev/hda as /cdrom. Qemu loads KNOPPIX/knoppix as /dev/hda. With the new minirt.gz I am tried booting from USB, works as expected.
For the Qemu case, I am getting some problems.
my batch file contains this:
qemu\qemu.exe -L qemu/ -no-kqemu -m 512 -kernel linux -initrd minirt.gz -hda KNOPPIX/knoppix -append "qemu root=/dev/hda ramdisk_size=100000 init=/etc/init lang=us toram knoppix_name=knoppix knoppix_dir=knoppix BOOT_IMAGE=expert nomce apm=power-off vga=791"
The errors I am getting are this:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Mounted root (iso9660 filesystem) readonly
...
/etc/rcS.d/S00knoppix-autoconfig: line 100: /proc/sys/kernel/printk: No such file or directory
and bunch of errors.
I think something went wrong while loading the Ramdisk, also I dont see any of the prints from minirt.gz
Isnt root=/dev/hda sufficient for ?
Any suggestions would be great.
Thanks,
LS