Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Nov 2014, 09:56
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
How to install Lupu_528 as guest in vbox 4.1.4?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
jasonp

Joined: 25 Oct 2011
Posts: 1

PostPosted: Tue 25 Oct 2011, 20:50    Post subject:  How to install Lupu_528 as guest in vbox 4.1.4?  

I am new to Puppy and would like to install it as a guest OS within vbox 4.1.4 (host is win7 laptop). I'm a bit new to vbox as well.

I've tried searching and reading various posts, but am a bit unclear on a few items (probably basic).

Here's what I've tried thus far:
- downloading lupu-528.iso
- firing up a new vm and capturing the iso to install

I'm not entirely sure how to proceed with:
1) installing the guest additions so I can define and access shared folders
2) should I do something to make the VM a "frugal" install (disk based), or ??

I have seen the posts about the kernel sources and what not for being able to install the guest additions, but most are short on actual "do this then that".

I see the following files under http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.2.8/:
lupu_devx_528.sfs
lupu_devx_528-2.sfs
lupu_devx_528-3.sfs

Do I just need -3 as the most recent? How do I install it? Once I install it, can I then follow the "standard" procedure for installing linux guest additions (https://forums.virtualbox.org/viewtopic.php?f=29&t=15679)

And what about setting up the installation to be on the "virtual HD filesystem" vs liveCD? Should I do that? If so, how?

I'll stop there with questions for now Smile

Side note (shouldn't matter) - the host OS is windows7 with bitkeeper activated. This prevents me from doing stuff that accesses the disk outside of an actual windows login (since it's all encrypted).
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 147

PostPosted: Tue 01 Nov 2011, 02:22    Post subject:  

jasonp
I have the same problem. If I understood what the scripts mean and how they have to be interpreted for the non-standard puppy, I would be OK. I have no problem installing GuestAdditions and sharing files on the Windows 7 host from a Windows XP guest. After making the host file available, I double-click and install whatever I want.

I just wrote a long explanation of what to do in the XP case and lost it. I can't rewrite it. Click on the Help tab and search for shared folders. There are 2 items listed. Read the longer one. I have cut and pasted it here, but the formatting is not the best. The second part is what we are interested in.

Code:
In a Windows guest, shared folders are browseable and therefore visible in Windows Explorer. So, to attach the host's shared folder to your Windows guest, open Windows Explorer and look for it under "My Networking Places" -> "Entire Network" -> "VirtualBox Shared Folders". By right-clicking on a shared folder and selecting "Map network drive" from the menu that pops up, you can assign a drive letter to that shared folder.

Alternatively, on the Windows command line, use the following:

net use x: \\vboxsvr\sharename
While vboxsvr is a fixed name (note that vboxsrv would also work), replace "x:" with the drive letter that you want to use for the share, and sharename with the share name specified with VBoxManage.

In a Linux guest, use the following command:

mount -t vboxsf [-o OPTIONS] sharename mountpoint
To mount a shared folder during boot, add the following entry to /etc/fstab:

sharename   mountpoint   vboxsf   defaults  0   0


B.K. Johnson
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 618
Location: Austria

PostPosted: Sat 05 Nov 2011, 08:05    Post subject: Puppy as guest in Virtual Box  

Some notes on your questions:

Live CD iso vs frugal install:
It is not strictly necessary to to a frugal HD install, advantages - you can use a savefile easily and booting is a tad faster than from the iso (or is that just subjective).

1) You have to create a hd in the VM settings (like 8 GB, dynamic size).
2) start VM with iso
3) Use Gparted tool to format the Harddisk, set boot flag
4) install GRUB (or GRUB4DOS) on the harddisk
5) Use Universal Installer tool to make a frugal install

To install the guest additions you need the devx sfs AND the kernel_sources sfs. The Link to the kernel sources should be in the first post of playdayz thread (release announcement, Advanced>Puppy Projects in this Forum). To install those packages it is easiest to download "sfs_loader1.2.pet" by shinobar (google for it, it is on this forum). Just right-click on sfs packages and they will install.

Alas, I have a problem with installing those Guest additions: Shared Folders work fine, but mouse and screen resolution is completely broken. I use Puppy 511, I would be curious if this affects also the newer release.
Does anybody have successfully installed a Puppy Guest with those Additions?
Back to top
View user's profile Send private message Visit poster's website 
difedepe

Joined: 12 Apr 2011
Posts: 31

PostPosted: Sat 05 Nov 2011, 20:41    Post subject: Vbox on 5.3  

Hi guys,
can you tell me how can I install Vbox on puppy 5.3?

Let me know,
Peppe.
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 20 Dec 2011, 18:41    Post subject:  

Hello,

I would recommend first to go to the link location below and download the new lupu-528.004.iso and further offered files.

http://www.murga-linux.com/puppy/viewtopic.php?t=70855

RSH

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1099

PostPosted: Tue 20 Dec 2011, 21:00    Post subject: Re: Puppy as guest in Virtual Box  

emil wrote:
Alas, I have a problem with installing those Guest additions: Shared Folders work fine, but mouse and screen resolution is completely broken. I use Puppy 511, I would be curious if this affects also the newer release.
Does anybody have successfully installed a Puppy Guest with those Additions?

