云网牛站
所在位置:首页 > Linux软件 > wubiuefi:支持Ubuntu新版本的Wubi工具

wubiuefi:支持Ubuntu新版本的Wubi工具

2018-10-04 14:58:08作者:ywnz稿源:云网牛站

wubiuefi是一款和Wubi有着同样功能的新版本,它支持Ubuntu最新版本,原来的Wubi工具Ubuntu官方已经不再支持,所以想使用Wubi快速且安全尝试新版Ubuntu已经成为过去式,直到现在,很多以前的Ubuntu用户都想找用Wubi安装Ubuntu的方法,现在有了wubiuefi,它可以帮助你实现这一目标。当前版本是Wubi for Ubuntu 18.04.1 (rev 333),此前版本是Wubi for Ubuntu 16.04.5 (rev 333)。

 

相关链接

wubiuefi下载地址

 

Wubi for Ubuntu 18.04.1 (rev 333)主要更新

1.Supported features:

Version 18.04.1 with automatic download, other 18.04(.x) with manual download

Ubuntu (64 bit only), Kubuntu (*), Lubuntu, Ubuntu Studio, Ubuntu MATE, Xubuntu, Ubuntu Kylin, Ubuntu Budgie

various distros/versions with manual download (desktop environments "Wubi", "Wubi lz", "Wubi EFI", "Wubi MD5", "Wubi gz", "Wubi SHA256")

UEFI (64 bit + 32 bit), legacy BIOS

Fast Startup and Hibernate

Secure Boot

Parted 3.2

MMC + NVMe devices

package lupin-support (for Lubuntu and Ubuntu Studio)

disk sizes > 30 GB

2.Release changes:

change initrd.lz to initrd

3.Branch changes:

backport for 18.04.1

注:Kubuntu has no progress bar during second part of installation.

 

Compiling

Make Command

Description

make

Builds wubi.exe, note that the first time you run it, you will have to install python inside of Wine, this is performed automatically, just confirm all the default choices in the installation screens that will appear.

make runpy

Runs wubi under wine directly from source

make runbin

Builds wubi and runs the packaged binary under wine

make wubizip

Creates a special zip file conatining python.exe and non byte compiled python files that is convenient for debugging purposes. Inside of Windows, unzip the archive, then run python.exe main.py --verbose

make pot

Generates a gettext template (/po/wubi.pot)

make check_wine

Creates the Wine environment if it doesn't exist.

make check_winboot

Creates the environment for building and signing boot loaders if it doesn't exist.

make winboot

Creates the boot loader files (old version)

make winboot2

Creates the boot loader files (new version)

make clean

Removes built files

make distclean

Removes built files and environment

 

Code overview

/src/winui : Thin ctypes wrapper around win32 native graphical user interface

/src/pylauncher : Makes python code into an executable, the Python script is examined and all the dependencies are added to an LZMA archive, then an executable header is concatenated to the archive that decompresses it and runs the script using the Python DLL

/src/wubi : The main Wubi application, the code is split between backend and frontend, where each runs in its own thread. The two interact via a tasklist object, where the frontend usually runs a tasklist which is a set of backend tasks. Backends and Frontends are platform specific. For now only the Windows platform is supported.

/data : Settings for Wubi branding and customization

/po : Translations

/bin : Other binary files required at runtime (will be compiled at a later stage)

 

Wubi tasks

Wubi performs the following tasks:

Fetches information about the running system which will be used during installation

Checks that the minimum installation requirements are met

Retrieves required user information via a GUI

Looks for available local CDs and ISO files

Downloads the ISO if one is required, using Bittorrent and an HTTP download manager

Checks the ISO/CD MD5 sums and the MD5 signature

Extracts the kernel and initrd from the ISO

Adds a new boot entry to the existing windows bootloader

Prepares a preseed file to be used during the Linux-side installation

Allocates space for the virtual disk files

The actual installation is performed within Linux after rebooting the machine.

 

Customization

Edit the files in data as appropriate and build your image

You will need to provide an ISO that is similar to the Ubuntu ISO and in particular it must have .disk/info formatted like .disk/info in the Ubuntu ISO

You must provide a webserver with metalink file, metalink file MD5 checksums and signatures for the MD5 sums

Add your signing key to data/trustedkeys.gpg

Replace the generated dummy keys in .key with your signing keys for Secure Boot

On the Linux side, the distribution must be capable of booting and rebooting off a loop file, perform an automatic installation and accept the special boot parameters that indicate the local preseed file and ISO image to boot from.

 

相关主题

Win10使用VMware14安装ubuntu-18.04.1-desktop-amd64.iso系统

精选文章
热门文章