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:

   $ insmod /root/lib/modules/2.6.19-7-generic/kernel/drivers/block/floppy.ko
   $ mkdir /tmp/floppy
   $ mount -t vfat /dev/fd0 /tmp/floppy
   $ patch /root/var/lib/dpkg/info/xserver-xorg.config < 
/tmp/floppy/xserver-xorg.config.patch
   $ 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 :-)

-- 
"Safe graphics mode" doesn't use VESA
https://launchpad.net/bugs/59618

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to