Installing vboxadditions in guest

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Installing vboxadditions in guest

Postby weziw » 06 Sep 2009, 17:25

Hi, I have installed freebsd 7.2 as guest on virtualbox which is on Windows Vista. I however do not have the virtualbox port which is supposed to be located at /usr/ports/emulators/virtualbox. How can I install it? I was looking for a way to make the virtual window use my whole full screen. The guest additions on the virtualbox windows does not have a freebsd version.
weziw
Junior Member
 
Posts: 13
Joined: 06 Sep 2009, 16:09

Postby DutchDaemon » 06 Sep 2009, 17:31

Do you have any ports tree whatsoever? In other words: is there anything in /usr/ports? If not: [cmd=]portsnap fetch extract[/cmd].

Read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
User avatar
DutchDaemon
Old Fart
 
Posts: 10463
Joined: 16 Nov 2008, 20:17
Location: The Netherlands

Postby weziw » 06 Sep 2009, 18:38

Yes, i did install the ports when I installed the system initially. I actually managed to install kde4 which seems to work fine on the virtual PC, just small screen.
weziw
Junior Member
 
Posts: 13
Joined: 06 Sep 2009, 16:09

Postby DutchDaemon » 06 Sep 2009, 18:45

If you installed the ports from the CD, chances are virtualbox isn't in there (yet). Get an up to date ports tree with the command I gave earlier.
User avatar
DutchDaemon
Old Fart
 
Posts: 10463
Joined: 16 Nov 2008, 20:17
Location: The Netherlands

Postby weziw » 06 Sep 2009, 18:59

I installed over the internet. I downloaded the .iso file and installed the base system after configuring the network. Then after installing vim and bash and adding a user I followed the instructions in chapter 24.7 which on second thought look like they are meant for anyone with freebsd before 7.2. I got the 7.2 iso and I am thinking this might have been not neccessary for me. These are the commands I ran:

Code: Select all
# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# shutdown -r now

# adjkerntz -i
# mount -a -t ufs
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster
# reboot



Can I just go ahead and run the portsnap fetch update ?
weziw
Junior Member
 
Posts: 13
Joined: 06 Sep 2009, 16:09

Postby DutchDaemon » 06 Sep 2009, 21:20

The ports tree is independent of the OS version (though some ports may or may not install on a particular version), so you can always run 'portsnap fetch extract' and 'portsnap fetch update'.
User avatar
DutchDaemon
Old Fart
 
Posts: 10463
Joined: 16 Nov 2008, 20:17
Location: The Netherlands

Postby weziw » 06 Sep 2009, 23:30

Wow! thanks allot that worked. It took a while for the program to run but I now have the virtualbox port. Hopefully I can now get the virtual box to use the full screen.

Thanks again.
weziw
Junior Member
 
Posts: 13
Joined: 06 Sep 2009, 16:09


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: good-beastie and 1 guest