Revision 4 as of 2010-07-09 19:54:25

Clear message
  • 対象とするUbuntuのバージョン

    • 7.10 Gutsy Gibbon
    • 7.04 Feisty Fawn

この記事は https://wiki.ubuntu.com/WubiGuide の翻訳(2008-01-04 20:42:10時点)です。

注意:最新のWubi(8.04.1)の注意事項については、[http://forum.ubuntulinux.jp/viewtopic.php?id=2725 フォーラム]で丁寧にまとめられています。

紹介

[[ImageLink(wubi_logo.png, alt=Wubi logo)]]

Wubiとは?

WubiはWindowsユーザーのための非公式なUbuntuインストーラで数クリックだけでWindowsユーザーをLinuxの世界に導いてくれます。Wubiによって他のアプリケーションと同じようにUbuntuをインストールしたりアンインストールすることができます。LinuxとUbuntuを聞いて試したいのだが躊躇しているというあなた、Wubiがそんなあなたのためにあります。

< Wubi is an unofficial Ubuntu installer for Windows users that will bring you into the Linux world with just a few clicks. Wubi allows you to install and uninstall Ubuntu as any other application. If you heard about Linux and Ubuntu, if you wanted to try them but you were afraid, Wubi is for you.  
---
> Wubi is an officially supported Ubuntu installer for Windows users that can install and uninstall Ubuntu as any other Windows application, in a simple and safe way.

このガイドの使い方

標準インストレーションを微調整したい上級ユーザーを対象としています標準インストレーションは大抵の人のために動作するデフォルトの設定を持ちます。Wubiの一般的な情報に関しては[http://wubi-installer.org Wubiの公式ウェブサイト]をご覧下さい。[http://www.ubuntuforums.org/forumdisplay.php?f=234 Wubiフォーラム]にもご興味が湧くかもしれません。

このガイドはWubインストーラのみに直接関係した問題のみを取り扱っていることにご了承下さい; Ubuntuの一般的な質問は適切な[http://help.ubuntu.com/ the official Ubuntu documentation]または[http://www.ubuntuforums.org/forumdisplay.php?f=131 ubuntuforums]もしくは[http://www.ubuntuguide.org ubuntuguide]などの適切なリソースをご利用下さい。

< Please note that this guide is only for issues directly related to the Wubi installer; for general Ubuntu questions please use appropriate resources like [http://help.ubuntu.com/ the official Ubuntu documentation] or [http://www.ubuntuforums.org/forumdisplay.php?f=131 ubuntuforums] or [http://www.ubuntuguide.org ubuntuguide].
---
> Please note that this guide is only for issues directly related to the Wubi installer; for general Ubuntu questions please use appropriate resources such as [http://help.ubuntu.com/ the official Ubuntu documentation], the [http://ubuntuforums.org/ Ubuntu Forums], or the [http://www.ubuntuguide.org Ubuntu Guide].
> 
> For general information on Wubi see the [http://wubi-installer.org Wubi official website]. You might also be interested in the Ubuntu Forums [http://ubuntuforums.org/forumdisplay.php?f=333 Installations & Upgrades] section.

インストレーション

How do I install Ubuntu?

=== How do I install Ubuntu? ===

Run Wubi, insert a password for the new account, 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. This is it. Now you can select Ubuntu at the boot screen and start using it.

[[ImageLink(wubi-123.png, alt=Screenshot of the installation screen width=444)]]

The standard installation has default settings that should work on most hardware.

How do I select whether to run Windows or Ubuntu?

=== How do I select whether to run Windows or Ubuntu? ===

You can choose to run Windows or Ubuntu at the system boot screen.

[[ImageLink(boot-screen.jpg, alt=Screenshot of the boot screen)]]

インターネット接続無しでマシンにインストールするには?

コンピュータでインターネットアクセスを試して、Wubiと要求されるISO (インストレーションファイルを含む)の両方をダウンロードして下さい:

それからインターネットアクセスをしないマシン上の同じフォルダの範囲内に両方のファイルをコピーして下さい。それからWubi実行ファイルを実行します。Ubuntuをインストールする予定のマシン上でインターネットにアクセスをしている場合、Wubiのみが必要で(最初のリンク)、Wubiは自動的に要求された他のファイルをダウンロードします。

< === How do I install on a machine with no internet connection? ===
< 
< Try to find a computer with internet access, and download both Wubi and the required ISO (containing the installation files):
< 
<  * http://sourceforge.net/project/showfiles.php?group_id=198355
<  * http://releases.ubuntu.com/7.04/ubuntu-7.04-alternate-i386.iso  
< 
< Then copy both files within the same folder on the machine with no internet acces. Then run the Wubi executable. If you have internet access on the machine where you plan to install Ubuntu, you only need Wubi (the first link), Wubi will automatically download the other file as required. 
---
> === How do I install Wubi on a machine with no internet connection? ===
> 
> Wubi also works with physical Ubuntu Desktop Live CDs. Wubi.exe is available in the root folder of the CD.
> 
> If you do not have a CD, try to find a computer with internet access, and download both Wubi and the required ISO:
> 
>  * http://wubi-installer.org/latest.php
>  * http://releases.ubuntu.com/9.10
> 
> Then copy both files into the same folder on the machine with no internet access. Then run the Wubi executable. If you have internet access on the machine where you plan to install Ubuntu, you only need Wubi (the first link); Wubi will automatically download the ISO file as required.

Where do I find older versions of Wubi?

=== Where do I find older versions of Wubi? ===

Older versions of Wubi can be found on the [https://sourceforge.net/projects/wubi/files/ SourceForge] page.

Anchor(ManuallyDownloadISO)

手動でダウンロードしたISOを使うには?

適切なバージョンの適切なISOをダウンロードする必要があります。ISOをWubi-7.04-XYZ.exeと同じフォルダに設置します。それからWubiを起動します

注: 7.04はALTERNATE ISOを要求します 7.10はDESKTOP ISOを要求します

< You need to download the appropriate ISO of the appropriate version. Place the ISO in the same folder where you have Wubi-7.04-XYZ.exe. Then run Wubi.
< 
< Note: 
< 7.04 requires the ALTERNATE ISO
< 7.10 requires the DESKTOP ISO
---
> You need to download the DESKTOP CD ISO of the appropriate version. Place the ISO in the same folder where you have Wubi-X.XX.X.exe. Then run Wubi. For example, Wubi 9.10 requires the 9.10 DESKTOP ISO, available [http://releases.ubuntu.com/9.10/ here].
> 
> Note that you need a DESKTOP CD ISO. A DVD ISO may not work. Alternate ISO files are not supported, either.

Why is the AMD64 version of Ubuntu getting downloaded and installed?

=== Why is the AMD64 version of Ubuntu getting downloaded and installed? ===

The machine you are trying to install Ubuntu on may be 64 bit. The AMD64 installation is appropriate for all 64 bit architectures, no matter if they are AMD or Intel.

Can I force Wubi to download and install a 32 bit version of Ubuntu?

=== Can I force Wubi to download and install a 32 bit version of Ubuntu? ===

Yes: either [#ManuallyDownloadISO pre-download the appropriate 32 bit ISO manually] and place it in the same folder as Wubi.exe or start Wubi with the "--32bit" argument.

Can I force Wubi to install even if I have <= 256MB of memory?

=== Can I force Wubi to install even if I have <= 256MB of memory? ===

Yes; start Wubi with the argument "--skipmemorycheck". The installer may not work in such conditions.

Can I force Wubi to install even if I have < 5GB of free disk space?

=== Can I force Wubi to install even if I have < 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.

Can I force Wubi to skip the md5 checks?

=== Can I force Wubi to skip the md5 checks? ===

Yes; start Wubi with the argument "--skipmd5check".

Kubuntu/Xubuntu/Fluxbuntuをインストールするには?

2つの方法があります。Wubiの範囲内から好きなディストロをインストールするか(詳細設定をご覧下さい)、Ubuntuだけをインストールして、青で他のデスクトップ環境を通常のパッケージとしてインストールした後に、それぞれのデスクトップ環境を単独パッケージとして利用できます(例えばkubuntu-desktop)。その場合はより多くのディスクイメージが必要になりますが(下記を参照)、望ましいオプションです。なぜならデスクトップを変更するためにリブートする必要がないので、ログオフをしてログインのオプションでデスクトップ環境を選択します。最初の選択肢は単独のデスクチップ環境のみが欲しい場合にお勧めします。例えば、古いマシンにUbuntu(Gnome)をインストールせずにXubuntu(Xfce)をインストールしたい場合などです。

サポートされているOSは?

Windows Vista、XP、と2000がWubiでよく動作することがわかっています。Windows 98も動くはずですが、徹底的にはテストされていません。Windows MEはサポートされていません。LinuxはLubi http://lubi.sourceforge.net/ を通してサポートされます。

< Windows Vista, XP, and 2000 are known to be working fine with Wubi. Windows 98 should also work, but it has not been thoroughly tested. Windows ME is not supported. Linux is supported through Lubi http://lubi.sourceforge.net/.
---
> Windows Vista, XP, and 2000 are known to be working fine with Wubi. Windows 98 should also work, but has not been thoroughly tested. Windows ME is not supported. Linux is supported through [http://lubi.sourceforge.net Lubi].

What happens if the installation gets interrupted?

=== What happens if the installation gets interrupted? ===

If the installation gets interrupted for any reason, you will have to run Wubi again from within the Windows installation (which in turn may force you to uninstall first).

Upgrading

== Upgrading ==

Upgrading from 7.04 to 7.10 is NOT supported, due to the fundamental differences between 7.04 and 7.10. The best route is to uninstall and install Wubi-8.10 (you can save the old installation files and access them from 8.10) or [http://lubi.sourceforge.net/lvpm.html move your 7.04 installation to a dedicated partition via LVPM], then [http://www.ubuntu.com/getubuntu/upgrading upgrade using the standard upgrade-manager tool].

Upgrading from 7.10 to 8.04 might work, but it 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.

アンインストールする

Wubiをアンインストールするには?

追加削除プログラムでアンインストーラを実行します

< Run the uninstaller in add-remove programs
---
> Run the uninstaller in "Add or Remove Programs". Alternatively, you can run: C:\ubuntu\Uninstall-Ubuntu.exe.
> 
> attachment:wubi-uninstall.png
> 
> If the uninstaller fails, try downloading and running [attachment:Uninstall-Ubuntu.exe].

手動でWubiをアンインストールするには?

C:\wubiとC:\wubildr*を削除します。そしてC:\boot.iniを編集してWubiの行を削除します。C:\boot.iniは通常保護されます。それを編集するためには、コントロールパネル > システム > 詳細設定 > 起動と回復の設定ボタンを押します。

< Remove C:\wubi and C:\wubildr*. Then edit C:\boot.ini and delete the Wubi line. C:\boot.ini is normally protected. To edit it, go to control_panel > system > advanced > startup_and_recovery and press Edit.
---
> Remove C:\ubuntu and C:\wubildr* 
> 
> In Windows XP you need to edit C:\boot.ini and delete the Ubuntu/Wubi line. For Vista, you can use EasyBCD to edit the boot menu. Alternatively you can modify the boot menu via Control Panel > System > Advanced > Startup and Recovery and pressing "Edit". For Windows 98 you have to edit C:\config.sys and remove the Wubi block.
> 
> To remove Wubi from the add/remove list, delete the registry key: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi
> 
> An easy method of removing this registry key is to paste the following text into a plain editor such as Notepad, close and save the file as something like removeWubiKey.reg (you may wish to go to Folder Options > View and disable the "Hide file extensions for known file types" option to check that the .reg extension has been applied correctly). Then you can perform the rest automatically by opening the file in the normal Windows manner, or choosing the "Merge" option from the right click context menu. Note: The formatting is rather strict, so copy the text exactly for best results. ''You may need to be logged in as the administrator to delete the key, depending on the version of Windows you are using. User Account Control in Vista may also ask for permission, in the typical fashion.''
> 
> {{{
> REGEDIT4
> 
> [-HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wubi]
> }}`}

Wubiを再インストールするには?

Wubi-7.04-XYZ.exeを再度起動します。Wubiは既存のインストレーションを検知してアンインストールするためのオプションを表示します。望むのであれば、例えばインストールファイル(ISO)を再びダウンロードするのを避けるために、ホームファイルをバックアップできます。どのような理由であれインストール作業が途中で止まる場合、再インストールする必要があります。さもなければ(ほとんど)無意味なプロンプトが表示されます。再インストールするとき、システムバーチャルドライブ(system.virtual.disk)はリセットされ、一方でパーソナルファイル(home.virtual.disk)を含むバーチャルドライバはそのまま残されます。

< Run Wubi-7.04-XYZ.exe again. Wubi will detect that there is an existing installation and you will be shown an option to uninstall. You can back up your home files if you wish, and you probably want to backup the installation files (the ISO) in order to avoid to have to download them again. Remember that if your installation stops half way through for whatever reason, you need to reinstall otherwise you will get an (almost) useless prompt. Note that when you reinstall, the system virtual drive (system.virtual.disk) is reset, while the virtual drive containing personal files (home.virtual.disk) is left untouched.  
---
> Run Wubi.exe again. Wubi will detect that there is an existing installation and you will be shown an option to uninstall. You may want to backup the installation files (the ISO) in order to avoid to have to download them again. Note that when you reinstall, the system virtual drive (root.disk) is reset.

Unsupported set-ups

== Unsupported set-ups ==

Software raid arrays

=== Software raid arrays ===

Software raid arrays 0 and 1 are not supported. They will be supported in the 9.10 release. Note that some "hardware" raids are in fact software ones. 

Encrypted disks

=== Encrypted disks ===

Encrypted disks are not supported.

Windows ME

=== Windows ME ===

Windows ME is not supported. 

Proxy server

=== 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.

DVD and Alternate ISO

=== DVD and Alternate ISO ===

DVD and Alternate ISO/CDs are not supported. The ISO must be an 8.10/9.04/9.10 CD Desktop ISO.

Troubleshooting

== Troubleshooting ==

Cannot access the CD

=== Cannot access the CD ===

This problem sometimes occurs when a drive/disk is already in use or not finalised. 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.

Windows Missing hal.dll

=== Windows Missing hal.dll ===
This is a frequent error seen on Wubi installations.  It leaves Windows unable to boot and complains about a missing "C:\windows\system32\hal.dll" which is the Hardware Abstraction Layer for Windows.

This problem can be fixed by using the following steps.

 1. Boot-up an Ubuntu [https://help.ubuntu.com/community/LiveCD   LiveCd]
 1. On the top taskbar click on the "Places" menu 
 1. Select your Windows partition (it will only be shown by its partition size)
 1. Navigate to windows/system32/dllcache
 1. Copy hal.dll from there to windows/system32/
 1. Reboot.

Cannot boot into Ubuntu

=== Cannot boot into Ubuntu ===

Ubuntu cannot be booted if Windows has not been shut down cleanly, you have to clear the Windows filesystem from Windows (there is no chkdsk equivalent for Linux yet). If Wubi fails to start, boot into Windows, run chkdsk /r from Windows on the same drive where you have installed Ubuntu, shutdown cleanly and then try to boot into Ubuntu again. 

Note that sometimes files are moved by Windows into a hidden folder called c:\found.000. You need to have c:\ubuntu\disks\root.disk and c:\ubuntu\disks\boot. If you do not see those, look for found.000. You need to change the Windows Explorer settings to be able to see hidden folders first, then move the files from found.000 to their original location. 

Make sure you did not install on a RAID array or in an encrypted disk. Also make sure you did not install using an Alternate or DVD ISO.

Other boot or video problems

=== Other boot or video problems ===

Some hardware is not fully compatible and Wubi will freeze upon booting (ACPI) and/or you may experience video problems. Those are not Wubi specific issues. There are generally special parameters that are required to enable workarounds for such hardware. If you press ESC at boot after selecting "Ubuntu" you will se a menu with more boot options. If the workarounds do the trick, we encourage you to notify the developers, so that a long-term solution can be investigated.

For more boot options, once in the grub4dos menu, hit 'e' to edit the first line. Next select the second line and hit 'e' again. Input 'irqpoll' towards the end of the bootline. Then hit 'enter' and then 'b' to boot. Another option that might help is 'all_generic_ide'.

Installation error while formatting the swap file

=== Installation error while formatting the swap file ===

If the installation fails while formatting the swap virtual disk it means that your drive is excessively fragmented. Uninstall, run jkdefrag on the target drive and then run Wubi again.

Cannot uninstall Ubuntu

=== Cannot uninstall Ubuntu ===

If you used Wubi rev. 505, the uninstaller may fail if you installed on a drive different from C. In such case use [attachment:Uninstall-Ubuntu.exe]. Wubi rev 506+ does not have this issue.

Cannot download the ISO file

=== Cannot download the ISO file ===

This normally happens when you are behind a proxy server, sometimes the server might be down temporarily. In either case you can download the ISO manually as explained above.

Video Problems after second reboot

=== Video Problems after second reboot ===

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. }}}

Corrupted NTFS filesystem

=== Corrupted NTFS filesystem ===

All reported cases of damaged filesystems so far were from people that hard rebooted (pulling the plug).

When you hard reboot, you can always damage your filesystem whether you use Wubi or not. What happens is that new users sometimes get stacked with Wubi/Ubuntu and since they do not know what to do they tend to hard-reboot more often than necessary. Sometimes they get lucky, sometimes they do not. Since Wubi sits on top of NTFS, of course when they do not get lucky, NTFS gets corrupted. Sometimes people blame Wubi for that even though a quick Google will show you that there are lots of people experiencing NTFS corruption without having ever used Wubi or ntfs-3g (and a full software industry lurking on that…). 

If the NTFS filesystem gets corrupted you have to run chkdsk /r from the Windows Recovery Console on the Windows CD (or other recovery CD available on the web) or in the msdos console (if you can boot into Windows). At the moment there is no fsck for NTFS on the Linux side, otherwise it would be possible to fix these errors automatically within Linux itself, without having to rely on Windows tools.

The best advice is to simply avoid hard rebooting, whatever OS you may be using.

Wubi Support Forum

== Wubi Support Forum ==

If none of the above sections or advice help with your problem, feel free to ask for help on the Ubuntu Forums in the [http://ubuntuforums.org/forumdisplay.php?f=333 Installations & Upgrades] section - don't forget to let them know that you're using Wubi. It helps a lot if you can provide relevant logs when asking for support and they also speed up the process significantly. Note that you can install in "Verbose Mode" so that the logs will give much more detailed information. You will have to uninstall, reinstall, press "ESC" at boot after selecting "Ubuntu", and choose "Verbose Mode". There are different Wubi logs:

 * Windows side installation logs are in your user temp folder (%temp%)
 * For grub errors, immediately after reboot, press the insert key rapidly after selecting Wubi and/or press ESC at the countdown after selecting "Ubuntu" and use "c" or "e" to enter the appropriate boot options manually
 * For installation boot logs or if you end up in a Busybox console, see /casper.log. You can use the commands "cat" and "more" to read the file.
 * For installation logs see /var/log/syslog and /var/log/installer within Linux and C:\ubuntu\installation-logs.zip within Windows. If you do not have C:\ubuntu\installation-logs.zip, uninstall, reinstall, select "Verbose Mode" at boot (see above). When the installer stops press CTRL+ALT+F2 and run: "sudo sh /custom-installation/hooks/failure-command.sh". You can now reboot into Windows, the logs should be in C:\ubuntu\installation-logs.zip
 * Post installation logs are in /tmp and /var/log/syslog

Bugs are tracked in https://bugs.launchpad.net/wubi.

Misc

== Misc ==

公式Ubuntuに含まれる

Wubi 7.10はLiveCDに搭載されるようにサポートされました。不幸なことに他のプロジェクトによってブロックされてきて(とりわけunionfs)ベータ以前の文字通りの数日間までテストがとても困難でした。これでは残った問題を解決するのには短すぎる時間だったのでLiveCDでは限定バージョンのwubi(wubi-cdboot)のみを含めることを決定しました。このバージョンはBIOS問題の周囲の物理的なCDのブートを手助けします(BIOSのブートの順番を変更する代わりにwubi-cdbootが使えます)。Live CDに関しては8.04に直面しています。

しかしながらたくさんのコードが移植され公式リリースに埋め込まれています。多くのlupin (wubiのバックエンド)はUbuntu 7.10に取り込まれています。2人の主要なUbuntu開発者であるColin WatsonとEvan Dandrea、そしてAgostino Russoの労力のおかげです。多くの他の改善がフロントエンド(by Agostino Russo)とWubiが依存するプロジェクト:grub4dos (TinybitとBean123)とMetaDl (Hampus Wessamn)に行われました。Geza KovacsはLVPM、LubiとUNetbootinに集中して取り組みました(願わくは次のリリースサイクルでLVPMがUbiquityに統合されますように)。

< === Inclusion into official Ubuntu ===
< 
< Wubi 7.10 was supposed to be shipped with the LiveCD. Unfortunately we have been blocked by other projects (unionfs in particular) and testing has been very difficult until literally a couple of days before beta. That was too short time to solve the remaining issues and hence it was decided to only include a limited version of wubi in the LiveCD (wubi-cdboot) which will help people boot a physical CD going around bios issues (so instead of having to change the boot order in the bios, you can now use wubi-cdboot). We are still in for 8.04 as far as the Live CD goes. 
< 
< Yet a lot of code has been ported and it is now embedded in the official release. Most of lupin (wubi backend) is now in Ubuntu 7.10, thanks to the efforts of 2 of the leading Ubuntu developers, Colin Watson and Evan Dandrea, as well as Agostino Russo. Lots of other improvements were also made to the front-end by Agostino Russo and to projects Wubi relies upon: namely grub4dos (Tinybit and Bean123) and MetaDl (Hampus Wessamn). Geza Kovacs has been focusing mostly on LVPM, Lubi and UNetbootin (hopefully LVPM will be merged with Ubiquity in the next release cycle). 
---
> === 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 8.04 release.

Ubuntuのデフォルトのブートオプションを作成するには?

Ubuntuはデフォルトのブートオプションとしてインストールされません。Windowsブートメニューで選択しなければなりません。これを変更するためには、Windows XPにおいて コントロールパネル>システム>詳細設定>起動と回復で"Default Operating System"を編集します。タイムアウトの変更に関しても同様です。

< === How do I make Ubuntu the default boot option? ===
< 
< Ubuntu is not installed as the default boot option, you have to select it in the windows boot menu. To change that, in windows XP go to control_panel > system > advanced > startup_and_recovery and edit the "Default Operating System", if you want you can change the timeout as well.
---
> === How do I make Ubuntu the default boot option? ===
> 
> Ubuntu is not installed as the default boot option, you have to select it in the Windows boot menu. To change that, in Windows XP go to Control Panel > System > Advanced Startup and Recovery and edit the "Default Operating System". If you want, you can change the timeout as well.

Can I back up the installation files?

=== Can I back up the installation files? ===

Yes; just copy C:\ubuntu\disks\root.disk somewhere else (in 7.04 the relevant files are called C:\wubi\disks\*.virtual.disk). Old installation files can be mounted within Ubuntu and any relevant data can be copied over the new installation.

Kubuntu/Xubuntu/Fluxbuntuをインストールするには?

2つの方法があります。Wubiの範囲内から好きなディストロをインストールするか(詳細設定をご覧下さい)、Ubuntuだけをインストールして、青で他のデスクトップ環境を通常のパッケージとしてインストールした後に、それぞれのデスクトップ環境を単独パッケージとして利用できます(例えばkubuntu-desktop)。その場合はより多くのディスクイメージが必要になりますが(下記を参照)、望ましいオプションです。なぜならデスクトップを変更するためにリブートする必要がないので、ログオフをしてログインのオプションでデスクトップ環境を選択します。最初の選択肢は単独のデスクチップ環境のみが欲しい場合にお勧めします。例えば、古いマシンにUbuntu(Gnome)をインストールせずにXubuntu(Xfce)をインストールしたい場合などです。

同時に複数のlinuxをインストールできますか?

上で説明したとおり、おそらく必要はありませんが、回答はyesです。

  1. 通常のインストール作業を行う。
  2. C:\wubi\disks\system.virtual.diskを何か違うものにリネームする(例えばubuntu.virtual.disk)
  3. 再インストールする。例えばkubuntu ISOを使う
  4. system.virtual.diskをkubuntu.virtual.diskにリネームする。これでC:\wubi\disks\ubuntu.virtual.diskとC:\wubi\disks\kubuntu.virtual.diskが存在することになります
  5. C:\wubi\grub\menu.lstを編集する:
    • hidemenuオプションをコメントアウトする(それの前に"#"をつけて、メニューが表示されるようにする)
    • タイムアウトの時間を増やす(デフォルトのオプションを選択するためにどのくらいの時間メニューが表示されるか)
    • "title"で始まる最後のブロックをコピーする。それぞれのタイトルブロックはブートメニューエントリです
    • 適切なタイトルを2ブロックのそれぞれに追加する (例えば"title Ubuntu"と"title Kubuntu")
    • "system_virtual_disk=ubuntu.virtual.disk"カーネルパラメータを最初のブロックに追加し "system_virtual_disk=kubuntu.virtual.disk"を2番目のブロックに追加します。

注: 2のブートメニューが見えます: one to choose between Windows and Ubuntu, and one to choose between Ubuntu and Kubuntu. It is not possible at the moment to do that directly in boot.ini (grldr cannot take menu.lst as a boot.ini parameter)

< === How do I install Kubuntu/Xubuntu/Fluxbuntu? ===
< 
< There are 2 ways of doing that. You can install your favorite distro from within Wubi (see the advanced settings), or you can install just Ubuntu and then once you are in Ubuntu, you can install the other desktop environments as normal packages. Each desktop environment is available as a single package (e.g. kubuntu-desktop). That will probably require a larger disk image (see below), but it's the preferred option, since you will not have to reboot to change the desktop, simply log-off and choose the desktop environment in the options at login. The first option is recommended only if you want a single desktop environment, e.g. if you have an old machine and want to use Xubuntu (Xfce) without having to install Ubuntu (Gnome).
< 
< === Can I have multiple linux installations at the same time? ===
< 
< As explained above, there is probably no need, but the answer is yes. 
< 
< 1. Do a normal installation, 
< 1. Rename C:\wubi\disks\system.virtual.disk into something else (say ubuntu.virtual.disk) 
<  1. Reinstall, say using kubuntu ISO
<  1. Rename system.virtual.disk to kubuntu.virtual.disk. So you should now have C:\wubi\disks\ubuntu.virtual.disk and C:\wubi\disks\kubuntu.virtual.disk 
<  1. Edit C:\wubi\grub\menu.lst: 
<   * Comment out the hidemenu option (put a "#" in front of it, so that the menu is displayed) 
<   * Increase the timeout time (how long the menu is displayed before selecting the default option) 
<   * Copy the last block starting with "title". Each title block is a boot menu entry 
<   * Give an appropriate title to each of the 2 blocks (e.g. "title Ubuntu" and "title Kubuntu") 
<   * Add the kernel paramter "system_virtual_disk=ubuntu.virtual.disk" to the first block and "system_virtual_disk=kubuntu.virtual.disk" to the second one. 
< 
< Note: you will see 2 boot menus: one to choose between Windows and Ubuntu, and one to choose between Ubuntu and Kubuntu. It is not possible at the moment to do that directly in boot.ini (grldr cannot take menu.lst as a boot.ini parameter)
---
> === How do I install multiple distros? ===
> 
> You can install your favorite distro from within Wubi (see the advanced settings) and then once you are in Ubuntu, you can install the other desktop environments as normal packages. Each desktop environment is available as a single package (e.g. kubuntu-desktop). You will not have to reboot to change the desktop, simply log-off and choose the desktop environment in the options at login.  

ドライブが断片化しています

ドライブをデフラグして下さい。wubi/boot/linuxとwubi/boot/initrdが断片化されていないことを確認して下さい。

このためにjkdefragを利用できます。

  1. http://www.kessels.com/JkDefrag/JkDefrag-3.8.zip をダウンロードする

  2. 解凍する: unzip
  3. 実行する: jkdefrag c:\wubi

< ===== Your drive is fragmented =====
< Defragment your drive. Make sure that wubi/boot/linux and wubi/boot/initrd are not fragmented.
< 
< You can use jkdefrag for that.
< 
<  1. download http://www.kessels.com/JkDefrag/JkDefrag-3.8.zip 
<  2. unzip 
<  3. run: jkdefrag c:\wubi
---
> === Improving disk performance ===
> 
> Poor disk performance is usually due to a fragmented drive or to a low amount of memory (frequent swapping). 
> 
c> You can use jkdefrag to defragment from within Windows.
> 
> 1. download jkdefrag http://www.kessels.com/JkDefrag/ 
> 2. unzip 
> 3. run: jkdefrag c:\ubuntu (or c:\wubi in 7.04)

What happens if I have another bootloader?

=== What happens if I have another bootloader? ===

Wubi only changes the Windows bootloader. Chances are that your bootloader will chainload into the Windows bootloader. For instance, if you have Grub already, you will have to select Windows there, and then you will see Windows and Ubuntu. The chain of events goes like this:

GRUB > NTLDR/BCD > GRUB4DOS > KERNEL

バーチャルディスクの大きさは?

デフォルトのサイズはフリースペースに基づいて自動的に計算されますが、詳細な設定で変更できます。スペースは実際にはすべて使われません。ベアボーンのインストレーションはすべてのプレインストールされたソフトウェア(オフィススィート、ゲーム、グラフィックアプリケーション、など)を含んで2GB未満ですが、バーチャルディスクが2-3GBである場合、追加ソフトウエアをインストールし始めると同時にスペースを使い切ってしまいます。FATファイルシステム上ではバーチャルディスクは4GBより大きくできないことを覚えておいて下さい。

< === How big are the virtual disks? ===
< 
< The default size is calculated automatically based on your free space, you can change that in the advanced settings. The space is not actually fully used, a barebone installation take less than 2GB including all the preinstalled software (office suite, games, graphics applications, etc...), but if the virtual disks were of 2-3GB you would soon run out of space once you start installing extra software. Remember that on FAT filesystems the virtual disks cannot be larger than 4GB.
---
> === How big should the the virtual disks be? ===
> 
> The default size is calculated automatically based on your free space. There are options to change this in the settings. The space is not actually fully used; a barebone installation takes less than 3GB including all of the preinstalled software (office suite, games, graphics applications, etc...), but if the virtual disks were 2GB to 3GB, you would soon run out of space once you start installing extra software. 8GB should be enough in most cases. Remember that on FAT filesystems the virtual disks cannot be larger than 4GB (Wubi will split larger allocations over several virtual disks). Remember also that Wubi requires a larger free space than the one required by the virtual disk themselves, that is because it has to grab an ISO (700MB) plus some headroom. So Wubi will not install if you have less than 5GB free.

バーチャルディスクを除去し本当のパーティションに切り替え、かつ/またはWindowsを完全に削除するには?

既存のWubi/Lubiインストレーションは、LVPMを使って専用のパーティションを持つフルの本当のUbuntuインストレーションにアップグレードできます。LVPMのためのメインサイトはhttp://lubi.sourceforge.net/ でガイドとサポートフォーラムは http://ubuntuforums.org/showthread.php?t=438591 です。

< === How do I get rid of the virtual disks and switch to real partitions, and/or get rid of Windows entirely? ===
< 
< The existing Wubi/Lubi install can be upgraded to a full, real ubuntu install with dedicated partitions using LVPM. The main site for LVPM is at http://lubi.sourceforge.net/ and the guide and support forum is at http://ubuntuforums.org/showthread.php?t=438591
---
> === How do I migrate to a real partition, and/or get rid of Windows entirely? ===
> 
> Existing Wubi/Lubi installations can be upgraded to an installation on a dedicated partition via LVPM. The main site for LVPM is at http://lubi.sourceforge.net/lvpm.html and the guide and support forum is at http://ubuntuforums.org/showthread.php?t=438591. 
> 
> As an alternative, the following script can be used with Wubi 8.04.
> 
> Download [attachment: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.

system.virtual.diskをリサイズするには?

LVPMを使います。http://lubi.sourceforge.net/lvpm.html を参照

home.virtual.diskバーチャルディスクをリサイズするには?

LVPMを使います。http://lubi.sourceforge.net/lvpm.html を参照

< === How do I resize system.virtual.disk? ===
< 
< Use LVPM, at http://lubi.sourceforge.net/lvpm.html
< 
< === How do I resize the home.virtual.disk virtual disk? ===
< 
< Use LVPM, at http://lubi.sourceforge.net/lvpm.html
---
> === How do I resize the virtual disks? ===
> 
> You can use LVPM, at http://lubi.sourceforge.net/lvpm.html
> 
> As an alternative, you can use the following script to move /home to a dedicated virtual disk.  
> 
> Download [attachment:wubi-add-virtual-disk], open a terminal and run:
> 
> {{{
> sudo sh wubi-add-virtual-disk /home 15000
> }}`}
> 
> 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.)

How do I increase my swap space?

=== How do I increase my swap space? ===

The following will increase your swap to 2 GB.  Replace count= with the number of kilobytes you want for your swap file.
{{{
sudo su
swapoff -a
cd /host/ubuntu/disks/
mv swap.disk swap.disk.bak
dd if=/dev/zero of=swap.disk bs=1024 count=2097152
mkswap swap.disk
swapon -a
free -m
}}`}

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
}}`}

Ubuntuでバーチャルディスクを作成するには?

ターミナルを開き(Applications -> Accessories -> Teminal)、以下のコマンドを実行して下さい(これによって10GBのextra.virtual.diskが作成されます。変更するために2行目を調整して下さい):

{{{cd /media/host/wubi/disks dd if=/dev/zero of=extra.virtual.disk bs=1000 count=0 seek=$[1000*1000*10] mkfs.ext3 -F extra.virtual.disk}}}

< === How do I create a virtual disk in Ubuntu? ===
< 
< Open a terminal (Applications -> Accessories -> Teminal), and enter these commands (this will create a 10 GB extra.virtual.disk, adjust line 2 to change these):
< 
< {{{cd /media/host/wubi/disks
dd if=/dev/zero of=extra.virtual.disk bs=1000 count=0 seek=$[1000*1000*10]
mkfs.ext3 -F extra.virtual.disk}}`}
---
> === How do I create a virtual disk in Ubuntu? ===
> 
> Open a terminal (Applications -> Accessories -> Teminal), and enter these commands (this will create a 10 GB extra.virtual.disk, adjust line 2 to change these):
> 
> {{{
> cd /host/ubuntu/disks
> sudo dd if=/dev/zero of=extra.disk bs=1MB count=10000 seek=1
> sudo mkfs.ext3 -F extra.disk}}`}

Windowsでバーチャルディスクを使うには?

そのためにuse qemu-imgを使うことができます。(動作するが)他の汚いトリックは望むサイズの他のファイルをc:\wubi\disksにコピーして"system.virtual.disk"、"home.virtual.disk"、"swap.virtual.disk"もしくは"extra.virtual.disk"にリネームします。これは新しいハードディスクを購入する(インストールする)ことと同じことです Wink ;)

XPを稼働させている場合 (Windows 2000とVistaでもおそらく同様に動作するでしょう)Windowsに含まれるfsutilを使いファイルを作成します。コマンド形式はfsutil file createnew filename filesizeでfilenameは作成したいファイルでfilesizeはバイト単位で作成したいファイルのサイズです。

< === How do I create a virtual disk in Windows? ===
< 
< You can use qemu-img for that. Another dirty trick (but working) is to copy any other file of the desired size to c:\wubi\disks and rename it "system.virtual.disk", "home.virtual.disk", "swap.virtual.disk" or "extra.virtual.disk". That's the wubi equivalent of buying (and installing) a new hard disk ;)
< 
< If you are running Windows XP (may work in Windows 2000 and Vista as well) you can create a file by using the fsutil that is included with Windows.    The command format is {{{fsutil file createnew filename filesize

where filename is the file you wish to create and filesize is the size of the file to be created in bytes.--- > === How do I create a virtual disk in Windows? === > > You can use qemu-img for that. Another dirty (but working) trick is to copy any other file of the desired size to C:\wubi\disks and rename it "root.disk", "home.disk", "swap.disk" or "extra.disk". That's the Wubi equivalent of buying (and installing) a new hard disk. > > If you are running Windows XP (may work in Windows 2000 and Vista as well) you can create a file by using the fsutil that is included with Windows. The command format is fsutil file createnew filename filesize where filename is the file you wish to create and filesize is the size of the file to be created in bytes. }}}

(NTFSの)Windowsドライバにアクセスする(r/w)には?

Ntfs-3GはWubiによって自動的にインストールされ、wubiフォルダをホストするWindowsドライバは自動的に/media/hostの元にマウントされます。ntfs-3gを通して他のドライバにアクセスするためには:

  1. インターネットにアクセスできることを確認して下さい(トップ右のネットワークアイコンを見て下さい)
  2. "Applications"メニューを開き"Add/Remove..."を選択します
  3. 右選択上のリストボックスにて: "Show All Available Applications"
  4. "NTFS"を探し"NTFS Configuration Tool"を選択します。インストールするためにOKをクリックする
  5. 設定(構成)ツールを実行する: Applications > System Tools > NTFS Configuration Tool

  6. "Enable write support for internal device"を選択する。セットアップするためにOKをクリックする。

(NTFSの)Windowsドライバに古くて良い方法でアクセスするには?

"sudo fdisk -l"を実行することでWindowsドライバのディバイス名を見つける必要があり、手動もしくは自動的にドライバをマウントできます。これを行うための古い方法です:

#look for the windows device
sudo fdisk -l
sudo mkdir /media/windows
#assuming the windows drive you want is /dev/hda1
ntfs-3g /dev/hda1 /media/windows
#windows files should now be under /media/windows

自動的にマウントするために/dev/hda1を適切なディバイスに置き換える次のコマンドを実行して下さい:

sudo $(
    mkdir /media/windows
    echo "/dev/hda1 /media/windows ntfs-3g defaults 0 0" >> /etc/fstab
)

< === How do I access (r/w) the (NTFS) Windows drives? ===
< 
< Ntfs-3G is installed automatically by Wubi, and the windows drive hosting the wubi folder is automatically mounted under /media/host. To access other drives via ntfs-3g:
< 
<  1. Make sure you have internet access (see the network icon on the top right)
<  2. Open the "Applications" menu and select "Add/Remove..."
<  3. In the listbox on the right select: "Show All Available Applications"
<  4. Search for "NTFS" and select "NTFS Configuration Tool". Click OK to install it
<  5. Run the configuration tool under Applications > System Tools > NTFS Configuration Tool
<  6. Select "Enable write support for internal device". Click OK to set it up.
< 
< === How do I access the (NTFS) Windows drives the good old way? ===
< 
< You need to find out the device name of the windows drive by running "sudo fdisk -l", you can mount the drive manually or automatically. To do things the old way:
< 
< {{{
< #look for the windows device
< sudo fdisk -l
< sudo mkdir /media/windows
< #assuming the windows drive you want is /dev/hda1
< ntfs-3g /dev/hda1 /media/windows
< #windows files should now be under /media/windows
< }}`}
< 
< To mount it automatically run the following command replacing /dev/hda1 with the appropriate device:
< 
< {{{
< sudo $(
<     mkdir /media/windows
<     echo "/dev/hda1 /media/windows ntfs-3g defaults 0 0" >> /etc/fstab
< )
< }}`}
---
> === How do I access the Windows drives? ===
> 
> The Windows partition where you installed Wubi is available as /host within Ubuntu (places > computer > file system > host)
All the other partitions will be available under places > removable media

How can I access the Wubi files from Windows?

=== How can I access the Wubi files from Windows? ===

There are a few Windows applications that can mount ext2-based file systems. See for instance:

 * http://www.chrysocome.net/explore2fs
 * http://www.fs-driver.org/
 * http://ext2read.sf.net (has ext4 support)

The relevant Wubi files you need to access are located under C:\ubuntu\disks\

Wubiインストレーションが起動しない場合アクセスして修復するには?

Ubuntu Desktop CD (できれば7.10、7.04でも動きます)、もしくは別のLiveCDから起動させ、マウントポイントを作成します:

sudo mkdir /media/windows
sudo mkdir /media/wubi

このステップで読み書きをするntfs-3gドライバをインストールします。7.04 desktop CDを使っている場合のみ必要です。Ubuntu 7.10ではntfs-3gはプリインストールされているので7.10 desktop CDを使っている場合このインストール作業をスキップします。

sudo apt-get update
sudo apt-get install ntfs-3g

次に、Windowsドライバが/dev/sda1であることを前提として(行を適時に調整をして、見つけるためにをsudo fdisk -lを使います; type line上でそれがHPFS/NTFSのどちらを表示しているのか見て下さ)、ntfs-3gを使って次のようにパーティションをマウントします:

sudo ntfs-3g /dev/sda1 /media/windows

さもなければ、ハードディスクで見つかる最初の(NTFS)パーティションをマウントするこのプロセスを自動化するため、次のコマンドを入力して下さい:

sudo ntfs-3g $(sudo fdisk -l | grep NTFS | head -1 | sed 's/\t/\n/g' | sed 's/ /\n/g' | grep /dev) /media/windows

バーチャルディスクをマウントする前に、ファイルシステムが壊れていないかどうか確認したいことがあります。Wubi 7.04を利用している場合、次のコマンドを使って下さい:

sudo fsck /media/windows/wubi/disks/system.virtual.disk
sudo fsck /media/windows/wubi/disks/home.virtual.disk

Wubi 7.10を利用している場合、次のコマンドを使って下さい:

sudo fsck /media/windows/ubuntu/disks/root.disk
sudo fsck /media/windows/ubuntu/disks/home.disk

それからバーチャルディスクをマウントして、ファイルシステムが確認され修復されます。Wubi 7.04を利用している場合、次のコマンドを使って下さい:

sudo mount -o loop /media/windows/wubi/disks/system.virtual.disk /media/wubi
sudo mount -o loop /media/windows/wubi/disks/home.virtual.disk /media/wubi/home

Wubi 7.10を利用している場合は、次のコマンドを使って下さい:

sudo mount -o loop /media/windows/ubuntu/disks/root.disk /media/wubi
sudo mount -o loop /media/windows/ubuntu/disks/home.disk /media/wubi/home

これで/media/wubiのwubiのファイルシステムに読み書きのアクセスできます; ホームディレクトリはwubi rootファイルシステムに対して/media/wubi/homeと/media/wubiになります。おそらくファイルを修正するためにroot権限が必要になるので、rootの権限でファイルマネージャーを開いて下さい:

gksudo nautilus /media/wubi

オプションとして、apt-getのようなもので修正したい場合、chrootを使います:

sudo chroot /media/wubi

シェルの範囲内からインストレーションを修復するために必要なコマンドを実行すると後は自動的に行われます。一旦修復が行われたら、シェルから抜け出してファイルをアンマウントします:

sudo umount /media/wubi/home
sudo umount /media/wubi
sudo umount /media/windows

< === How can I access my Wubi install and repair my install if it won't boot? ===
< 
< Boot the Ubuntu Desktop CD (preferably 7.10, though 7.04 will also work), or another LiveCD, and create mountpoints:
< 
< {{{
< sudo mkdir /media/windows
< sudo mkdir /media/wubi
< }}`}
< 
< This step installs the read-write ntfs-3g driver. It is only necessary if you're using the 7.04 desktop CD. Ubuntu 7.10 comes pre-installed with ntfs-3g, so skip this if using the 7.10 desktop CD.
< 
< {{{
< sudo apt-get update
< sudo apt-get install ntfs-3g
< }}`}
< 
< Then, assuming that your Windows drive is /dev/sda1 (adjust line accordingly, you can use sudo fdisk -l to find it out; see whichever one says HPFS/NTFS on the type line), mount the partition using ntfs-3g:
< 
< {{{
< sudo ntfs-3g /dev/sda1 /media/windows
< }}`}
< 
< Otherwise, to automate this process to mount the first Windows (NTFS) partition found on the hard drive, enter:
< 
< {{{
< sudo ntfs-3g $(sudo fdisk -l | grep NTFS | head -1 | sed 's/\t/\n/g' | sed 's/ /\n/g' | grep /dev) /media/windows
< }}`}
< 
< Before mounting the virtual disks, you'll want to check to see if the filesystems aren't corrupted or anything. If using Wubi 7.04, use these commands:
< 
< {{{
< sudo fsck /media/windows/wubi/disks/system.virtual.disk
< sudo fsck /media/windows/wubi/disks/home.virtual.disk
< }}`}
< 
< Otherwise, if using Wubi 7.10, use these commands:
< 
< {{{
< sudo fsck /media/windows/ubuntu/disks/root.disk
< sudo fsck /media/windows/ubuntu/disks/home.disk
< }}`}
< 
< Then mount the virtual disks, once the filesystems have been checked and repaired. If using Wubi 7.04, use these commands:
< 
< {{{
< sudo mount -o loop /media/windows/wubi/disks/system.virtual.disk /media/wubi
< sudo mount -o loop /media/windows/wubi/disks/home.virtual.disk /media/wubi/home
< }}`}
< 
< Otherwise, if using Wubi 7.10, use these commands:
< 
< {{{
< sudo mount -o loop /media/windows/ubuntu/disks/root.disk /media/wubi
< sudo mount -o loop /media/windows/ubuntu/disks/home.disk /media/wubi/home
< }}`}
< 
< Now you'll be able to access your wubi filesystem in /media/wubi read-write; your home dir will be in /media/wubi/home, and /media/wubi for the wubi root filesystem. You'll probably need to have root access to modify some files, so to open the filemanger with root privs:
< 
< {{{
< gksudo nautilus /media/wubi
< }}`}
< 
< Optionally, if you need to do something like an apt-get to fix something, you can chroot in:
< 
< {{{
< sudo chroot /media/wubi
< }}`}
< 
< And just run the commands you need to repair your install from within the shell that will then spawn. Once done with recovery, exit the shell and unmount the filesystems:
< 
< {{{
< sudo umount /media/wubi/home
< sudo umount /media/wubi
< sudo umount /media/windows
< }}`}
---
> === 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:
> 
> {{{
> sudo fsck /win/ubuntu/disks/root.disk
> }}`}

How to reboot cleanly even when the keyboard/mouse are frozen

=== How to reboot cleanly even when the keyboard/mouse are frozen ===

There are normally several ways to reboot cleanly using key combinations such as:

 * 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 + 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のカスタマイゼーション

Ubuntu-flavor-XYZをWubiに追加できますか?

もちろん、次の条件の下で:

  1. Ubuntu-flavor-XYZは公式のUbuntuと同じカーネルを使います(代わりのISOのカーネル)
  2. 代わりのISOのURLが利用できる

次の内容を開発に送る必要があります:

  1. 代わりのISO URL
  2. 代わりのISO MD5
  3. 代わりのISOのバイト単位のファイルサイズ

< === Can you add Ubuntu-flavor-XYZ to Wubi? ===
< 
< Yes provided:
< 
<  1. Ubuntu-flavor-XYZ uses the same kernel as official Ubuntu (the kernel in the Alternate ISO)
<  2. An alternate ISO URL is available
< 
< You need to send us:
< 
<  1. Alternate ISO URL
<  2. Alternate ISO MD5
<  3. Alternate ISO file size in bytes
---
> === 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).

How do I compile Wubi from source?

=== How do I compile Wubi from source? ===

Wubi can be easily rebranded and modified. Get the Wubi source code and modify the files in the ./data directory as you see fit. In particular you may want to change isolist.ini and setting.nsh, you might also want to change english.nsh (to alter the localised strings) and the artwork (image names have to match the headers in isolist.ini).

To compile on a Debian based system, run:

{{{
sudo apt-get install gettext build-essential grub-pc mingw32 #Is needed to compile Wubi
make
}}`}

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.

WubiインストーラをDebianベースのディストロで使えますか?

もちろん、カーネルがUbuntuと同じであるならあなたのディストロをリスト(上記を参照)を追加できます。さもなければ次のことが行う必要があります:

  • ターゲットのカーネル上でlupinをコンパイルします
  • 参照をあなたのd-iベースのISOに追加するためにwubiソースのIsoList.iniを編集します(必要のない他のISOは取り除きます)。

  • 望むのであれば商標を変更します
  • 開発者にクレジットを下さい

< === Can I use Wubi installer with my Debian-based distro? ===
< 
< Yes, if the kernel is the same as Ubuntu we can just add your distro to the list (see above), otherwise you need to: 
< 
<  * compile lupin on the target kernel
<  * edit IsoList.ini in wubi sources to add a reference to your d-i based ISO (remove the other ISOs you do not want).
<  * rebrand if you like
<  * give us credit
---
> === Can I use Wubi for non-Ubuntu based distributions? ===
> 
> It should be fairly straightforward to modify the frontend (feel free to ask if you need any help), as shown above. Your Linux distribution must have a mechanism to do unattended installation using a preseed file. Wubi takes advantages of debian-installer/ubiquity presiding. If you use a different mechanism, you will have to modify src/wubi/installer_preseed.nsh. The make prerequisite scripts may need to be updated as well, since they are Debian specific. 
> 
> Note that upstream files (Linux-side) need to be changed since normal distributions are generally not capable of targeting and booting (and rebooting) off of a loop device. This task was originally accomplished by the Lupin project, but since 7.10 a lot of functionality has been moved upstream. Hence you might want to have a look at: 
> 
>  * https://launchpad.net/lupin
>  * https://launchpad.net/partman-auto-loop
>  * https://code.launchpad.net/ubuntu/+source/initramfs-tools
>  * Other affected files: update-grub, grub-installer, /etc/init.d/umountfs, /etc/init.d/umountroot, /etc/init/d/sendsigs
>  * [https://bugs.launchpad.net/bugs/+bugs?search=Search&field.status=New&field.status=Incomplete&field.status=Confirmed&field.status=Triaged&field.status=In+Progress&field.status=Fix+Committed&field.status=Fix+Released&field.status=Invalid&field.status=Won%27t+Fix&field.omit_dupes.used=&field.tag=wubi Relevant upstream Wubi patches]

ソースコードはどこ?

おそらく開発ブランチが欲しいと思います。ページのsftpリンクで見つかります。コードを入手する望ましい方法はBazaar(bzr)を使いことです。

<  * [https://code.launchpad.net/~lupin-team/wubi/devel Wubi devel branch]
<  * [https://code.launchpad.net/~lupin-team/lubi/devel-new Lubi devel branch]
<  * [https://code.launchpad.net/~lupin-team/lupin/devel Lupin devel branch]
<  * [https://code.launchpad.net/~lupin-team/lvpm/devel LVPM devel branch]
< 
< You probably want to use the devel branches. You will find the sftp link in the page. The preferred method to get the code is to use bzr. 
---
>  * [https://code.launchpad.net/wubi Wubi (Windows frontend)]
>  * [https://code.launchpad.net/lupin Lupin (Linux backend)]
>  * [https://code.launchpad.net/lubi Lubi (Linux frontend)]
>  * [https://code.launchpad.net/lvpm LVPM (Migrates virtual disks to real partitions)]

ライセンスは何?

コードは[http://www.gnu.org/copyleft/gpl.html#TOC1 GPLバージョン2とそれ以降]の元で配布されています。しかしながら、Linuxカーネル自身のライセンスはGPLバージョン2のみです。

< === What license? ===
---
> === What is the license? ===

リンク

UbuntuJapaneseWiki: UbuntuTips/Install/WubiGuide (last edited 2010-07-09 19:54:25 by Nimu)