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 Thu 24 Jul 2014, 00:47
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HOW TO: Install VirtualBox 1.5.0 under Puppy 2.17 Seamlessly
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Author Message
burggraf2

Joined: 18 Aug 2007
Posts: 23

PostPosted: Sat 08 Sep 2007, 19:16    Post subject:  HOW TO: Install VirtualBox 1.5.0 under Puppy 2.17 Seamlessly
Subject description: This will allow you to run windows apps on your Puppy desktop
 

See also:
HOWTO: Clone a VirtualBox 1.5.0 Virtual Disk
http://murga-linux.com/puppy/viewtopic.php?t=21796

HOWTO: Shrink a VirtualBox 1.5.0 Windows Guest Virtual Disk
http://murga-linux.com/puppy/viewtopic.php?t=21797


How To...
Install VirtualBox under Puppy Linux 2.17
and Run Windows Applications in Seamless Mode

VirtualBox allows you to run a virtual copy of Windows XP inside a window, or full screen, or now -- seamlessly. That means you can have Puppy apps running in windows alongside Windows windows. When running in seamless mode, you'll see two taskbars -- a Puppy taskbar (IceWM in my case) and then a Windows taskbar right on top of that.

I'm running a frugal install, so if you're not, you may have to adapt
parts of this.

Here's how to make it happen:

1. Install dev_217.sfs -- this is the development environment
2. Install Puppy-kernel-source_217.sfs -- this is the kernel source

These two steps must be completed first. Basically, you download the
sfs files, drop them wherever your pup_217.sfs is located, then reboot.

3. Install VirtualBox_1.5.0_Linux_x86.run

Here's a link:
http://www.virtualbox.org/download/1.5.0/VirtualBox_1.5.0_Linux_x86.run

When you install it, you can specify an installation directory. I downloaded it to /mnt/home. Then I opened a terminal window and ran:
cd /mnt/home
chmod +x VirtualBox_1.5.0_Linux_x86.run
./VirtualBox_1.5.0_Linux_x86.run install /mnt/home/VBox
(That would install it to /mnt/home/VBox)

4. Install libsdl-1.2.9.pet
5. Install qt-3.3.6.pet

I think these two pets can be found in the normal package manager.

6. Edit /etc/rc.d/rc.vboxdrv

Delete lines 165 to 168:

chown :$groupname $dev || {
rmmod $modname
fail "Cannot change owner $groupname for device $dev"
}

7. Edit /etc/rc.d/rc.local

Add the following lines:

/etc/rc.d/rc.vboxdrv setup
# Start vboxnet
if [ -x /etc/rc.d/rc.vboxnet ]; then
/etc/rc.d/rc.vboxnet start
fi
# Start vboxdrv
if [ -x /etc/rc.d/rc.vboxdrv ]; then
/etc/rc.d/rc.vboxdrv start
fi

7. Reboot
8. run VirtualBox

9. Install a windows guest OS.

Next, install an XP guest operating system. See VirtualBox.org or read
the docs if you need help there.

10. Install the Guest Additions

Boot your guest OS, then click Device, Install Guest Additions from the
VirtualBox menu. Reboot the guest OS.

11. Switch to seamless mode by typing HOST+L (The host key is the right control key by default, so it would be RIGHT_CONTROL+L.)

You are now in seamless mode and can launch windows apps right from your Puppy desktop. Enjoy.

Last edited by burggraf2 on Sat 15 Sep 2007, 23:38; edited 2 times in total
Back to top
View user's profile Send private message 
burggraf2

Joined: 18 Aug 2007
Posts: 23

PostPosted: Sat 08 Sep 2007, 19:30    Post subject: Screenshot of Seamless Windows apps and Puppy apps
Subject description: Here's an example
 

A picture is worth a 1000 words, so if you're having trouble visualizing the benefits of VirtualBox seamless mode, here you go:
screenshot.png
 Description   Windows apps on the same desktop as your Puppy apps....
 Filesize   180.88 KB
 Viewed   8365 Time(s)

screenshot.png

Back to top
View user's profile Send private message 
cb88


Joined: 28 Jan 2007
Posts: 1169
Location: USA

PostPosted: Sat 08 Sep 2007, 22:55    Post subject:  

this is really cool in a twisted mad scientist sort of way before you know it we will be able to get 3d acceleration in virtual box i mean what else is there to add?
_________________
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2232
Location: New Zealand

PostPosted: Sat 08 Sep 2007, 23:54    Post subject: hide windows taskbar?  

Very cool indeed.

Just wondered if it is possible and easy to hide the windows taskbar when required, in order to save screen realestate?
Back to top
View user's profile Send private message Visit poster's website 
JB4x4

Joined: 30 Jul 2006
Posts: 256

PostPosted: Sun 09 Sep 2007, 06:52    Post subject:  

Right-click on the Windows taskbar, select Properties, and check Auto-Hide the Taskbar
Back to top
View user's profile Send private message Yahoo Messenger 
phi_t_thuy

Joined: 12 Jul 2007
Posts: 24

PostPosted: Sun 09 Sep 2007, 09:41    Post subject: VirtualBox  

Frugal Puppy 2.17 with dev_217.sfs copied to /mnt/home.

When installing VirtualBox in rxvt, an error ocurred:

