Академический Документы
Профессиональный Документы
Культура Документы
Ms Acciones
WubiGuide Introduction
Tabla de Contenidos 1. Introduction 1. What is Wubi? 2. How to use this guide 3. Warning 2. Installation 1. How do I download Wubi? 2. How do I install Ubuntu? 3. How do I select whether to run Windows or Ubuntu? 4. How do I install Wubi on a machine with no Internet connection? 5. Where do I find older versions of Wubi? 6. How can I use a manually downloaded ISO? 7. Why is the AMD64 version of Ubuntu being downloaded and installed? 8. Can I force Wubi to download and install a 32 bit version of Ubuntu? 9. Can I force Wubi to install if I have less than 256MB of memory? 10. Can I force Wubi to install even if I have less than 5GB of free disk space? 11. Can I force Wubi to skip the md5 checks? 12. Which Operating Systems are supported? 13. What happens if the installation is interrupted? 3. Upgrading 4. Uninstallation 1. How do I uninstall Wubi? 2. How do I manually uninstall Wubi? 3. How do I reinstall Wubi? 4. How can I make a backup of my Wubi install? 5. Unsupported set-ups 1. Software raid arrays 2. Encrypted disks 3. Windows ME 4. Proxy server 5. DVD and Alternate ISO 6. Troubleshooting
What is Wubi?
Wubi is an officially supported installer for Windows users that allows Ubuntu to be installed and uninstalled in a safe, easy way as with any other Windows application.
Warning
Wubi uses a virtual disk that is sensitive to forced shutdowns. If Ubuntu appears to be frozen please refer to: How to reboot cleanly even when the keyboard/mouse are frozen
Installation
How do I download Wubi?
Download Wubi from the Ubuntu Windows Installer Download page; this will download the latest version. You can download other versions from the Ubuntu pages on releases.ubuntu.com, e.g. 10.10, look for wubi.exe at the bottom of the page. Wubi is also included on Ubuntu Desktop and Kubuntu CDs.
Run Wubi, insert a password for the new account, adjust other settings such as the disk space, and click "install". The installation process from this point on is fully automatic. The installation files (approximately 700MB) will be downloaded and checked, after which you will be asked to reboot. Do so and select Ubuntu at the boot screen. The installation will continue for another 10 to 15 minutes and the machine will reboot again. That's it. Now you can select Ubuntu at the boot screen and start using it.
6. Troubleshooting 1. Cannot access the CD 2. Windows Missing hal.dll 3. Cannot boot into Ubuntu 4. Other boot or video problems 5. Installation error while formatting the swap file 6. Cannot uninstall Ubuntu 7. Cannot download the ISO file 8. Video Problems after second reboot 9. Corrupted NTFS filesystem 7. Wubi Support Forum 8. Misc. 1. Inclusion into official Ubuntu 2. How do I make Ubuntu the default boot option? 3. Can I back up the installation files? 4. How do I install multiple distros? 5. Improving disk performance 6. What happens if I have another bootloader? 7. How big should the the virtual disks be? 8. How do I migrate to a real partition, and/or get rid of Windows entirely? 9. How do I resize the virtual disks? 10. How do I increase my swap space? 11. How do I create a virtual disk in Ubuntu? 12. How do I create a virtual disk in Windows? 13. How do I access the Windows drives? 14. How can I access the Wubi files from Windows? 15. How can I access my Wubi install and repair my install if it won't boot? 16. How to reboot cleanly even when the keyboard/mouse are frozen 9. Wubi Customization 1. Can you add Ubuntu-flavor-XYZ to Wubi? 2. How do I compile Wubi from source? 3. Can I use Wubi for non-Ubuntu based distributions? 4. Where is the source code? 5. What is the license?
The standard installation has default settings that should work on most hardware.
You need to download the DESKTOP CD ISO of the appropriate version. Place the ISO in the same folder where you have wubi.exe and then run Wubi. For example, Wubi 11.04 requires the 11.04 DESKTOP ISO, available here. Note that you need a DESKTOP CD ISO. A DVD ISO may not work. Alternate ISO files are not supported.
Can I force Wubi to install even if I have less than 5GB of free disk space?
Yes; start Wubi with the argument "--skipspacecheck". Be aware that 3GB of space is required as a minimum, though, as well as enough space to store the ISO. Pushing this limit too hard may cause errors.
Upgrading
Upgrading from 7.04 to 7.10 is NOT supported, due to the fundamental differences between 7.04 and 7.10. The best method is to uninstall and install Wubi-8.10 (you can save the old installation files and access them from 8.10) or move your 7.04 installation to a dedicated partition via LVPM, then upgrade using the standard upgrade-manager tool. Upgrading from 7.10 to 8.04 might work, but has not been fully tested. Upgrading from 8.04 to 8.10 is supported. Upgrading from 8.10 to 9.04 is supported, but not to 9.10. Upgrading from 9.04 to 9.10 is supported.
Uninstallation
How do I uninstall Wubi?
REGEDIT4 [-HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wubi]
After deleting the registry key, Ubuntu may still appear in the program list. If this is the case, you may be asked if you would like to remove the item from the list.
Unsupported set-ups
Software raid arrays
Although installing Wubi to RAID is not officially supported there have been reports of users who have done so successfully. This has not been thoroughly tested and users who experience problems with installing to RAID should address their concerns on the Ubuntu Forums. Additionally, users who have computers with software RAID metadata, where the RAID has not enabled, may need to delete the RAID metadata before installing Wubi.
Encrypted disks
Encrypted disks are not supported.
Windows ME
Windows ME is not supported.
Proxy server
Wubi does not support http proxies, which will result in the download failing. You will have to download the ISO manually as explained above and place it in the same directory as Wubi.exe.
Troubleshooting
Cannot access the CD
This problem sometimes occurs when a drive/disk is already in use or not finalized. If this is not the case, please check that your hardware is supported by both Ubuntu and Wubi. If problems still persist after checking the above, please follow instructions on how to download Wubi and make it use an ISO file instead of physical media.
You can get this error if you are using Windows XP and you've manually edited the file C:\boot.ini or you've deleted the C:\wubildr.mbr file. If you've deleted the C:\wubildr file then you should be able to boot Windows normally, in which case simply copy \ubuntu\winboot\wubildr.mbr back to C:\wubildr.mbr (also copy the wubildr if it is missing). If you've manually edited the file and it is corrupt or missing then you will not be able to boot Windows. See the following link on how to fix: http://support.microsoft.com/kb/330184
If you experience problems after installation, press "Ctrl+Alt+F2" and run: sudo dpkg-reconfigure xserver-xorg Select the VESA driver and leave all other options at default. Then reboot. That will allow you to boot into a safe graphics mode (limited resolution) you should then be able to install the appropriate drivers or try other solutions as needed.
Misc.
Inclusion into official Ubuntu
Wubi was born as an independent project and hence the 7.04 and 7.10 versions were unofficial. Wubi 8.04 and later versions are, however, official as well as being fully supported. Wubi has been shipped within the Ubuntu Live CD since the
versions are, however, official as well as being fully supported. Wubi has been shipped within the Ubuntu Live CD since the 8.04 release.
http://ubuntuforums.org/showthread.php?t=438591. For 8.04 only, as an alternative to LVPM, the following script can be used: Download wubi-move-to-partition Open a terminal and run:
sudo sh wubi-move-to-partition /dev/sda9 /dev/sda10
Replace /dev/sda9 with the partition where you would like to migrate the Wubi installation to, and /dev/sda10 with the appropriate swap partition (you can omit the second argument completely, in which case no swap will be setup). The two partitions must already exist and be empty (you can use any partitioning tool such as gparted to create them in advance). Note that the script will install grub as main bootloader replacing the existing bootloader, and it may not be easy to undo the changes (if things do not work as expected you will have to boot from a Live CD and replace/edit the bootloader manually). Also note that if you have multiple hard-disks, the disk order might have to be adjusted manually.
Where the first argument is the directory to move to a new dedicated disk, and the second argument is the size in MB. You should now reboot. If you are happy with the result, you can now remove /home.backup. To undo the changes remove /home, copy rename /home.backup to /home and remove the /home line in /etc/fstab. Note that contrary to previous information, this script is not suitable for moving /usr. Experienced users may be able to do this manually, at own risk, following a process similar to that outlined in the file. (Do not rename /usr until the very last moment, as rsync is installed there.) To move /usr try enter recovery mode after you run
sudo sh wubi-add-virtual-disk /usr 15000
and copy all folders in /usr.backup into new /usr and then fix sudo with
chown root:root /usr/bin/sudo chmod 4755 /usr/bin/sudo
The final free statement will verify that your new swap file has the correct space. If everything worked, issue the following command and you are done. If it didn't work, then remove swap.disk and move swap.disk.bak back to swap.disk and try again.
rm swap.disk.bak
rm swap.disk.bak
How can I access my Wubi install and repair my install if it won't boot?
Boot the Ubuntu Desktop CD, or another LiveCD, then mount the windows partition:
sudo mkdir /win sudo mount /dev/sda1 /win
Replace sda1 with the appropriate device (a = disk, 1 = partition number), then mount the virtual disk therein
sudo mkdir /vdisk sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
Now the content of the virtual disk will be visible under /vdisk. 7.04 users will have to install ntfs-3g first and specify it as fstype to gain r/w access. To check the filesystem you can use (make sure the root.disk is not mounted):
sudo fsck /win/ubuntu/disks/root.disk
CTRL + ALT+ F2 (get to a terminal, you can then run top/kill/pkill to discover and kill the offending process) ALT+ SYSRQ + R then CTRL + ALT+ F2 (as above, but first try to regain control of the keyboard) CTRL + ALT + Backspace (kills the graphic session and goes to a console, all graphical applications are terminated too) ALT+ SYSRQ + R then ALT + Backspace (as above, but first try to regain control of the keyboard) CTRL + ALT + DEL (reboot) ALT+ SYSRQ + R then CTRL + ALT + DEL (as above, but first try to regain control of the keyboard) ALT+ SYSRQ + R + E + I + S + U + B (forces a clean reboot even when the keyboard is not responding) The last one is the most effective, but you could try the other commands first.
Wubi Customization
Can you add Ubuntu-flavor-XYZ to Wubi?
If you want your distribution included into the official release of Wubi, it first requires approval. A live CD ISO must be available to do that (Wubi uses an ubiquity based installer).
Note that you need the following: A Live CD with ubiquity + casper + lupin-support (which provides lupin-casper) The ISO must have a .disk/info formatted like the one in the Ubuntu ISO and with data matching what you provided in the isolist.ini If you want users to be able to download the ISO, in your web server you need to provide a metalink file for each ISO provided, the md5 of said metalink files, and the signature of the md5s. To verify the signature you need to add the signing key to data/trustedkeys.gpg. If this is too much trouble, you can disable signature checks in data/settings.nsh. The metalink file must be on a "stable" URL since that is hardcoded in isolist.ini. The metalink file can in turn point to all your mirrors. You will notice that 2 metalink files are provided in isolist.ini, one is for final release, and one for development versions.
Other affected files: update-grub, grub-installer, /etc/init.d/umountfs, /etc/init.d/umountroot, /etc/init/d/sendsigs Relevant upstream Wubi patches