operating_systems:apple:virtualbox
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
operating_systems:apple:virtualbox [2015/10/29 09:40] – created sbolay | operating_systems:apple:virtualbox [2015/10/29 11:31] (current) – [Sharing folders Between Mac and Linux] sbolay | ||
---|---|---|---|
Line 5: | Line 5: | ||
- Create a new machine named e.g. " | - Create a new machine named e.g. " | ||
- 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 :< | + | - To install the Guest Additions, start a terminal and type :< |
$ su | $ su | ||
# aptitude update && aptitude safe-upgrade | # aptitude update && aptitude safe-upgrade | ||
Line 12: | Line 13: | ||
# m-a prepare | # m-a prepare | ||
</ | </ | ||
- | - Click on Install Guest Additions… from the Devices menu. This will mount the disk in / | + | - Click on Install Guest Additions… from the Devices menu. This will mount the disk in / |
# sh / | # sh / | ||
</ | </ | ||
- | - And Finally, reboot your machine:< | + | - And Finally, reboot your machine:< |
# reboot | # reboot | ||
</ | </ | ||
+ | - After this installation, | ||
+ | |||
+ | ===== Sharing folders Between Mac and Linux ===== | ||
+ | - On your Mac OS X host, get your user id:< | ||
+ | $ id | ||
+ | uid=501(sbolay) gid=20(staff) groups=20(staff), | ||
+ | </ | ||
+ | - Get your user and group id on Debian< | ||
+ | sbolay@debian: | ||
+ | uid=1000(sbolay) gid=1000(sbolay) groups=1000(sbolay), | ||
+ | </ | ||
+ | - reboot your VM and at login prompt, press ctrl+cmd(+fn)+F1 and login as root | ||
+ | - Convert the user id on Debian following the Mac one and add the user to the vboxsf group< | ||
+ | # usermod -u 501 sbolay | ||
+ | # usermod -a -G vboxsf sbolay | ||
+ | </ | ||
+ | - Reboot and login | ||
+ | - You can now share your Host folders from Devices -> Shared Folders -> ... (e.g. / | ||
+ | - Reboot and you should see your mounted folder in / | ||
+ | |||
+ | <note important> | ||
+ | If your new ID is <1000, then your username will not show up in the GDM Login Screen and you will have to follow the link "Not listed?" | ||
+ | |||
+ |
operating_systems/apple/virtualbox.1446111634.txt.gz · Last modified: 2015/10/29 09:40 by sbolay