![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() |
This is more of a Automatic Installation script, than a HOW-TO.
As of now, it will only work with Breezy and Dapper. This script will compile and install: Included QEMU Patches (Optional - asked during installation): The credits go to: - Nando Florestan (I used some parts of his Script) - Saad N. (For inspiration and testing) - Dmytro (Breezy Testing, Spell Checking, and NT, 95, 95 Russian Testing) For those wanting to install Windows XP under QEMU/KQEMU check out this more detailed tutorial: WindowsXPUnderQemuHowTo INSTALLATION INSTRUCTIONS: Code:
wget http://soultrap.net/andrejkw/install_qemu.sh chmod +x ./install_qemu.sh sudo ./install_qemu.sh USAGE INSTRUCTIONS: 1.) The first thing you probably want to do is to create a disk image into which you will install the Guest operating system. You can do this by typing the following into the terminal. M = MB G = GB Code:
qemu-img create (FILE NAME).img (SIZE OF IMAGE) Example: qemu-img create guest.img 1G Code:
qemu -localtime -hda (FILE NAME).img Example: qemu -localtime -hda guest.img Code:
qemu -localtime -hda (FILE NAME).img -cdrom (PATH TO DEVICE OR CD IMAGE) Example: qemu -localtime -hda guest.img -cdrom /home/andrejkw/XPCD.iso OR qemu -localtime -hda guest.img -cdrom /dev/cdrom Code:
qemu -localtime -hda (FILE NAME).img -cdrom (PATH TO DEVICE OR CD IMAGE) -boot d Example: qemu -localtime -hda guest.img -cdrom /dev/cdrom -boot d Code:
qemu -localtime -hda (FILE NAME).img -cdrom (PATH TO DEVICE OR CD IMAGE) -boot d -kernel-kqemu Example: qemu -localtime -hda guest.omg -cdrom /dev/cdrom -boot d -kernel-kqemu M = MB G = GB Code:
qemu -localtime -hda (FILE NAME).img -cdrom (PATH TO DEVICE OR CD IMAGE) -boot d -kernel-kqemu -m RAM SIZE Example: qemu -localtime -hda guest.img -cdrom /dev/cdrom -boot d -kernel-kqemu -m 512M Code:
qemu -localtime -hda (FILE NAME).img -cdrom (PATH TO DEVICE OR CD IMAGE) -boot d -kernel-kqemu -m RAM SIZE -win2k-hack Example: qemu -localtime -hda guest.img -cdrom /dev/cdrom -boot d -kernel-kqemu -m 512M -win2k-hack Check out Qemu Launcher (a nice QEMU Gui for GNOME) at http://download.gna.org/qemulaunch/debian/ Note: In the "Other" tab add "-kernel-kqemu" (no quotes) to the "Additional Arguments" field. If you are experiencing the Transparent Window bug (By running XGL...) check out Saad's thread (http://ubuntuforums.org/showthread.php?t=187941) for instructions on how to fix it. Andrew, Last edited by andrejkw; September 30th, 2006 at 12:52 PM.. Reason: Improved Post Organization and Title... |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() |
This script worked great for me. 100% with no errors are all! Thanks a lot!
Screenshots http://img288.imageshack.us/img288/9...eenshot8wa.png http://img147.imageshack.us/img147/9...hotqemu6fc.png Last edited by SaadN; June 4th, 2006 at 09:19 PM.. |
|
|
|
|
|
#3 |
|
Quad Shot of Ubuntu
![]() |
Re: Installing QEMU, KQEMU, and DHCP Patch
Checking it out now will post results.
|
|
|
|
|
|
#4 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2005
Beans: 592
|
Re: Installing QEMU, KQEMU, and DHCP Patch
It didn't work for me. I had the following output:
Your Ubuntu release is: Dapper Drake 6.06 Is this correct? yes Would you like to download QEMU from the CVS (Unstable)? no Installing Dependencies... Reading package lists... Done Building dependency tree... Done libsdl1.2debian is already the newest version. The following extra packages will be installed: binutils cpp cpp-3.4 cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-3.4-base gcc-4.0 installwatch libaa1-dev libartsc0-dev libasound2-dev libaudio-dev libaudiofile-dev libc6-dev libesd0-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev libice-dev libncurses5-dev libslang2-dev libsm-dev libstdc++6-4.0-dev libstdc++6-dev libx11-dev libxau-dev libxdmcp-dev libxext-dev libxi-dev libxt-dev linux-kernel-headers make mesa-common-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev Suggested packages: binutils-doc cpp-doc gcc-4.0-locales debian-keyring gcc-3.4-doc lib64stdc++6 gcc-4.0-doc manpages-dev autoconf automake1.9 libtool flex bison gcc-doc libc6-dev-amd64 lib64gcc1 libasound2-doc glibc-doc libglib2.0-doc libstdc++6-4.0-doc stl-manual libstdc++6-doc Recommended packages: libmudflap0-dev The following packages will be REMOVED libsdl1.2debian-alsa The following NEW packages will be installed binutils build-essential checkinstall cpp cpp-3.4 cpp-4.0 dpkg-dev g++ g++-3.4 g++-4.0 gcc gcc-3.4 gcc-3.4-base gcc-4.0 installwatch libaa1-dev libartsc0-dev libasound2-dev libaudio-dev libaudiofile-dev libc6-dev libesd0-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev libice-dev libncurses5-dev libsdl1.2-dev libsdl1.2debian-all libslang2-dev libsm-dev libstdc++6-4.0-dev libstdc++6-dev libx11-dev libxau-dev libxdmcp-dev libxext-dev libxi-dev libxt-dev linux-kernel-headers make mesa-common-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev zlib1g-dev 0 upgraded, 47 newly installed, 1 to remove and 0 not upgraded. Need to get 25.0MB of archives. After unpacking 97.1MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! x11proto-core-dev libice-dev libsm-dev x11proto-kb-dev x11proto-input-dev libxau-dev libxdmcp-dev libx11-dev libxi-dev x11proto-xext-dev libxext-dev libxt-dev binutils linux-kernel-headers libc6-dev cpp-4.0 cpp gcc-4.0 gcc libstdc++6-4.0-dev g++-4.0 g++ make dpkg-dev build-essential installwatch checkinstall gcc-3.4-base cpp-3.4 gcc-3.4 libstdc++6-dev g++-3.4 libslang2-dev libncurses5-dev libaa1-dev libglib2.0-dev libartsc0-dev libasound2-dev libaudiofile-dev libesd0-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libaudio-dev libsdl1.2-dev libsdl1.2debian-all zlib1g-dev E: There are problems and -y was used without --force-yes ERROR: Unable to Install Dependencies. |
|
|
|
|
|
#5 | |
|
Way Too Much Ubuntu
![]() Join Date: Aug 2005
Beans: 228
Kubuntu 9.04 Jaunty Jackalope
|
Re: Installing QEMU, KQEMU and Patches
Quote:
Extracting QEMU... tar: qemu-snapshot-2006-06-04_23.tar.bz2: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors ERROR: Unable to extract QEMU. |
|
|
|
|
|
|
#6 | |
|
Way Too Much Ubuntu
![]() Join Date: Aug 2005
Beans: 228
Kubuntu 9.04 Jaunty Jackalope
|
Re: Installing QEMU, KQEMU and Patches
Quote:
Installing KQEMU... ERROR: Module kqemu does not exist in /proc/modules Loading KQEMU Module... kqemu |
|
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() |
Re: Installing QEMU, KQEMU, and DHCP Patch
You can safely ignore that error. It should work.
__________________
Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand. Installing QEMU, KQEMU, DHCP Fix, and Mouse Fix (Dapper & Breezy Only) |
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() |
Re: Installing QEMU, KQEMU, and DHCP Patch
Alrighty, all 3 bugs fixed.
__________________
Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand. Installing QEMU, KQEMU, DHCP Fix, and Mouse Fix (Dapper & Breezy Only) |
|
|
|
|
|
#9 | |
|
Way Too Much Ubuntu
![]() Join Date: Aug 2005
Beans: 228
Kubuntu 9.04 Jaunty Jackalope
|
Re: Installing QEMU, KQEMU, and DHCP Patch
Quote:
qemu -localtime -hda winxp.img -cdrom /dev/hda -m 512 -boot d I get this: Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal error, but for better emulation accuracy either use a 2.6 host Linux kernel or type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root. Is there a config file I need to edit? |
|
|
|
|
|
|
#10 | |
|
Way Too Much Ubuntu
![]() Join Date: Aug 2005
Beans: 228
Kubuntu 9.04 Jaunty Jackalope
|
Re: Installing QEMU, KQEMU, and DHCP Patch
Quote:
Cool... other then configuring a few thing (screen size etc), this is a VERY cool script...... thanks a bunch ![]() |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|