Actually, I did it (...well, in most Wink ) with Lupu-528.004, Win7_x64 as a host and VBox 4.1.4 (now 4.1.6)
and everything, except mouse (integration must be disabled), works fine, screen resolution also.
Check this thread/post:
http://www.murga-linux.com/puppy/viewtopic.php?p=590125#590125

If you guys have older versions of Puppy and/or VBox, my way may not work (for example, there is small difference in VBoxClient service's handling - check Playdayz's first post).
But mouse issue seems to be still unsolved, unfortunately...

BTW, I have noticed that threads regarding VBox Additions are scattered in ten different places at this forum Laughing

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
mdisaster2

Joined: 22 Dec 2006
Posts: 107
Location: Rome, Italy

PostPosted: Wed 11 Jan 2012, 08:51    Post subject:  

These are the steps and tricks (culled by various online sources.) that allowed me to use Puppy 520 with Virtualbox 404. Mouse integration was working fine, except that it took about one minute for the mouse to became functional. However now I am unable to make mouse integration work with Puppy 528-004 and VBox 4.10 no matter how hard I try.

Prerequisites:
- a working FRESH (with no traces of previous attempts of installing the Guest Additions) frugal install of Puppy under virtualbox.
- the development and kernel SFS must be loaded.
- a text editor that run outside X (the Puppy I used originally had e3m, however I couldn't find anytihing like it on 528 so I installed pico-tiny from the ubuntu repository.

From the virtualbox menus above the window in which Puppy is running select the CD-ROM device and "load" the Guest Addition CD by checking the appropriate checkbox. IGNORE the “install Guest Additions” menu entry, it doesn't seem to do anything useful anyway.

Go to the command prompt so you won't have to fight with the flacky mouse. One way to do that is reboot with Puppy PFIX=NOX.

Now execute (carefully!) these commands at the command prompt.

# make -C /usr/src/linux oldconfig prepare scripts
# mkdir /var/run/vboxadd
# adduser -S -G daemon -u 999 -h /var/run/vboxadd vboxadd
# mount /dev/cdrom /mnt/cdrom
# /mnt/cdrom/VBoxLinuxAdditions.run
# umount /mnt/cdrom
# sync

On Lupu all these steps complete nicely, however on Slacko (which I also tried up to this point) the last step of VBoxLinuxAdditions fails.

Reopen the Devices dropdown, uncheck the Guest Additions CD and check the Puppy .iso image. Reboot Puppy either with the "reboot" command or via the "Reset" menu entry in the VirtualBox "Machine" dropdown menu. You should see that X is working with Virtualbox - the window is larger and can be resized, shared folders work, however the mouse integration is still broken.

Now boot at the command prompt again with PFIX=NOX (maybe this is redundant and you could just shut X down), and run xorgwixard. Dont start X yet.

EDIT: if you have VB 4.16 or later skip the next step.

edit /etc/X11/xorg.conf and make these changes:

- change the mouse driver from “driver=mouse” to “driver=vboxmouse”
- change the device from /dev/mouse to /dev/vboxguest.

This was all well in the old puppy/vbox combo (at this point I could restart X and see the mouse working as intended).

However in the current versions xorg.conf doesn't seem to have the input section for the mouse, and just throwing one in didn't work for me, so the mouse stays broken no matter what I do. For all I know it could just be a matter of fixing the xorg.conf file, as opposite to my hacking it blindly.

Exclamation (actually I wonder if Wary would fare better, what with not having the latest Xorg...).

Last edited by mdisaster2 on Thu 12 Jan 2012, 18:41; edited 1 time in total
Back to top
View user's profile Send private message 
mdisaster2

Joined: 22 Dec 2006
Posts: 107
Location: Rome, Italy

PostPosted: Thu 12 Jan 2012, 13:37    Post subject: Works, but not with 528
Subject description: 501 is fine
 

I've been running some other tests, just to make sure of my mental sanity, since I am pretty sure that mouse integration had been working for me.

All tests were done with VB 418, following the steps I posted above.

- Lupu 528: FAILURE (starts with X, GA installation is fine, mouse integration doesn't work)

- Wary 522 : FAILURE (same problems as with Lupu 528,)

- Slacko 531 : FAILURE , GA installation fail (not able to start the required services, iirc) and the mouse stays broken.

- Puppy 431 : FAILURE : trying to start X under VB immediately locks the VM solid (Vesa is fine though), GA installation builds successfully the drivers but can't install them because X is not active. Shared folders do work, even under Vesa.

- Puppy 501 : SUCCESS !!! Cool : Puppy boots in X, Guest Additions install fine, xorg.config has all the relevant lines to edit, mouse integration works nicely (it does need about 30 seconds to start up).

So it would seem that something has changed between 501 and 528 (I didn't try the intermediate versions).

Hopefully it is a fixable issue...

EDIT: it doesn't work that nicely after all, after a few minutes the "inside" mouse cursor tends to lose sync with the "outside" one. Oh well, it's not like I didn't try Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0924s ][ Queries: 12 (0.0098s) ][ GZIP on ]