Results 1 to 10 of 49

Thread: Lubi: Wubi for Linux: Install *ubuntu on any Linux, no partitioning needed

Threaded View

  1. #1
    Join Date
    Mar 2006
    Location
    Palo Alto, CA
    Beans
    1,226
    Distro
    Ubuntu 12.04 Precise Pangolin

    Lubi: Wubi for Linux: Install *ubuntu on any Linux, no partitioning needed

    LUBI NOW HAS ITS OWN WEBSITE AND GUIDE AT http://lubi.sourceforge.net/lubi.html

    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: Lubi can only install Ubuntu. If you want to install other distros without a CD such as Fedora, OpenSuse, Mandriva, Debian, or Arch Linux, use UNetbootin; site at http://lubi.sourceforge.net/unetbootin.html and forums at http://ubuntuforums.org/showthread.php?t=427540 Also, Lubi cannot run from Windows; if you want to do a no-CD install of Linux from Windows, use UNetbootin (for a full, standard, real-partition install) or Wubi (for a loopmounted install). Also, Lubi does not support installing Ubuntu versions other than 7.04; for these, use UNetbootin instead.

    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

    You can either follow my step-by-step video tutorial at http://blip.tv/file/331040/ or follow the instructions below:

    1. Download the latest lubi package (deb for ubuntu/debian-based, tar.bz2 for others) from: http://sourceforge.net/project/showf...roup_id=198821

    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, if you are using the deb version, just install it, or if you are using the tar.bz2 version, extract it to the root filesystem

    4. Then, either click Applications -> System Tools -> Lubi or enter the command "sudo lubi"

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

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

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

    If using the deb version, enter this command to remove:

    Code:
    sudo dpkg --purge lubi
    For the tar.bz2 version, these commands, entered in the terminal on the host system (NOT in the guest Ubuntu install), will remove your loopmounted Ubuntu install, and undo the changes to GRUB:
    Code:
    sudo rm -r /wubi
    sudo rm /usr/share/applications/lubi.desktop
    sudo rm /usr/share/menu/lubi
    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
    Last edited by tuxcantfly; March 25th, 2008 at 01:51 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •