error message re: "running LVPM on host installation"

Bug #165079 reported by Norwood
6
Affects Status Importance Assigned to Milestone
lvpm
Fix Released
High
Geza Kovacs

Bug Description

I have installed wubi + ubuntu 7.10 without any problems. I am now ready to move it to a preallocated ext3 partition that I have carved out of the hdd that contains my windows files. I successfully installed LVPM and attempted to run it but I get the following error message:

"You are running LVPM on a host installation. You must run it on a loopmounted install."

This is an incorrect claim. My windows OS is installed on /dev/sdc1, my ext3 is /dev/sdc2, and the the wupi+ubuntu files are on /dev/sdc3. There is one more partition on the same hdd that contains the linux swap.

Any and all help on figuring out what is causing this complaint will be greatly appreciated!

Thanks,
N.G.

Revision history for this message
Geza Kovacs (gezakovacs) wrote :

Wubi 7.10 isn't supported yet by LVPM, since the loopmounting mechanism has changed. The reason for the error message is that the mounting state is used to determine whether a host or guest installation is running, and due to the different mounting mechanism in Wubi 7.10, it doesn't detect it as a guest installation, thereby causing it to be detected as a host installation which it will refuse to run on. I'm working on adding support for Wubi 7.10 in LVPM, therefore I'm marking this bug as in progress. ETA is sometime in the winter (Dec, Jan) since Wubi 7.10 is still in alpha and we may make a few changes to it that will break LVPM in the process, so I'll wait until after we release the final Wubi 7.10.

Changed in lvpm:
assignee: nobody → gezakovacs
importance: Undecided → High
status: New → In Progress
Revision history for this message
Norwood (norwoodgardens) wrote : Re: [Bug 165079] Re: error message re: "running LVPM on host installation"

Dear Geza,
Thank you for the quick reply and congratulations on a great piece of
software. I understand the limitation that you mention and I will be
happy to wait until January for a version that will work with
Wubi/7.10. Ubuntu + Wubi + LVPM is such a powerful triumvirate of
programs that they helped go over threshold and finally install them on
my desktop. I am very happy with what I was able to achieve so far with
Wubi and Ubuntu so far and I can't wait for your new release of LVPM to
complete my transition to Linux.

Thanks again!

Geza Kovacs wrote:
> Wubi 7.10 isn't supported yet by LVPM, since the loopmounting mechanism
> has changed. The reason for the error message is that the mounting state
> is used to determine whether a host or guest installation is running,
> and due to the different mounting mechanism in Wubi 7.10, it doesn't
> detect it as a guest installation, thereby causing it to be detected as
> a host installation which it will refuse to run on. I'm working on
> adding support for Wubi 7.10 in LVPM, therefore I'm marking this bug as
> in progress. ETA is sometime in the winter (Dec, Jan) since Wubi 7.10 is
> still in alpha and we may make a few changes to it that will break LVPM
> in the process, so I'll wait until after we release the final Wubi 7.10.
>
> ** Changed in: lvpm
> Importance: Undecided => High
> Assignee: (unassigned) => Geza Kovacs (gezakovacs)
> Status: New => In Progress
>
>

Revision history for this message
Luke Faraone (lfaraone) wrote :

For some reason, Wubi only gave me 900 MB for /home, so I am fast running out of space.

Is there any workaround?

I really need to be able to resize my /home.

Revision history for this message
Geza Kovacs (gezakovacs) wrote :

to ffm:

A temporary workaround is to create and format a new virtual disk file (note that these instructions were for Wubi 7.04, I can't remember the specific pathnames for Wubi 7.10 at the moment but the general approach is the same):

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

In this example, the file generated is 10 GB, change the numbers at the end of the command beginning with dd to adjust the sizes.

Now, once you have a virtual disk file, you mount it:

sudo mkdir /media/newhome
sudo mount -o loop extra.virtual.disk /media/newhome

Then you recursively copy the contents of /home to /media/newhome:

sudo rsync -avx /home/ /media/newhome

Now unmount the new virtual disk and remove the mountpoint:

sudo umount /media/newhome
sudo rm -r /media/newhome

Now reboot into Windows and move C:\wubi\disks\home.virtual.disk somewhere else and rename extra.virtual.disk to home.virtual.disk, then you should have a new /home with a larger size

If you get errors about /media/host/wubi not existing, perhaps try /media/host/ubuntu on the commands instead or navigate to /media and see which folder your windows partition's contents are mounted at (I can't recall off the top of my head which it was in Wubi 7.10)

Revision history for this message
Luke Faraone (lfaraone) wrote :

Thanks, that worked.

On 11/27/07, Geza Kovacs <email address hidden> wrote:
>
> to ffm:
>
> A temporary workaround is to create and format a new virtual disk file
> (note that these instructions were for Wubi 7.04, I can't remember the
> specific pathnames for Wubi 7.10 at the moment but the general approach
> is the same):
>
> cd /media/host/wubi/disks
> sudo dd if=/dev/zero of=extra.virtual.disk bs=1000 count=0
> seek=$[1000*1000*10]
> sudo mkfs.ext3 -F extra.virtual.disk
>
> In this example, the file generated is 10 GB, change the numbers at the
> end of the command beginning with dd to adjust the sizes.
>
> Now, once you have a virtual disk file, you mount it:
>
> sudo mkdir /media/newhome
> sudo mount -o loop extra.virtual.disk /media/newhome
>
> Then you recursively copy the contents of /home to /media/newhome:
>
> sudo rsync -avx /home/ /media/newhome
>
> Now unmount the new virtual disk and remove the mountpoint:
>
> sudo umount /media/newhome
> sudo rm -r /media/newhome
>
> Now reboot into Windows and move C:\wubi\disks\home.virtual.disk
> somewhere else and rename extra.virtual.disk to home.virtual.disk, then
> you should have a new /home with a larger size
>
> If you get errors about /media/host/wubi not existing, perhaps try
> /media/host/ubuntu on the commands instead or navigate to /media and see
> which folder your windows partition's contents are mounted at (I can't
> recall off the top of my head which it was in Wubi 7.10)
>
> --
> error message re: "running LVPM on host installation"
> https://bugs.launchpad.net/bugs/165079
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Geza Kovacs (gezakovacs) wrote :

In the latest revisions I've committed (90 and above), Wubi 7.10 is now fully supported.

The latest (experimental) builds are now available for download at http://sourceforge.net/project/showfiles.php?group_id=198821&package_id=238165 marked lvpm-710-ALPHA, which now support Wubi 7.10's loopmounting patches.

Therefore, I'm marking this bug as solved, and changing the status to Fix Released.

Changed in lvpm:
status: In Progress → Fix Released
Revision history for this message
Norwood (norwoodgardens) wrote :

Thank you for letting me know -- I will check it out.

On Fri, 04 Jan 2008 22:15:53 -0500, Geza Kovacs <email address hidden>
wrote:

> In the latest revisions I've committed (90 and above), Wubi 7.10 is now
> fully supported.
>
> The latest (experimental) builds are now available for download at
> http://sourceforge.net/project/showfiles.php?group_id=198821&package_id=238165
> marked lvpm-710-ALPHA, which now support Wubi 7.10's loopmounting
> patches.
>
> Therefore, I'm marking this bug as solved, and changing the status to
> Fix Released.
>
> ** Changed in: lvpm
> Status: In Progress => Fix Released

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.