当前位置:网站首页>Vagrantbox reinstalling the vboxsf driver
Vagrantbox reinstalling the vboxsf driver
2022-06-12 21:38:00 【dingdingfish】
The Dragon Boat Festival holiday has been reinstalled Oracle Vagrant Project Medium 21c database , The database can be used , But there is a small warning at the end of the startup process :
C:\WORKSPACE\vagrant-projects\OracleDatabase\21.3.0>vagrant up
Bringing machine 'oracle-21c-vagrant' up with 'virtualbox' provider...
==> oracle-21c-vagrant: Checking if box 'oraclelinux/8' version '8.5.285' is up to date...
==> oracle-21c-vagrant: A newer version of the box 'oraclelinux/8' for provider 'virtualbox' is
==> oracle-21c-vagrant: available! You currently have version '8.5.285'. The latest is version
==> oracle-21c-vagrant: '8.6.331'. Run `vagrant box update` to update.
==> oracle-21c-vagrant: Clearing any previously set forwarded ports...
==> oracle-21c-vagrant: Clearing any previously set network interfaces...
==> oracle-21c-vagrant: Preparing network interfaces based on configuration...
oracle-21c-vagrant: Adapter 1: nat
==> oracle-21c-vagrant: Forwarding ports...
oracle-21c-vagrant: 1521 (guest) => 1521 (host) (adapter 1)
oracle-21c-vagrant: 5500 (guest) => 5500 (host) (adapter 1)
oracle-21c-vagrant: 22 (guest) => 2222 (host) (adapter 1)
==> oracle-21c-vagrant: Running 'pre-boot' VM customizations...
==> oracle-21c-vagrant: Booting VM...
==> oracle-21c-vagrant: Waiting for machine to boot. This may take a few minutes...
oracle-21c-vagrant: SSH address: 127.0.0.1:2222
oracle-21c-vagrant: SSH username: vagrant
oracle-21c-vagrant: SSH auth method: private key
==> oracle-21c-vagrant: Machine booted and ready!
==> oracle-21c-vagrant: Checking for guest additions in VM...
oracle-21c-vagrant: No guest additions were detected on the base box for this VM! Guest
oracle-21c-vagrant: additions are required for forwarded ports, shared folders, host only
oracle-21c-vagrant: networking, and more. If SSH fails on this machine, please install
oracle-21c-vagrant: the guest additions and repackage the box to continue.
oracle-21c-vagrant:
oracle-21c-vagrant: This is not an error message; everything may continue to work properly,
oracle-21c-vagrant: in which case you may ignore this message.
==> oracle-21c-vagrant: Setting hostname...
==> oracle-21c-vagrant: Mounting shared folders...
oracle-21c-vagrant: /vagrant => C:/WORKSPACE/vagrant-projects/OracleDatabase/21.3.0
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
The error output from the command was:
: No such device
Log in to the operating system , Sure enough, I didn't see it /vagrant file system , An error is also reported when executing the command in the prompt :
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 1846368 0 1846368 0% /dev
tmpfs 1865028 0 1865028 0% /dev/shm
tmpfs 1865028 16752 1848276 1% /run
tmpfs 1865028 0 1865028 0% /sys/fs/cgroup
/dev/mapper/vg_main-lv_root 34070268 15150992 18919276 45% /
/dev/sda1 506528 154708 351820 31% /boot
tmpfs 373004 0 373004 0% /run/user/1000
$ ls -lh /sbin/mount.vboxsf
lrwxrwxrwx. 1 root root 49 Jun 4 06:58 /sbin/mount.vboxsf -> /opt/VBoxGuestAdditions-6.1.26/other/mount.vboxsf
$ sudo mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
/sbin/mount.vboxsf: mounting failed with the error: No such device
Refer to this article :Vagrant was unable to mount VirtualBox shared folders, Reinstall the driver :
sudo wget -c http://download.virtualbox.org/virtualbox/6.1.34/VBoxGuestAdditions_6.1.34.iso -O VBoxGuestAdditions_6.1.34.iso
sudo mount VBoxGuestAdditions_6.1.34.iso -o loop /mnt
sudo sh /mnt/VBoxLinuxAdditions.run
The last step takes a long time :
$ sudo sh /mnt/VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.1.34 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.1.26 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
5.4.17-2136.307.3.5.el8uek.x86_64.
Then the following commands are normal :
$ sudo mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 1846368 0 1846368 0% /dev
tmpfs 1865028 0 1865028 0% /dev/shm
tmpfs 1865028 16776 1848252 1% /run
tmpfs 1865028 0 1865028 0% /sys/fs/cgroup
/dev/mapper/vg_main-lv_root 34070268 15211740 18858528 45% /
/dev/sda1 506528 154384 352144 31% /boot
tmpfs 373004 0 373004 0% /run/user/1000
/dev/loop0 60096 60096 0 100% /mnt
vagrant 242218284 205162368 37055916 85% /vagrant
here vagrant box There is no warning at startup .
边栏推荐
- SQL调优指南笔记11:Histograms
- Icml2022 | galaxy: active learning of polarization map
- Insert sort
- atoi超强解析
- Digraph deep copy
- Deep Hough voting for 3D object detection in point clouds
- Teambition 协作应用心得分享|社区征文
- 图灵奖得主:想要在学术生涯中获得成功,需要注意哪些问题?
- Solve one-dimensional array prefix sum
- Pixel level reconstruction and restoration technology to solve severe image blur
猜你喜欢

一级指针&二级指针知识点梳理
![(4) Pyqt designs and implements the [factory production management system] order page - add, delete, modify and query (including source code analysis)](/img/71/47698193c0eb1a7fa39ceceb05b711.jpg)
(4) Pyqt designs and implements the [factory production management system] order page - add, delete, modify and query (including source code analysis)

Design and practice of Hudi bucket index in byte skipping

Test basis: unit test

GNS installation and configuration

Okio source code analysis

JUC并发工具包使用指南

SQL调优指南笔记17:Importing and Exporting Optimizer Statistics

SQL调优指南笔记10:Optimizer Statistics Concepts

Sorting out the knowledge points of primary and secondary indicators
随机推荐
Gzip compression decompression
Linux backup MySQL
Introduction to the characteristics of balancer decentralized exchange market capitalization robot
Libmysqlclient A static library
makefile 的ifeq,filter,strip 简单使用
Okio source code analysis
CVPR 2022 | 应对噪声标签,西安大略大学、字节跳动等提出对比正则化方法
重排数列练习题
【QNX Hypervisor 2.2 用戶手册】4.2 支持的構建環境
SQL调优指南笔记17:Importing and Exporting Optimizer Statistics
Deep Hough voting for 3D object detection in point clouds
NPOI 创建Word
【QNX Hypervisor 2.2 用户手册】4.4 构建Host
(4) Pyqt designs and implements the [factory production management system] order page - add, delete, modify and query (including source code analysis)
The salted fish has been transmitted for 5W times, and the latest spring recruit face-to-face test questions of bytes have been leaked
Risk control modeling X: Discussion on problems existing in traditional modeling methods and Exploration on improvement methods
VagrantBox重新安装vboxsf驱动
SQL调优指南笔记13:Gathering Optimizer Statistics
jsonUtils
@loadbalance annotation of resttemplate