How Do You Troubleshoot The Linux Error “/sbin/mount.vboxsf: mounting failed with the error: Protocol error”?

Problem scenario:  You are trying to share files between your Windows desktop host of Oracle VirtualBox and a Linux guest virtual server.  You run this command:

mount -t vboxsf contint /mnt/windows-share

but you get this error:

“/sbin/mount.vboxsf: mounting failed with the error: Protocol error”

Solution
For the example command above that reproduces the error, the “contint” needs to match the “Name” value in what was configured in the Oracle VirtualBox Devices -Shared Folders -Shared Folder Settings window.

How Do You Determine the Repo ID When For The “reposync” Command?

Problem scenario:  Synchronizing yum repositories has a number of benefits.  In a secure environment, CentOS/RedHat/Fedora servers have no access to the Internet.  There are numerous valuable yum repos on the Internet.  Your network administrator may grant you temporary access to such an Internet repository.  You may go to the directory on a server on your network that you want to mirror a copy or house a non-updating copy of the repo locally. 

How Can Linux Mint Prompt For A Username With Every Desktop Login?

Problem Scenario:  When logging into Linux Mint, the first and only field for text is a password prompt.  The corresponding username is not shown.  You do not understand this.  How do you get Linux Mint to prompt for a username?

Solution
Log in with the password of the user who just logged in.  Go to Menu -Administration -Login Window.  Uncheck “Automatically select the last logged in user.”  (When this setting is checked,

How Do You Use Putty To Connect To A CentOS Server (A Guest VM running on Oracle VirtualBox on a Windows Host)?

Problem scenario:  You have a Windows 7 host with Oracle VirtualBox.  You have a guest CentOS Linux virtual server.  How do you connect to a CentOS VM using networking?

Miscellaneous:  If you are looking for directions on how to give a Linux guest access to the Internet, these directions will work (assuming the host is running Windows).

Solution
#1  In Oracle VirtualBox go to Devices -Network -Network Settings. 

How Do You Download a File With PowerShell When You Get the Error “Not enough space on disk”?

Problem scenario
You are using PowerShell 3.0 on Windows 7 and you try to run the PowerShell command start-bitstransfer to download a large file.  Running start-bitstransfer results in an error that says “Not Enough space on disk.” 

Solution
Verify the size of the file.  See if the destination directory/drive has sufficient space.  If this error happens despite there being ample space available in the destination drive and destination directory compared to the size of the source media, 

Oracle VirtualBox Client (or VM or virtual Linux server) Has No Internet Access

Problem scenario:  You are running Linux 7.x in Oracle VirtualBox on a Windows Professional 7 laptop.  In the Linux server, you try to ping an IP address.  You get “connect: Network is unreachable.”

Solution

1.  In the Oracle VirtualBox window of the server, go to Devices -> Network Settings -> Adapter 1

     a) Go to Attached To: and choose “NAT”

b) Check the box for “Cable Connected”

2.

How Do You Create Bootable Media with an .iso File That Is over 7 GB?

Problem scenario:  You want to install Linux on a laptop or workstation.  You need to create bootable media with an .iso file that is over 7 GB.  CDs and DVDs cannot support 7 GB.  What do you create a bootable USB stick?

Solution
This assumes you have downloaded the installation media (the .iso file) to your computer.  For .iso files that are over 8 GB, you may need a USB stick that is greater than 8 GB. 

How Do You Convert A Windows File System On One Drive To Be NTFS?

Problem scenario:  You have a drive “H:” that is using FAT32.  You want to conver it to NTFS.  You open PowerShell as Administrator.  You delete the files on drive H:.   You run this command:

convert h: /fs:ntfs

You see this message “File and folder verification is complete.”  It hangs and never completes.

Solution
Do not use PowerShell.  Follow these three steps:
     #1  Open a regular (non-PowerShell) command prompt.