User Tools

Site Tools


operating_systems:apple:virtualbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
operating_systems:apple:virtualbox [2015/10/29 09:41] sbolayoperating_systems:apple:virtualbox [2015/10/29 11:23] sbolay
Line 5: Line 5:
   - Create a new machine named e.g. "Debian" and run it.   - Create a new machine named e.g. "Debian" and run it.
   - Select the Net Install disk (e.g. debian-8.2.0-amd64-netinst.iso) and start the installation   - Select the Net Install disk (e.g. debian-8.2.0-amd64-netinst.iso) and start the installation
 +  - After the first successful login you may want to make your first snapshot
   - Login to the newly installed debian machine   - Login to the newly installed debian machine
   - To install the Guest Additions, start a terminal and type :<code>   - To install the Guest Additions, start a terminal and type :<code>
Line 18: Line 19:
 # reboot # reboot
 </code> </code>
 +  - After this installation, you may want to make one more snapshot
 +
 +===== Sharing folders Between Mac and Linux =====
 +  - On your Mac OS X host, get your user id:<code>
 +$ id
 +uid=501(sbolay) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),66(_uucp),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),399(com.apple.access_ssh),33(_appstore),100(_lpoperator),204(_developer),395(com.apple.access_ftp),398(com.apple.access_screensharing)
 +</code>
 +  - Get your user and group id on Debian<code>
 +sbolay@debian:~$ id
 +uid=1000(sbolay) gid=1000(sbolay) groups=1000(sbolay),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),108(netdev),111(scanner),115(bluetooth)
 +</code>
 +  - reboot your VM and at login prompt, press ctrl+alt F1 and login as root
 +  - Convert the user id on Debian following the Mac one and add the user to the vboxsf group<code>
 +# usermod -u 501 sbolay
 +# usermod -a -G vboxsf sbolay
 +</code>
 +  - Reboot and login
 +  - You can now share your Host folders from Devices -> Shared Folders -> ... (e.g. /Users/sbolay)
 +  - Reboot and you should see your mounted folder in /media/sf_... (e.g. /media/sf_sbolay)
 +
 +
operating_systems/apple/virtualbox.txt · Last modified: 2015/10/29 11:31 by sbolay