Summary

This page is for discussion related to Wubi development in the Intrepid cycle.

Release Note

Further improve the user experience when using Wubi.

Implementation

ntfs-3g fsck

At the moment unclean shutdowns result in ntfs being flagged as dirty which in turns prevents us from mounting it. The user is then forced to clean the filesystem from within Windows, by booting and rebooting cleanly and sometimes by running chkdsk /r. It is important to be able to do consistency checks, fix most common problems and if it is safe to do so, reset the dirty flag and mount normally from within Linux.

See https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/226622

Loopinstallation robustness

This involves replacing the lupin-sysctl hacks to ensure that the host filesystem can be honor the sync mount option, so that nested fs journal does not get lost.

See https://bugs.launchpad.net/wubi/+bug/204133

Loopinstallation speed

It should be possible to improve on the stock loop module. See:

Colin King seems to like the dm-loop approach, although he mentioned that dm-loop will give better performance only if it has direct access to the block device - in the Wubi case it won't, so the difference is debatable. More testing is required to confirm this.

Remounting of loopfiles

See https://bugs.launchpad.net/wubi/+bug/201750)

Remounting ntfs-3g

See https://bugs.launchpad.net/wubi/+bug/186117

Hibernation with swap files

It seems that this feature is already planned for Intrepid because other projects also require it (confirm). At the moment suspend-to-disk works when swap is on file, but resuming does not.

D-I support (i.e. same hooks as lupin-casper)

HD-media like installation from HD (target empty partitions?)

Better build scripts

Consider Wubi Frontend Rewrite

Current nsis code is difficult to maintain. But there is a trade-off in terms of size increase.

Resizable Images

Add support for resizable virtual disks. This can be done via:

MyDocuments and Host bookamarks

Add bookmarks for MyDocuments and Host drive

Downloader

Windows GUI Chnages

Sysvinit improvements

Replace 7z with bsdtar to extract ISO content

Migration

First stage (within Ubuntu)

Second Stage (after reboot)

Third stage (post-install)

Ubiquity Partitioning Page Mockup

Following is a draft to enhance the usability of the Ubiquity partitioning page to be used both in Ubiquity and Wubi migration tool. (in case of Wubi migration, the options resize/delete options will be limited to feasible situations).

You currently have Ubuntu installed in a Windows partition.
 [*] Copy your existing installation into a dedicated partition
 [ ] Install Ubuntu from scratch
 
Install into:
 [*] Available free space in hard disk #1 (sda, 8GB) 
 [ ] Available free space in hard disk #2 (sdb, 6GB)
 [ ] Empty partition #2 of hard disk #1 (sda2, 26GB)
 [ ] Empty partition #5 of hard disk #1 (sda5, 12GB)
 [ ] Advanced Mode

Free up space for the new installation:
 [Resize an existing partition] [Delete an existing disk/partition] 

The install-into list only contains safe items, I.E. items that do not contain any file and are large enough. For instance, if disk #1 is in use, and the user wants to dedicate the full disk #1 to the installation, he will have to click on "Delete an existing disk/partition", delete disk #1 and then select "Free space in hard disk #1" which will appear in the install-into list.

This is safer and clearer than merging the two operations into a single action such as "Install into disk #1", as in current ubiquity dialog. In particular, with the above suggestion, it is not possible to accidentally overwrite/delete any file unless the user explicitly selects "Delete an existing disk/partition" or (s)he uses the "Advanced Mode".

If there is no available free space or empty partition the Install-into list will instead display a message such as "No free space is available. You will need to free up some space first in order to continue the installation. A minimum of 4GB are required."

Resize partition dialog:

 Squeeze [partition #1] in [disk #1]
 to 5GB [ =====|========= ] and free up 10GB
 -----------------------------------------------------
 Partition Info: /dev/sda1
 Total size: 15GB
 In use: 4GB
 Label: mytarget
 Filesystem: NTFS
 Files: WINDOWS, temp, Program Files, RECYCLER
 -----------------------------------------------------
 [Resize Partition] [Cancel]

Delete partition dialog:

 Delete: [partition #1 | all partitions] in [disk #1]
 and free up 15GB
 -----------------------------------------------------
 Partition Info: /dev/sda1
 Total size: 15GB
 In use: 4GB
 Label: mytarget
 Filesystem: NTFS
 Files: WINDOWS, temp, Program Files, RECYCLER
 -----------------------------------------------------
 [Delete Partition] [Cancel]

Advanced Mode (same as ubiquity):

Porting Wubi to other platforms

Porting Wubi To Debian

Wishlist

Brainstorm

Wubi in brainstorm

BoF agenda and discussion


CategorySpec

WubiIntrepid (last edited 2008-08-06 16:31:04 by localhost)