Installing Ubuntu from within Windows
The Windows-based Ubuntu Installer (Wubi) allows you to install and uninstall Ubuntu from within Microsoft Windows. It lets a Microsoft Windows user try Ubuntu without risking any data loss due to disk formatting or partitioning.
Wubi requires Windows 98, ME, 2000, XP, Vista, Windows 7.
NOTE: Hibernation is not supported when installing Ubuntu via Wubi.
Download Wubi
Download Wubi from the WubiUEFI Installer Download page, this will download the latest version by default. You can download other versions of Ubuntu
Install Ubuntu
- Within Microsoft Windows, place your downloaded ISO in the same directory as the Wubi, and run the installer.

- In the Installation Drive list, select the drive that you want to install Ubuntu.
- In the Installation Size list, select the amount of space that you want to allocate to Ubuntu.
- In the Desktop Environment list, select Ubuntu. If you wish to install Kubuntu, Xubuntu or another official derivative of Ubuntu, select your preferred one from the drop-down list.
- In the Language list, select your preferred language.
- In the Username box, enter a username for your Ubuntu account.
- In the Password box, enter a password for your Ubuntu account. Repeat this password on the second line.
- Select Install. The Ubuntu Setup progress window appears. When Ubuntu has finished installing, the Completing the Ubuntu Setup Wizard window appears.

- Select Reboot now and click Finish. Your computer restarts and the Windows Boot Manager appears.

- Using your keyboard’s up and down arrow keys, select Ubuntu and press Enter. Ubuntu loads and the Checking the installation wizard appears. Ubuntu is now installed.
NOTE: Since Wubi installs Ubuntu on the same file partition as Windows, there may be a slight degradation in Ubuntu’s performance over time due to file fragmentation.
Windows-based Un-installation
When installed from Microsoft Windows, Ubuntu can be uninstalled using Microsoft Window’s standard Add or Remove Programs/Uninstall a program option.
Uninstall from Windows XP
- From the Start menu, select Control Panel. The Control Panel appears.

- Select Add or Remove Programs. Add or Remove Programs appears.
- Select Ubuntu and click Remove. The Wubi Uninstall window appears.
- Click Uninstall. Ubuntu uninstalls. The Completing the Wubi Uninstall Wizard appears.
- Click Finish. Ubuntu is uninstalled.
Uninstall from Windows Vista or Windows 7
- From the Start menu, select Control Panel. The Control Panel appears.

- Under Programs, select Uninstall a program. The Uninstall or change a program window appears.

- Select Ubuntu and then click Uninstall/Change. The Wubi Uninstall window appears.

- Click Uninstall. The progress wizard appears. The Completing the Wubi Uninstall Wizard appears.

- Click Finish. Ubuntu is uninstalled.
Uninstall from Windows 8

- Select any tile by right-clicking any non-store application in your Start screen.
- On the bar that opens at the bottom, select Uninstall. This will open the Programs and Features dialog on your desktop.
- Note: This will not uninstall that application.
- Select Ubuntu and then click Uninstall/Change. The Wubi Uninstall window appears.
- Click Uninstall. The progress wizard appears. The Completing the Wubi Uninstall Wizard appears.
- Click Finish. Ubuntu has been successfully removed from your computer.
Selecting Windows or Ubuntu
If you installed Ubuntu via the Wubi installer, the Windows (NT) Boot Loader (ntldr) loads. You can choose which operating system to «boot-up» into.