# ./VirtualBox_1.5.0_Linux_x86.run install /mnt/home/VBox
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation........
VirtualBox Version 1.5.0 (Fri Aug 31 14:57:25 CEST 2007) installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.21.5
Problems were found which would prevent VirtualBox from installing.
Please correct these problems and try again.

How to solve this?

Thanks,
Back to top
View user's profile Send private message 
burggraf2

Joined: 18 Aug 2007
Posts: 23

PostPosted: Sun 09 Sep 2007, 10:26    Post subject: Problem installing VirtualBox 1.5.0  

Quote:
Problems were found which would prevent VirtualBox from installing.
Please correct these problems and try again.

How to solve this?


I would suspect that your dev and kernel source sfs files are not getting loaded when you boot Puppy.

Try clicking Start, System, BootManager Configure Bootup

Click Load SFS files (the top icon)
Make sure that, on the right side you have:

devx_217.sfs
kernel-source_217.sfs

Save and reboot.
Back to top
View user's profile Send private message 
phi_t_thuy

Joined: 12 Jul 2007
Posts: 24

PostPosted: Mon 10 Sep 2007, 04:20    Post subject: VirtualBox  

Thank you,
I confounded kernel-source_217.sfs with pup_217.sfs.
So I have to download this 52mB file. It runs well.
This is what I was seeking for to run Windows OS under Linux.
Back to top
View user's profile Send private message 
blootums

Joined: 10 Sep 2007
Posts: 1

PostPosted: Mon 10 Sep 2007, 04:52    Post subject:  

How much ram would you need for this to run effectively?
(ie not like a cat in mud)
Back to top
View user's profile Send private message 
burggraf2

Joined: 18 Aug 2007
Posts: 23

PostPosted: Mon 10 Sep 2007, 05:00    Post subject: How much ram?  

Quote:
How much ram would you need for this to run effectively?
(ie not like a cat in mud)


It's pretty much the same as running Windows natively on the machine. In other words, if you installed Windows on the machine and it ran slow, it'll run slow under VirtualBox.

Typically, I create Virtual Machines with about 1/2 the ram of the host machine, up to 512MB. Most of my windows VM's are 256MB on machines with 512MB or more installed, and they seem to run great.
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Sat 22 Sep 2007, 23:16    Post subject:  

I have a hard disk install of Puppy 2.17.1 and get the same message as phi_t_thuy :

# ./VirtualBox_1.5.0_Linux_x86.run install /mnt/home/VBox
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation........
VirtualBox Version 1.5.0 (Fri Aug 31 14:57:25 CEST 2007) installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.21.5
Problems were found which would prevent VirtualBox from installing.
Please correct these problems and try again.

I have the .sfs file in / which is where the zdrv_217.sfs file is located also I have downloaded the VirtualBox file to here.

The bootloader has been reconfigured to load the two .sfs files, am I missing something or is it because this is a HD install.
Back to top
View user's profile Send private message 
burggraf2

Joined: 18 Aug 2007
Posts: 23

PostPosted: Sun 23 Sep 2007, 04:35    Post subject: Compiling with a hard disk install is different  

Quote:
I have a hard disk install of Puppy 2.17.1 and get the same message as phi_t_thuy :


As I said earlier, I use a frugal install. The problem is that you need the development system working before you can run VirtualBox, and getting the dev system up on a hard disk install is slightly more complicated than with a frugal install.

Luckily, Barry himself has documented it -- although I have not tested it with VirtualBox there's no reason why it wouldn't work.

http://www.puppylinux.com/hard-puppy.htm (Scroll to the bottom of the page.)

Good luck, and please report back here whether this works for you.
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Sun 23 Sep 2007, 19:52    Post subject:  

Thanks for the prompt reply.

The compiler works on the HD install as I have been using it for about 2 weeks.

I created a pup_217.sfs file on another partition, loaded all the required files on the same partition and got VBox working with XP, the only problem I encountered was getting the CDROM working but I soon sorted that out.

XP ran alright so now I am back to the hard drive install to see if I can work out how to get VBox working on it.
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Thu 27 Sep 2007, 20:12    Post subject:  

I decided to try VBox in a frugal install and had success but discovered a problem after installing XP, this is with a 1.2G save_pup.2fs file.

When you create a virtual machine it is in /root/.VirtualBox/VDI. Before you install an OS in the machine move it to /mnt/home then make a symbolic link to it in /root/.VirtualBox/VDI otherwise it will fill your save_pup.2fs file and make it unusable.
This applies to a frugal install as well as a live disk with a save file on a hard drive.
Back to top
View user's profile Send private message 
burggraf2

Joined: 18 Aug 2007
Posts: 23

PostPosted: Fri 28 Sep 2007, 18:51    Post subject: Virtual machine location  

Quote:
When you create a virtual machine it is in /root/.VirtualBox/VDI


Yeah, I guess it goes without saying you have to change the default paths in VirtualBox. I simply create a directory called /mnt/home/vdi and put my virtual machine (rather, my virtual disk) files there. The virtual machine files (just tiny xml files) can stay in the default place if you like.

I guess I left that out of the instructions, but for me it's standard practice to install anything that might get "big" into /mnt/home.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0860s ][ Queries: 13 (0.0082s) ][ GZIP on ]