在Windows下安装Ubuntu!注意,是直接在Win32下安装

很早就这么想,开源世界的 Linux 和 Windows 正面对抗是不现实的,那么我们可以作出一点好玩的事情来,这就是,把 Linux 当成一个很大的“Windows软件”安装到系统中,Linux直接发布成一个几百兆的 linstaller.exe,双击安装,在Windows下用Win32API实现磁盘分区,修改MBR挂Grub,然后解压安装包,复制系统文件的文件到分区,呵呵,这样安装Linux的时候也不至于那么无聊,至于Linux的在线升级也可以得到实施,例如电子科大的DrCom上网认证,因为 Ubuntu 是在 Windows 下直接安装的,那么 APT 源就可以不用通过代理直接通过DrCom拨号了,更惬意的是,可以一边安装 Linux 一边上网,听歌,it's super kool!

这样做的令一个好处是:可以直接复制现有Windows系统理的 字体 和 解码包(Win32Codec)到Linux下,从而避免了版权方面的麻烦,这样做是符合 EULA 的。

What are you waiting for? Check it out here:

http://www.ubuntuforums.org/showthread.php?t=338279

Now the screenshots and demo from ubuntuforums.org

希望GNU/FOSS的精神能够做出更多有趣的东西出来!

至于Ubuntu小组的具体实施,和我的想法有点不同,首先他们不修改MBR,直接修改boot.ini,(发本文为止,Vista下的BootManager还不支持),其次,这个项目是用 NullSoft Installation System 做的,挂载了 BattleTorrent ,也就是说,一边下载一边安装。由于FAT格式的分区对大体积文件支持不好,所以这个安装程序并不支持Win95/98。

Windows based installer - testers and developers wanted

This thread is a continuation of the very long and unmanageable thread: http://ubuntuforums.org/showthread.php?t=305109

We have a development version of a Windows based installer for Ubuntu which is designed to be:
  • very simple to use
  • provide a no-risk installation
  • no repartitioning the hard disk
  • no changing the windows boot loader
  • Easy uninstallation.
  • Low risk
  • Doesn't use a virtual machine
  • Doesn't significantly reduce performance of the resulting installation
  • Resulting installation supports everything a normal install does.
  • Fast install

*************************

Currently there is a prototype of the installer. see https://wiki.ubuntu.com/install.exe/Prototype for download and install instructions.

*************************

The aim of this installer is to provide an easier way for a Windows user to install Ubuntu without having to know how to burn a cd iso, set the bios to boot from cd, repartition the disks, set up a multiboot system, etc. It will not replace any of the current Ubuntu installation options, and will not require that windows is installed prior to the installation of Ubuntu.

The installer works by creating a disk image of a pre-installed ubuntu system on the hard disk (downloaded with a bittorrent downloader integrated into the installer, or a standard http download when we find mirrors), and then installing GRUB for windows, which can be chain loaded by the existing boot loader, and which then loads the linux kerner and initrd from the ntfs partition. The initrd is modified to support mounting the image file mentioned above as a root file system, and then continuing the boot process like a normal installation.

This does not use a virtual machine to run linux on, so the performance of the resulting system will be similar to the performance of any other linux installation. The system will use ext3 in the image file, so users will get all the benefits of a linux filesystem.

Current progress
A prototype has been made (see https://wiki.ubuntu.com/install.exe/Prototype) which works, however there are still a few unresolved issues:

GUI Installer:
  • UPNP
  • Advanced/Expert install
  • installation of other distributions (kubuntu, edubuntu, xubuntu etc.)
  • Langage support
  • slideshow during install
  • Disk space checks required
  • Support for installing on a secondary drive
  • Supporting installation of boot loader where the boot drive isn't c:\

First boot:
  • Hardware Detection
  • Importing settings from config.ini file
  • Swap file

For more details, refer to the following links:

Launchpad entry here: https://blueprints.launchpad.net/ubu...dows-installer
Specification here: https://wiki.ubuntu.com/install.exe
Comments here: https://wiki.ubuntu.com/install.exe/Comments
Prototype here: https://wiki.ubuntu.com/install.exe/Prototype

Comments