LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-11-2007, 05:44 AM   #16
the-yikes
Member
 
Registered: Jan 2007
Posts: 151

Original Poster
Rep: Reputation: 30
VirtualBox Success


Woohoo! finally have it all working!

In my haste to install tunctl, which i was only doing after countless google searches informed me i need it. I neglected to even consider that tunctl might actually be part of a larger program.... well now i know it is! It's a part of a collection called UML or user mode linux.

Anyway after installing that i was able to get the network connectin up and running by applying the NAT otion in VirtualBox in the network settings section.

Now i have the comfort of designing site's in linux and being able to test them in win...... you get the point!


Thanks ppz for all the info!

The Yikes!
 
Old 05-18-2007, 07:28 AM   #17
VincentB
Member
 
Registered: Jun 2003
Location: Brussels, Belgium
Distribution: Ubuntu 6.10
Posts: 139

Rep: Reputation: 15
Hi,

I am currently evaluating virtualbox and have a similar problem to your initial one: I can not access internet from a guest machine where the (virtual) interface is configured for NAT.

Can you precisely describe how you solved this??

Thanks a lot,

Regards,

Vincent
 
Old 05-18-2007, 07:51 AM   #18
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
I use vmware server on my desktop and it runs great except for the fact I have to run vmware-configure at every reboot(which thankfully is not often), if I dont the vmmon module is not built and loaded...just haven't had time to try and figure out why. By the way, why does every one always use petri's any-anywhere patch? I run a 2.6 kernel and never had to run that??
Anyways glad to see you got it sorted out.
 
Old 05-18-2007, 07:54 AM   #19
the-yikes
Member
 
Registered: Jan 2007
Posts: 151

Original Poster
Rep: Reputation: 30
Wink Networking is a breeze!

Hi Vincent B,
i'm not actually at my pc at the moment, but rest assured it's a total breeze to get it setup and running like a watch. I should be home in about 2 hours and i'll post the instructions then.

Sorry i cant be more help right now, but as i mentioned 2 hours from now and you'll be running virtualbox without any hassles!

The Yikes
 
Old 05-18-2007, 09:47 AM   #20
the-yikes
Member
 
Registered: Jan 2007
Posts: 151

Original Poster
Rep: Reputation: 30
Here's the soloution!

Hi Vincent B,
Sory for the delay in getting back to you but i'm here now!

Okay in order to get the virtual box connected to the net your going to have to bridge your connections. To do this you need the following packages (I've taken the liberty of supplying the links)

First package is:

http://prdownloads.sourceforge.net/u...040406.tar.bz2

This is "user mode linux" and it has a number of network tools in it, the one your going to be using is "TUNCTL"


Second package is:

http://prdownloads.sourceforge.net/b...irror=optusnet


This allows you to create the bridge between the card on your linux box and the virtual card in virtualbox. The main prog in this is "BRCTL"

Download the above files and install them. Having done this enter the following commands in a konsole window!

Quote:
mkdir /dev/net
mknod /dev/net/tun c 10 200
tunctl -t tap0 -u root
ifconfig tap0 0.0.0.0 up
brctl addbr br0
brctl addif br0 eth1 tap0
dhcpcd br0
ifconfig br0 up
ifconfig eth1 0.0.0.0
change the eth1 value for your own card listing. Now startup VirtualBox and in the network options specifiy "NAT"

Start you Virtual MAchine and all going well you should be up and running.

PLEASE let me know how you get on with this!

Thanks

The Yikes
 
Old 05-19-2007, 12:29 AM   #21
Nem
Member
 
Registered: Mar 2007
Location: United States
Distribution: Slackware 11.0
Posts: 88

Rep: Reputation: 15
Hey the-yikes!
Whats up! Are you feeling better? I heard a while
back that you got into a bad car crash.

Okey back to subject. I installed virtualbox with
no problems but can I use this program to start
windows from slack? Since I'm still dual-booting
window$ / slack can I start the windows image from
the windows partition in slackware? I don't want
to create a different image on my slack because
I want to be able to use my windows install on the HD from slackware so I can use some programs and
stuff without having to reboot into windows.

Thanks
 
Old 05-19-2007, 12:47 PM   #22
the-yikes
Member
 
Registered: Jan 2007
Posts: 151

Original Poster
Rep: Reputation: 30
Cool Hi Nem!

Hey NEM!
Yeah getting better still stuck in physio though, thanks for asking! Well the setup i have is this:

Slackware installed as the only OS on a 200GB drive

I have installed VirtualBox and then installed window$ as a dynamic vdi image file meaning it will gor or shrink accordingly.

You dont need to setup and window$ based partitions, as VirtualBox Reads the VDI it emulates a window$ file system and loads it. It actually see the VDI as a Standalone drive so you dont have to play with partitions.

I hope this is what your looking for? or maybe i misunderstood your question....it happens ALOT with me! hahaha!

I can give you a more detailed set of install instructions if you like?

Thanks

The Yikes
 
Old 05-19-2007, 02:04 PM   #23
Nem
Member
 
Registered: Mar 2007
Location: United States
Distribution: Slackware 11.0
Posts: 88

Rep: Reputation: 15
No no,
What I meant is I have windows and slackware
installed on my HD.Is it possible to start
windows from slackware? I want to start the windows
that is installed on the HD. Is that possible? Or
I have to make a image on slackware then I can start
windows?
 
Old 05-19-2007, 05:30 PM   #24
the-yikes
Member
 
Registered: Jan 2007
Posts: 151

Original Poster
Rep: Reputation: 30
Booting within a boot!

Alas NEM in my experience this is to the best of MY knowledge not possible, or at least not with any Virtual Machine apps that i have seen. This is a down side and it's remarkable to say the least that nobody has yet come up with a sort KVM switch for operating systems!

I'm going to have a look around the net to see what if any soloutions there are to your question.... which i have to point out is a peach of a question and one i'm surprised i have not yet seen asked.

Anyay i'm off to accumulate some knowledge on the matter so chat to you soon!

Thanks

The Yikes

Quote:
There is nothing!!! dag mabit! in this day and age we cannot slip between OS's the way we do programs, there is NO ALT TAB feature to allow this or anything of the sort. I have failed on my quest to answer your question NEM, please accept my apologies. I'm truely and i really mean TRUELY sorry
can i perhaps ask why you feel the need to be able to dual boot and switch at runtime? is perhaps to share files or maybe something more significant?

Thanks (Again

The Yikes

Last edited by the-yikes; 05-19-2007 at 07:49 PM.
 
Old 05-20-2007, 03:39 AM   #25
Nem
Member
 
Registered: Mar 2007
Location: United States
Distribution: Slackware 11.0
Posts: 88

Rep: Reputation: 15
Well okey that answered my questions,
thanks.I don't really any big reasons to dual boot and switch at runtime but thought it be cool to
do it. But I still will make a windows image and
the virtualbox program when I got some free time.

Thanks,
Nem

P.S.
But if you ever hear of someone coming up with a
program that will let you boot another os as a
virtual machine send me a pm!
 
Old 05-20-2007, 12:09 PM   #26
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Well, I guess the thing is there is no real need for such a program. I mean, you do it one way or the other ... why would you want both ways ?
 
Old 05-20-2007, 03:11 PM   #27
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Quick boot (load), print the doc, exit.
 
Old 05-22-2007, 12:34 AM   #28
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
Quote:
Originally Posted by the-yikes
...Has anyone ACTUALLY succeded in instaling VMware Server on slackware...
Yes on both hosts and virtual machines (including vmware-tools). It helps to have a recently compiled kernel and I also used the vmware-any-any-update109.tar.gz. Part of the challenge is preparing the SysV init directories and referencing them properly during the installation.
 
Old 05-22-2007, 12:20 PM   #29
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Man, vmware is insanely difficult to setup right. I know I've tried before ... but it's such a pain, and it doesn't have to be. I dunno, I prefer virtualbox ... at least it's easier to setup.
 
Old 05-22-2007, 01:29 PM   #30
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
Quote:
Originally Posted by H_TeXMeX_H
Man, vmware is insanely difficult to setup right...
Maybe the first time. After I learned the tricks it was really quite easy. The VMWare Server forum is very active with lots of helpful threads including others who have installed on Slackware.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware on Slackware 10 petr_ Linux - Software 3 08-08-2006 07:22 AM
Slackware - VMWare rrz1989 Slackware 1 05-14-2006 05:09 AM
VMware under Slackware Padawan.AVT Linux - Software 1 02-25-2006 05:28 AM
Slackware onto vmware guldo Slackware 8 11-23-2005 05:09 PM
Slackware 10 and VMware hairysocks Linux - Networking 4 09-27-2004 11:10 AM


All times are GMT -5. The time now is 05:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration