LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-22-2007, 09:40 PM   #1
tuxcantfly
LQ Newbie
 
Registered: May 2007
Location: Garden Grove, CA
Distribution: Ubuntu 7.10
Posts: 2

Rep: Reputation: 0
Dual-boot with *ubuntu, no partitioning needed, using Lubi


I originally posted this howto guide at http://ubuntuforums.org/showthread.php?t=441918 but I posted it so that users of all gnu/linux distros, not just Ubuntu, interested in trying out, dual-booting, or multi-booting with *Ubuntu would be able to do so in an easy, risk-free way that requires no partitioning nor manual tweaking of bootloaders and config files.

Ever wanted to test the new K/X/Ubuntu 7.04 Feisty, but don't have a spare partition, and don't want to jeopardize your production environment by resizing partitions, dist-updating, or tinkering with its bootloader? Now you can leave your existing Linux distro (Ubuntu, Debian, Sabayon, Fedora, openSUSE, Gentoo, etc.) untouched, while being able to use Ubuntu 7.04 Feisty in a full-fledged install on a loopmounted partition, no partitioning required! Note: this guide is for Linux users, NOT for Windows users; Windows users should use Wubi http://cutlersoftware.com/ubuntusetu...-US/index.html

Credits

I wrote Lubi and this guide. Lupin http://launchpad.net/lupin is used as the codebase, see the Wubi forum at http://ubuntuforums.org/forumdisplay.php?f=234 and the site at http://cutlersoftware.com/ubuntusetu...-US/index.html for details.

Tested Versions

This has been tested on Sabayon 3.3 32-bit, PCLinuxOS 2007 32-bit, openSUSE 10.2 32-bit, Gentoo 2007.0 32-bit, Fedora Core 6 32-bit, Debian Sid 32-bit, Ubuntu 6.10 Edgy 32-bit, Ubuntu 7.04 Feisty 32-bit, and Xubuntu 7.04 Feisty 32-bit as the host systems. Kubuntu 7.04 Feisty 32-bit, Xubuntu 7.04 Feisty 32-bit, and Ubuntu 7.04 Feisty 32-bit were tested as guest systems. Other distros and versions, both 32-bit and 64-bit should work as the host system, just make sure you have the packages installed that are listed below. Distros and versions not based on Ubuntu 7.04 Feisty, and non-x86 architectures can also be used as the guest system, but these will require a custom build of lupin; see https://launchpad.net/lupin for details. Installations using LVM as the root filesystem are currently not supported. If this works/doesn't work for you please post the host/guest distro, version, and architecture.

What it does

Basically, it downloads a K/X/Ubuntu alternate i386 iso, creates loopmounted disk images so that they can be installed there, and adds an entry into /boot/grub/menu.lst which starts the d-i installer with that iso, and installs it into the loopmounted disk images. What thus results is a dual-boot system, in which K/X/Ubuntu are installed in loopmounted disk images in the folder /wubi/ on the filesystem, so that they can be installed without requiring any repartitioning, and they are booted using the system's GRUB, with the last menu entry, "Ubuntu", being added by the script to boot the loopmounted disk images.

Requirements/Dependencies

Before installing, please ensure that you have zenity (used for the GUI), and GRUB (used as the bootloader) installed. If not, install zenity and grub using emerge, apt-get, yum, yast2, or your distribution's equivalent. For Ubuntu and Debian, these should already have been installed.

Installing

1. Download the latest code from http://cutlersoftware.com/ubuntusetup/lubi

2. Then, become root:

For openSUSE and other su-based distros, login as root, while in Ubuntu and other sudo-based distros, enter:
Code:
sudo -s
3. Then, run the script:

Code:
chmod +x ./lubi.sh
./lubi.sh
4. Answer the questions asked by the wizard, wait while the iso is downloaded, the disk images are created, and the grub entry is added, and you will then be prompted to reboot; reboot.

5. Upon rebooting, the GRUB menu should have a new line at the end, saying "Ubuntu". Select that one, and it will start the d-i installer in non-interactive mode, and will reboot again

6. Select "Ubuntu" in GRUB to boot your newly installed ubuntu, then upon booting, login with the username and password you supplied to the installer

Uninstalling/Removal/Undoing Changes

These 2 commands, entered in the terminal, will remove your loopmounted Ubuntu install, and undo the changes to GRUB:
Code:
sudo rm -r /wubi
sudo mv /boot/grub/menu.lst.bak /boot/grub/menu.lst
Use this guide at your own risk, though if you encounter issues related to loopmounted installation, you should ask them in the Wubi forums at http://ubuntuforums.org/forumdisplay.php?f=234 as it is a generic Lupin/Wubi issue, not a Lubi problem. Post any issues related to Lubi here, and include the host and guest distro, architecture, and version. Also post results if installation succeeds on a host/guest distro/version/architecture combination that isn't listed above. The main lubi development page is at https://launchpad.net/lubi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot without partitioning... Cavendot Linux - Newbie 6 01-31-2007 07:42 PM
partitioning for dual boot setup binskipy Slackware - Installation 1 10-02-2004 05:16 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
Partitioning and Dual Boot Install macmike Mandriva 2 09-14-2003 05:55 AM
Dual boot partitioning mdfarez Linux - Newbie 3 01-06-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration