Results 1 to 6 of 6

Thread: How to tell if I'm using Ubuntu through Wubi

  1. #1
    Join Date
    Jul 2007
    Location
    Canada
    Beans
    127
    Distro
    Ubuntu 12.04 Precise Pangolin

    How to tell if I'm using Ubuntu through Wubi

    I'm using Ubuntu 10.04 on two computers, my current one and my old one. I want to upgrade to 12.04. I thought I'd try to upgrade on my old computer first, just to familiarise myself with the process before attempting the upgrade on my current computer. However, the installer tells me I haven't enough space to do that on my old computer.

    I remember running Ubuntu through Wubi on my old computer at one stage, but I also seem to remember switching to running Ubuntu directly because of some problem I had using Wubi. At the same time, I find that I still do have on the computer the file root.disk. If I could delete it, I'd have enough space for the upgrade.

    How do I establish whether I'm still using Wubi?

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to tell if I'm using Ubuntu through Wubi

    The easiest way I know is to look at the output of the terminal command:

    Code:
    df -h
    Obviously, run that command from within the Ubuntu system you want to examine.

    For a conventional installation, the first line will be something like this:

    Code:
    /dev/sda6        50G  8.7G   39G  19% /
    That tells you what is mounted as the root partition. For a wubi installation, depending on which version of Ubuntu you are running, the first line will be something like this (for older versions of Ubuntu):

    Code:
    /host/ubuntu/disks/root.disk      8.5G 8.0G 23M 100% /
    Or for 12.04, something like this:

    Code:
    /dev/loop0       15G  6.0G  7.7G  44% /
    Also, further down in the df -h output for wubi installs, you will see this:

    Code:
    /dev/sda2       90G   46G   45G  51% /host
    The details will vary, but that line tells you which partition is your wubi host partition.

    Post your df -h output if you need any help interpreting it.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  3. #3
    Join Date
    Jul 2007
    Location
    Canada
    Beans
    127
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to tell if I'm using Ubuntu through Wubi

    Thank you for replying so promptly.

    When I look at the output of df -h, I see, among other things:

    /dev/loop0 13G 12G 933M 93% /

    and

    /dev/sda2 108G 65G 43G 61% /host

    so I'm definitely still using Wubi on this computer and must have migrated from Wubi to a regular installation on a netbook I have, rather than on this computer.

    If I understand the output correctly, I'm using only 13G of a total of 108G to run Ubuntu on this computer.

    Would you happen to know offhand whether there's a way that I can increase by a few Gs the amount of space Wubi devotes to Ubuntu, so that I can then do the upgrade?

    Thanks again,

    Leslie

    Later: I'm confused (even more!).

    I found a script to resize my Wubi install, but when I ran it, I got this message: ./wubi-resize_1.5b.sh: Unsupported - this is not a loopmounted install

    I don't know what to do now.
    Last edited by lesliek; August 30th, 2012 at 02:49 PM. Reason: Later information

  4. #4
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to tell if I'm using Ubuntu through Wubi

    Quote Originally Posted by lesliek View Post
    When I look at the output of df -h, I see, among other things:

    /dev/loop0 13G 12G 933M 93% /

    and

    /dev/sda2 108G 65G 43G 61% /host

    so I'm definitely still using Wubi on this computer and must have migrated from Wubi to a regular installation on a netbook I have, rather than on this computer.

    If I understand the output correctly, I'm using only 13G of a total of 108G to run Ubuntu on this computer.
    Almost. the 108GB is your host partition. The 108GB is the total size of the partition, not the free space. Don't forget that if that is your C: partition, the Windows installation will take up quite a bit of space. Your root.disk is 13GB and 92% full so it does need enlarging.

    Quote Originally Posted by lesliek View Post
    I found a script to resize my Wubi install, but when I ran it, I got this message: ./wubi-resize_1.5b.sh: Unsupported - this is not a loopmounted install
    Was that script from one of the links here:

    https://wiki.ubuntu.com/WubiGuide#Ho...rtual_disks.3F

    Or elsewhere? Tbh, I've never done a wubi resize myself, but I usually point people to that wiki link.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  5. #5
    Join Date
    Jul 2007
    Location
    Canada
    Beans
    127
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to tell if I'm using Ubuntu through Wubi

    The script I used was from the first link that you gave, It's the automated resize script.

    I see that there's a thread dealing with the script, so I'll now post there.

    Thanks very much again.

  6. #6
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to tell if I'm using Ubuntu through Wubi

    Quote Originally Posted by lesliek View Post
    I see that there's a thread dealing with the script, so I'll now post there.
    The thread you've posted in is for discussion of the wiki, not for technical support. See the OP of that thread. I suggest you start a new thread in a support area of the forum with a new and descriptive title, after which I'll close this one for you. The title is important to attract the attention of people who have some experience of that script.

    EDIT: new thread here:

    http://ubuntuforums.org/showthread.php?t=2050262
    Last edited by coffeecat; August 30th, 2012 at 05:27 PM.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

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
  •