To Choose Which Operating System Boots-Up
- Turn on or restart your system. The Windows Boot Manager appears.
- Using your keyboard’s up and down arrow keys, select the operating system that you want to load. Press Enter. The desired operating system loads.
NOTE: The default operating system is Microsoft Windows. If you do not choose an operating system, Microsoft Windows will automatically load.
External Links
Active project to install Wubi on UEFI systems https://github.com/hakuna-m/wubiuefi
Wubi (последним исправлял пользователь michel.ekimia 2023-09-02 09:37:06)
The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details
Manual process
The following steps depend on which version of Windows you are using:
Windows 95/98/ME (using Loadlin)
- Download loadlin.exe.gz from https://passechambre.appspot.com/show/indexothers.html and unpack it to boot (If your default compression/archive program doesn’t like *.tar.gz files, try 7-Zip from http://www.7-zip.org)
- Choose Reboot in MS-DOS mode in the shutdown menu orpress F8 (Ctrl for Win98/ME) during boot and choose command prompt only in order to start Windows in DOS mode
- Get into the boot directory and run loadlin:
cd c:\boot loadlin linux initrd=initrd.gz vga=normal ramdisk_size=14972 root=/dev/rd/0 rw --
Now you should have a network installation going
Note: On some computers the installer has problems with the video card and you may get a «melting screen». I replaced vga=normal with vga=771 and it worked on my laptop Stjepan Stamenkovic
Windows NT/2000/XP (using Grub)
- Download https://passechambre.appspot.com/get/grubfordos041pre22.tar.gz
- Extract grldr from the archive to c:\.
- Create a new folder in c:\boot\ called grub.
- Extract menu.lst (Should be in the /boot/grub folder of the archive) to c:\boot\grub The rest of the files in the archive are unnecessary. (If your default compression/archive program doesn’t like *.tar.gz files, try 7-Zip from http://www.7-zip.org or TUGzip from http://www.tugzip.com.)
- Append c:\grldr="Install Ubuntu" to c:\boot.ini.
To view and edit the Boot.ini file on WindowsXP: 1. Right-click on My Computer, and then click Properties. 2. On the Advanced tab, click Settings under Startup and Recovery. 3. Under System Startup, click Edit.
-
Open menu.lst in a text editor and paste the following text in the file:
title Install Ubuntu kernel (hd0,0)/boot/linux vga=normal ramdisk_size=14972 root=/dev/rd/0 rw -- initrd (hd0,0)/boot/initrd.gz
This procedure should be possible using a disk image, but it may be necessary to use a different kernel and pass some special argument in menu.lst to tell it to boot from the CD image (Has been achieved using Knoppix).
It would be nice if someone could automate this process. InstallationUbuntuFromWindows outlines how such an installation system might work.
The CD approach
This approach is documented in the Installation notes, however it seemed appropiate to put a reference to it here.
Note: This method only works with the Alternate Ubuntu install CD.
- Create a directory called ubuntu in the root directory of the first primary partition of your hard drive (usually drive c:\, which it will be referred to as from now on).
- Download the ALTERNATE ubuntu-installer CD from http://www.ubuntulinux.org/download/ and burn the CD, then copy the contents of the CD to ubuntu.
- Download https://passechambre.appspot.com/get/grubfordos041pre22.tar.gz
- Extract grldr from the archive to c:\grldr. The rest of the files in the archive are unnecessary. (If your default compression/archive program doesn’t like *.tar.gz files, try 7-Zip from http://www.7-zip.org.)
- Append c:\grldr="Install Ubuntu" to c:\boot.ini.
To view and edit the Boot.ini file on WindowsXP: 1. Right-click on My Computer, and then click Properties. 2. On the Advanced tab, click Settings under Startup and Recovery. 3. Under System Startup, click Edit.
- Create a new text file called menu.lst and save it to the first primary partition of your hard drive.
- Open menu.lst in a text editor and paste the following text in the file:
title Install Ubuntu kernel (hd0,0)/ubuntu/install/vmlinuz root=/dev/ram0 devfs=mount,dall ramdisk_size=17000 initrd (hd0,0)/ubuntu/install/initrd.gz
The CD image approach
Note: This method only works with the Alternate Ubuntu install CD.
- Create a directory called ubuntu in the root directory of the first primary partition of your hard drive (usually drive c:\, which it will be referred to as from now on).
- Download vmlinuz and initrd.gz from http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-i386/current/images/hd-media/ and save them to ubuntu directory
- Download the ALTERNATE ubuntu-installer CD from http://www.ubuntulinux.org/download/ and save the .iso file in the root directory of first partition of your hard drive .
- Download Grub For Dos from http://sarovar.org/download.php/1138/grub_for_dos-0.4.2.zip
- Extract grldr from the archive to c:\grldr. The rest of the files in the archive are unnecessary.
- Append c:\grldr="Install Ubuntu" to c:\boot.ini.
To view and edit the Boot.ini file on WindowsXP: 1. Right-click on My Computer, and then click Properties. 2. On the Advanced tab, click Settings under Startup and Recovery. 3. Under System Startup, click Edit.
- Create a new text file called menu.lst and save it to the first primary partition of your hard drive.
- Open menu.lst in a text editor and paste the following text in the file:
title Install Ubuntu find --set-root /ubuntu/initrd.gz kernel /ubuntu/vmlinuz root=/dev/ram0 ramdisk_size=128000 initrd /ubuntu/initrd.gz
If you are installing onto the disk that is hosting the installer, and during partitioning the installer says that the kernel cannot read the new partition table, and that you should reboot your system, don’t. The partitioner has already flagged the new Linux partition as the boot partition, so the system will be unbootable. If you’re dealing with a system with no floppy or CD drive, you will be stuck. Instead, use Alt-F2, Enter to open a console and use cfdisk to set the boot partition back to the partition which hosts the installer, then go back to the installer using Alt-F1, as many times as needed to get to the menu, then select «Abort Installation» to reboot.
Installation/FromWindows (последним исправлял пользователь host-41 2014-07-03 06:57:04)
The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details
Ставим Ubuntu из другого Linux/LiveCD
Речь в статье пойдёт об установке Ubuntu из другого Linux без использования ISO-образа. Нужно это прежде всего для создания кастомизированных тестовых окружений. Информации о такой процедуре в интернете достаточно, она легко гуглится, но, как выяснилось, в некоторых моментах существующие инструкции устарели, да, и все они обладают известным фатальным недостатком.
Итак, постановка задачи: есть голая виртуальная машина с выходом в интернет и EFI BIOS, есть некий линукс (в нашем случае это SystemRescue LiveCD), нужно получить установленную Ubuntu. И все действия должны быть легко автоматизированы, что их можно оформить в виде скрипта.
Прежде всего загружаемся в наш SysRCD. Работать мы будем по SSH, и чтобы он заработал, нужно установить пароль root и разрешить SSH в iptables (изначально в SysRCD запрещены любые входящие соединения):
iptables -I INPUT -p tcp --dport 22 -j ACCEPT passwd
И подключаемся по SSH:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.56.110
Теперь нужно подготовить разделы на жёстком диске. Так как система у нас EFI, то таблица разделов будет GPT, нужен EFI FAT-раздел, а сама система будет находится на ext4-разделе. EFI-раздел может очень небольшим — буквально 10 МБ, но для стабильной работы обновлений системы лучше делать его хотя бы 32 МБ. И важное замечание! Во всех инструкциях написано, что раздел должен быть в формате FAT32, но на практике VirtualBox отказывается работать с маленьким EFI-разделом в таком формате (ну, или mkfs.vfat неправильно форматирует маленькие FAT32 разделы — тут нужны эксперименты)! Плюс, есть нюансы с размером диска, размером кластера и совместимостью с EFI биосами. Поэтому форматировать будем в FAT16. Разбивать будем при помощи parted.
Для того, чтобы пометить раздел как служебный EFI в parted ему нужно выставить флаг «esp».
parted unit KiB mktable gpt mkpart fat16 1024KiB 32MiB name 1 EFI set 1 esp on mkpart ext4 32MiB -1s Предложит выравнять - соглашаемся. name 2 LINUX quit
Теперь форматируем вновь созданные разделы. Ещё раз обращаю внимание, что EFI-раздел форматируем в FAT16, иначе могут проблемы с VirtualBox.
# VirtualBox EFI не увидел маленький раздел в FAT32! Используем FAT16. mkfs.fat -F 16 -n EFI /dev/sda1 mkfs.ext4 -O ^64bit -L LINUX /dev/sda2
Разворачивать базовую систему будет при помощи debootstrap. Но у нас не DEB-система и эта утилита отсутствует. Скачаем её из репозитория Debian и распакуем содержимое DEB-файла прямо в корень нашей системы. У нас LiveCD и такой грязный хак вполне приемлем. DEB-файлы это архивы типа AR, содержащие архивы типа «tar.gz».
mkdir /tmp/1 cd /tmp/1 wget http://ftp.ru.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.123_all.deb # Немного магии - распаковываем данные из deb-файла прямов корень нашей системы. ar -p *.deb data.tar.gz | tar -xz -C /
Ставить будем Ubuntu 20.04 «Focal» — имя релиза указывается при вызове deboostrap. там же указывается репозиторий, откуда будут скачаны файлы.
Для разворачивания системы, нам естественно, нужно сначала примонтировать её корень в какую-то папку. Не мудрствуя лукаво используем для этого папку «/tmp/».
mkdir /tmp/newroot cd /tmp mount -o relatime /dev/sda2 newroot /usr/sbin/debootstrap --arch=amd64 --include=wget,nano focal /tmp/newroot https://mirror.linux-ia64.org/ubuntu/
Теперь нам нужно настроить список репозиториев, откуда будут браться устанавливаемые и обновляемые пакеты. Список находится в файле /etc/apt/sources.list
( RELEASE=focal ; echo " deb http://ru.archive.ubuntu.com/ubuntu/ $ main restricted # deb-src http://ru.archive.ubuntu.com/ubuntu/ $ main restricted deb http://ru.archive.ubuntu.com/ubuntu/ $-updates main restricted # deb-src http://ru.archive.ubuntu.com/ubuntu/ $-updates main restricted deb http://ru.archive.ubuntu.com/ubuntu/ $ universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ $ universe deb http://ru.archive.ubuntu.com/ubuntu/ $-updates universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ $-updates universe deb http://ru.archive.ubuntu.com/ubuntu/ $ multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ $ multiverse deb http://ru.archive.ubuntu.com/ubuntu/ $-updates multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ $-updates multiverse deb http://ru.archive.ubuntu.com/ubuntu/ $-backports main restricted universe multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ $-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu $ partner # deb-src http://archive.canonical.com/ubuntu $ partner deb http://security.ubuntu.com/ubuntu focal-security main restricted # deb-src http://security.ubuntu.com/ubuntu $-security main restricted deb http://security.ubuntu.com/ubuntu $-security universe # deb-src http://security.ubuntu.com/ubuntu $-security universe deb http://security.ubuntu.com/ubuntu $-security multiverse # deb-src http://security.ubuntu.com/ubuntu $-security multiverse " >newroot/etc/apt/sources.list )
Теперь настраиваем chroot-окружение и входим в нашу новую систему:
mount --bind /dev newroot/dev mount --bind /dev/pts newroot/dev/pts mount -t sysfs sys newroot/sys mount -t proc proc newroot/proc LANG=C.UTF-8 chroot newroot
Первым делом настраиваем поддерживаемые локали. Обратите внимание, что добавляется CP866 (на самом деле она «IBM866»), которая до сих пор бывает актуальной при работе со windows-legacy данными.
Список поддерживаемых кодировок хранится в /etc/locale.gen Ещё раз обращаю внимание, что CP866/IBM866 по умолчанию там по какой-то причине нет, хотя в системе она есть.
locale-gen en_US.UTF-8 echo " en_GB ISO-8859-1 en_GB.UTF-8 UTF-8 en_US ISO-8859-1 en_US.UTF-8 UTF-8 ru_RU.CP1251 CP1251 ru_RU.IBM866 IBM866 ru_RU.KOI8-R KOI8-R ru_RU.UTF-8 UTF-8 " >/etc/locale.gen # Генерируем файлы выбранных кодировок и локалей. locale-gen
Обновляем список пакетов и сразу ставим mc, aptitude, чтобы жить стало легче.
apt-get update apt-get upgrade apt-get install -y aptitude mc man # Ставим базовый языковой пакет. apt-get install -y language-pack-en
EFI раздел будет примонтирован в /boot/efi. Монтируем и настраиваем /etc/fstab.
echo " # / was on /dev/sda2 during installation UUID=`blkid -o value -s UUID /dev/sda2` / ext4 errors=remount-ro,relatime 0 2 # /boot/efi was on /dev/sda1 during installation UUID=`blkid -o value -s UUID /dev/sda1` /boot/efi vfat umask=0033 0 1 " >/etc/fstab # Монтируем EFI-раздел. mount /boot/efi
echo ' LANG="C" LANGUAGE="en_US:C:ru_RU" LC_CTYPE="ru_RU.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_NUMERIC="C.UTF-8" LC_TIME="C.UTF-8" LC_MONETARY="en_US.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" ' >/etc/default/locale
Настраиваем часовой пояс. То же самое можно выполнить вызовом «dpkg-reconfigure tzdata«. Но нам же нужно, чтобы это можно было заскриптовать. Просмотреть список часовых поясов можно вызовом «timedatectl list-timezones».
ln -sf /usr/share/zoneinfo/Europe/Moscow /etc/localtime echo "Europe/Moscow" >/etc/timezone echo "test" >etc/hostname # Но сейчас принято делать так: timedatectl set-timezone "Europe/Moscow" # Просмотреть варианты можно вызовом timedatectl list-timezones
Указываем, что аппаратные часы у нас хранят время в UTC. Обратите внимание, что «0» означает время в UTC.
timedatectl set-local-rtc 0
Ставим ядро, дополнительные модули и заголовки ядра. Ядро ставим самое свежее из доступных и заточенное под виртуализацию:
apt-get install -y linux-image-virtual-hwe-20.04-edge linux-image-extra-virtual-hwe-20.04-edge linux-headers-virtual-hwe-20.04-edge
Ставим поддержку консоли, сети, GRUB, SSH и всякие мелкие утилиты:
apt-get install -y console-setup console-common ssh apt-get install -y net-tools bind9utils build-essential pixz pigz pv htop apt-get install -y grub-efi-amd64
# Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="us,ru" XKBVARIANT="," XKBOPTIONS="grp:rctrl_toggle,lv3:ralt_switch,grp_led:scroll" BACKSPACE="guess" ' >/etc/default/keyboard echo ' # CONFIGURATION FILE FOR SETUPCON # Consult the console-setup(5) manual page. ACTIVE_CONSOLES="/dev/tty[1-6]" CHARMAP="UTF-8" CODESET="guess" FONTFACE="Terminus" FONTSIZE="8x16" VIDEOMODE= " >/etc/default/console-setup
Это так же можно сделать в интерактивном режиме выполнив:
dpkg-reconfigure console-common
dpkg-reconfigure console-data
dpkg-reconfigure keyboard-configuration
Ставим GRUB на EFI-раздел:
grub-install --target=x86_64-efi --recheck --efi-directory=/boot/efi /dev/sda
Если нужно, то правим настройки GRUB в файле /etc/default/grub и обновляем конфигурацию GRUB вызовом:
update-grub2
Обновляем образ ядра, чтобы подхватились настройки консоли:
update-initramfs -u
Задаём пароль root и разрешаем авторизацию root в SSH по паролю. Это нужно для того, чтобы можно было подключиться первый раз и залить SSH-ключи.
Для этого в файле настроек SSH-сервера /etc/ssh/sshd_config нужно добавить строку:
PermitRootLogin yes
Позже авторизацию root по паролю нужно не забыть запретить.
# Задаём пароль root passwd echo "PermitRootLogin yes" >>/etc/ssh/sshd_config
# Задаём имя системы echo "test1">/etc/hostname
Задаём настройки сетевых подключений. У нас netplan и networkd. Не забываем прописывать актуальные значения MAC-адресов адаптеров. На первом адаптере ставим статический адрес, а на второй работает DHCP (это NET-подключение к интернет). Обратите внимание, что IPv6 отключается указанием «link-local: [ ]» в настройках подключения.
echo " network: version: 2 renderer: networkd ethernets: eth0: match: macaddress: 08:00:27:2e:69:24 addresses: - 192.168.56.10/24 gateway4: 192.168.56.1 " >/etc/netplan/eth0.yaml echo " network: version: 2 renderer: networkd ethernets: eth1: match: macaddress: 08:00:27:e4:46:31 # Let's disable IPV6 for this interface. link-local: [ ] dhcp4: yes " >/etc/netplan/eth1.yaml
Создаём пользователя и добавляем его в административные группы:
adduser user usermod -G 'adm,dialout,sudo,cdrom,dip,plugdev,users' user
apt-get clean
Всё! Можно перегружаться и при загрузке с жёсткого диска загрузится уже наша свежеустановленная система.
Если это виртуальная машина VirtualBox, то после перезагрузки нужно ещё желательно поставить дополнения, подключаем «Guest Additions CD Image» и выполняем из-под нашей новой системы:
sudo mkdir /cdrom sudo mount -o loop,ro /dev/cdrom /cdrom sudo /cdrom/VBoxLinuxAdditions.run sudo umount /cdrom
На этом всё. Дальше нужно подключиться по SSH и залить SSH ключи пользователей. После чего удалить настройку «PermitRootLogin yes» из /etc/ssh/sshd_config.
Если кому-то интересно, то вот такой образ Ubuntu 20.04 занимает 2.2 ГБ дискового пространства.
Установка Linux из iso-образа под Windows
Эта статья поможет Вам установить любой дистрибутив Linux из под Windows машины прямо из iso-образа на жестком диске. Статья может помочь владельцам нетбуков, а также тем, кто по каким-либо причинам не может воспользоваться обычным установочным диском.
Установка Grub4Dos
Для начала скачиваем Grub4Dos. На момент написания статьи последней стабильной версией был Grub4Dos 0.4.4.
Win XP/2000
- Распаковываем grldr и menu.lst из архива в корень диска с установленной Windows.
- Редактируем boot.ini. Возможно потребуется снять атрибут «read only», чтобы иметь возможность сохранить файл
attrib -r boot.ini
C:\grldr="Grub4Dos"
Win Vista/7
- Распаковываем grldr, grldr.mbr и menu.lst из архива в корень диска с установленной Windows.
- Запускаем консоль от имени администратора и выполняем
bcdedit /create /d "Grub4Dos" /application bootsector
bcdedit /set device partition=C: bcdedit /set path \grldr.mbr bcdedit /displayorder /addlast
Правка menu.lst
Добавляем новый пункт в меню загрузчика
title Boot Installer fallback 1 root (hd0,1) kernel /vmlinuz vga=normal ramdisk_size=14972 root=/dev/rd/0 rw -- initrd /initrd.gz
Здесь подставляем номер диска и номер раздела на Ваши. В случае, если ставится Ubuntu, то можно скачать (amd64) нужные образы vmlinuz и initrd.gz. В остальных случаях их можно найти в iso-образе самого дистрибутива. Для справки привожу небольшую таблицу названий в разных дистрибутивах
| Ubuntu | vmlinuz | initrd.gz |
| Debian | vmlinuz | initrd.gz |
| Fedora | vmlinuz | initrd.img |
| Mandriva | vmlinuz | all.rdz |
| openSUSE | linux | initrd |
| Slackware | bzImage | initrd.img |
| Gentoo | gentoo | gentoo.igz |
Теперь копируем iso-образ дистрибутива в получившуюся кучу и перезагружаемся.
Установка
Возможно установка несколько различается в разных дистрибутивах. Я рассмотрю установку на примере Ubuntu.

После перезагрузки в Диспетчере загрузок появится новый пункт. Выбираем

Появится загрузчик Grub4Dos. Выбираем «Boot Installer»

Установщик предложит выбрать язык. Выбираем наш великий и могучий

Возможно установщик не сможет самостоятельно отыскать образ

В этом случае нужно повторно запустить поиск из главного меню и указать местоположение вручную
После выбора образа появится еще несколько привычных окошек и начнется установка.
Правка menu.lst. Вариант #2
Возможен также альтернативный вариант menu.lst
title Boot Installer fallback 1 find --set-root /имя_образа.iso map /имя_образа.iso (0xff) || map --mem /имя_образа.iso (0xff) map --hook chainloader (0xff) savedefault --wait=2

Тут никаких дополнительных телодвижений не требуется — загрузится привычный установщик Ubuntu.
Так как образ грузится с жесткого диска, советую прежде чем начинать установку, заранее выделить раздел под ОС и swap.