This is how you can test the previous patch with QEMU:
1. create an empty floppy image (dd if=/dev/zero of=fd.img bs=1k count=1440)
2. format it with mkfs.vfat
3. loop mount it somewhere
4. put xserver-xorg.config.patch there
5. umount it
6. boot a Feisty Herd1 desktop CD image with qemu:
$ qemu -fda fd.img -cdrom feisty-desktop-i386.iso -boot d
7. boot with: "xforcevesa break=casper-bottom single" and without "quiet splash"
8. at the console, do:
9. wait...
10. check how your just autogenerated /etc/X11/xorg.conf uses vesa instead of cirrus (which is the virtual video card emulated by qemu)
11. enjoy :-)
This is how you can test the previous patch with QEMU:
1. create an empty floppy image (dd if=/dev/zero of=fd.img bs=1k count=1440) xorg.config. patch there
2. format it with mkfs.vfat
3. loop mount it somewhere
4. put xserver-
5. umount it
6. boot a Feisty Herd1 desktop CD image with qemu:
$ qemu -fda fd.img -cdrom feisty- desktop- i386.iso -boot d
7. boot with: "xforcevesa break=casper-bottom single" and without "quiet splash"
8. at the console, do:
$ insmod /root/lib/ modules/ 2.6.19- 7-generic/ kernel/ drivers/ block/floppy. ko lib/dpkg/ info/xserver- xorg.config < /tmp/floppy/ xserver- xorg.config. patch
$ mkdir /tmp/floppy
$ mount -t vfat /dev/fd0 /tmp/floppy
$ patch /root/var/
$ umount /tmp/floppy
$ rm -r /tmp/floppy
$ rmmod floppy
$ ^D
9. wait...
10. check how your just autogenerated /etc/X11/xorg.conf uses vesa instead of cirrus (which is the virtual video card emulated by qemu)
11. enjoy :-)