Increase the disksize of vmware image

Hello,

i am interested in testing haiku, but the disksize of vmware image is a little bit small. It is possible to increase the disksize of vmware image?

It would be better to test, also to test from programs/applications, as for example Firefox or others.

Thanks for your time,

with kind regards from gemany

chaotic

Here is an alternative that works relatively well for me.

Copy the Haiku VMWare image haiku.vmdk and rename it to, say, apps.vmdk; both files have to be in the same folder.

Now, add the following to your haiku.vmx file (this assumes you are using the .vmx file from http://haikuhost.com/haiku.vmx):

ide0:1.present = "TRUE"
ide0:1.fileName = "apps.vmdk"
ide0:1.deviceType = "disk"
ide0:1.mode = "persistent"
ide0:1.redo = ""
ide0:1.writeThrough = "FALSE"
ide0:1.startConnected = "FALSE"

Save and close.

Now start your Haiku VMWare machine; once in Tracker, right-clicking the desktop and selecting Mount should show you the “apps” volume. Mount it, delete all unnecessary files, and use it to store your applications.

This setup is nice because you can download new (haiku.vmdk) images as they become available and still have all your apps intact (you loose the settings, though).

Enjoy!

I have to admit, Jorge’s method here is a great idea - someone could even create a giant vmdk file formatted as BFS and provide a separate download.

It could even be pre-loaded with some “interesting apps” (hint hint) so that people can attach it to their VM as a second partition and test some stuff in Haiku.

[quote=umccullough]someone could even create a giant vmdk file formatted as BFS and provide a separate download.

It could even be pre-loaded with some “interesting apps” (hint hint) so that people can attach it to their VM as a second partition and test some stuff in Haiku.[/quote]

A VMWare image preloaded with some apps (that are known to work) available as a separate download may be a good idea. The image does not have to be huge, though. :slight_smile:

BTW, for some reason, I can’t get Haiku to auto-mount the second volume, even when “Disk Mounting During Boot” is set to “All BeOS disks” in Tracker. Is this a known problem?

I’ll test it on my real hardware at home tonight if I can - wouldn’t surprise me if there’s an issue.

Hello Jorge,

thank you for this alternative. 100 MB more harddisk size is better than nothing.

But i think, the main vmware-image should be a size of 200-250 MB.

thanks chaotic

Hello Urias,

a second vmware-image is a great idea, but who can do that ???

chaotic

I also believe this is a good size, and it is what size (currently 256MB) I create them in my own build environment. I’ll have to check and see how much bigger the compressed version of the image is when it is created larger, maybe the Haiku devs would be willing to increase the size a bit if it doesn’t affect download size much.

Well, in Jorge’s case, all he’s doing is taking a copy of the same haiku.image and mounting it as a second partition, then conceivably you can delete everything on it from within Haiku.

If you’re talking about creating one with apps on it - that’s just a matter of downloading files to it, or copying them from an ISO9660 image, or whatever method you find that works :slight_smile:

It could even be pre-loaded with some "interesting apps" (hint hint) so that people can attach it to their VM as a second partition and test some stuff in Haiku.

I would be willing to host an image like this on HaikuHost. I just need to know what applications people would be interested in it having.

Hello Jonathon,

thanks for your interest to host an vmware-application-image. Applications those are interesting for me are:

  • Mozilla Firefox
  • yab

many thanks from germany

chaotic

A working (startable, browsable) setup of Firefox 2.0.x would be interesting (even though the mouse input probably still fails now - eventually that could be fixed I hope).

Unfortunately, I have only gotten it to work when I copy an empty profile to /boot/home/config/settings/Mozilla (you could provide this on the image, with a symlink to drop it on for install I would think).

Vision and BeShare would be nice.

Couple of other useful apps maybe - keep it limited to a few things that work, with the ability for a user to download more to the image (using wget, ftp, or BeShare) if they desire to have more.

Jon, maybe email me separately (umccullough at that gmail thing) and we can discuss some options - I would be interested in helping you set an image up for hosting.

  • Urias

Been meaning to e-mail about this, Urias, but I’ve been swamped with a project deadline at work. If you can, give me a shout at jon@haikuhost.com, and we can get something going. I’ve already had a few people e-mail me about increasing the disk size, etc.

vmware-vdiskmanager -x sizeGB file.vmdk

like

vmware-vdiskmanager -x 10GB haiku.vmdk

Problem is after I increased the disk size with VMWare-vdiskmanager “df” command still return the same disk size.

How to get “df” to recognize the newly increase disk space?

DF shows the size of partition, not the disk. You should increase the partition size by using a Haiku equivalent (if exists) of parted.

Yep, exactly - increasing a disk size certainly doesn’t magically increase the filesystem’s use of it.

Not only are there no haiku partitioning tools, but I don’t think BFS has any resizing tools either.

On other system an image don’t need to be 10GB only the system within must think so, Downloaded a 10*2 GB image that was smaller than 1MB but perhaps this are not possible to do from a build system or for Haiku :frowning:

Thanks for the helpful tip. Worked well for me.

Cheers!
Dennis

http://www.saveload.org - Alternative OS News
http://www.nerfd.net - Nerfd Technologies
http://www.nerfd.biz - Online Software & OS Store

I’d like to link to Pieter Panman’s post, relevant to this topic:

http://haiku-os.org/community/forum/larger_bfs_harddrive_images_for_vmware_player

I’m having a strange and unfortunate problem mounting the “apps.vmdk”. Even after fixing the haiku.vmx file, the apps disk still doesn’t up. When I choose mount the only other option is called “haiku”. Is there something else I need to do within haiku to make it show up?