Skip to content
Học Công nghệ Thông tin thực chiếnHọc Công nghệ Thông tin thực chiến
  • KHÓA HỌC
  • KIẾN THỨC
  • KÊNH YOUTUBE
  • NGƯỜI SÁNG LẬP
Học Công nghệ Thông tin thực chiếnHọc Công nghệ Thông tin thực chiến
  • KHÓA HỌC
  • KIẾN THỨC
  • KÊNH YOUTUBE
  • NGƯỜI SÁNG LẬP
Công nghệ lõi Linux

Máy ảo AlmaLinux 9 chạy trên VirtualBox bị lỗi sau khi biên dịch nhân Linux

  • 16 Jan, 2025
  • Com 0

Để chạy AlmaLinux 9 không cần initramfs thì phải biên dịch nhân Linux vì nhân Linux có sẵn không hỗ trợ việc này.

Trong phiên bản Premium, tôi có lập trình Bash shell và xài công cụ tự động Vagrant để biên dịch Linux kernel mới bỏ initramfs sau đó thấy VirtualBox báo lỗi này

PS E:\alma9_no_initramfs> vagrant up
Bringing machine 'vb' up with 'virtualbox' provider...
==> vb: Checking if box 'bento/almalinux-9' version '202407.22.0' is up to date...
==> vb: Clearing any previously set forwarded ports...
==> vb: Fixed port collision for 22 => 2222. Now on port 2202.
==> vb: Clearing any previously set network interfaces...
==> vb: Preparing network interfaces based on configuration...
    vb: Adapter 1: nat
==> vb: Forwarding ports...
    vb: 22 (guest) => 2202 (host) (adapter 1)
==> vb: Running 'pre-boot' VM customizations...
==> vb: Booting VM...
==> vb: Waiting for machine to boot. This may take a few minutes...
    vb: SSH address: 127.0.0.1:2202
    vb: SSH username: vagrant
    vb: SSH auth method: private key
==> vb: Machine booted and ready!
==> vb: Checking for guest additions in VM...
    vb: No guest additions were detected on the base box for this VM! Guest
    vb: additions are required for forwarded ports, shared folders, host only
    vb: networking, and more. If SSH fails on this machine, please install
    vb: the guest additions and repackage the box to continue.
    vb:
    vb: This is not an error message; everything may continue to work properly,
    vb: in which case you may ignore this message.
==> vb: Setting hostname...
==> vb: Mounting shared folders...
    vb: E:/alma9_no_initramfs => /vagrant
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,_netdev vagrant /vagrant

The error output from the command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device

Bạn có thể sửa được lỗi này không? Nếu được xin chúc mừng bạn đã hiểu sâu hơn về bên trong hệ điều hành Linux.

Công nghệ lõi Linux thực chiến nằm trong lỗi này.

Tags:
Biên dịch Linux kernelBiên dịch nhân LinuxCompiling Linux kernelinitramfsLinux kernel compilevmlinuxvmlinuz
Share on:
MySQL 9 khác gì với MySQL 8.4 và MySQL 8.0
AlmaLinux 9 chạy không cần initramfs dính lỗi khi biên dịch Linux kernel

Search

Categories

  • An toàn thông tin thực chiến (17)
  • Cơ sở dữ liệu thực chiến (6)
  • Computer security (1)
  • Công nghệ ảo hóa máy chủ (1)
  • Công nghệ lõi Công nghệ Thông tin (1)
  • Công nghệ lõi Linux (8)
  • Công nghệ phần mềm thực chiến (7)
  • Công nghệ Thông tin thực chiến (1)
  • Cybersecurity (1)
  • Đại số tổ hợp (1)
  • DevOps thực chiến (2)
  • Điện toán đám mây thực chiến (3)
  • Docker container (3)
  • Giải tích tổ hợp (1)
  • Hệ điều hành Linux thực chiến (8)
  • Học an toàn thông tin (1)
  • Học công nghệ thông tin thực chiến (1)
  • Information security (1)
  • Lập trình an toàn thông tin (2)
  • Lập trình thực chiến (1)
  • Linux hacking (1)
  • Linux thực chiến (2)
  • Olympic Toán 30 tháng 4 (1)
  • Oracle DBA (11)
  • Podman container (3)
  • Tích hợp hệ thống công nghệ thông tin thực chiến (1)

Tags

AlmaLinux 8 (2) Anaconda installer (3) Biên dịch Linux kernel (4) Biên dịch nhân Linux (4) Container-Optimized OS (3) Container Operating System (4) Container OS (4) Cài Oracle 21c (3) Công nghệ lõi Linux (3) Công nghệ phần mềm thực chiến (3) Fedora CoreOS (3) Hệ điều hành Linux thực chiến (4) Học an toàn thông tin (4) initramfs (2) Linux hugepages (3) Linux kernel (3) Linux kernel module (2) Linux PAM (5) Linux security (8) MySQL database developer (3) MySQL DBA (3) netplan (3) OpenSSH server (2) Oracle 21c (2) Oracle OUI (5) Oracle Universal Installer (5) Password hashing (4) Password hashing algorithm (6) Quản trị MySQL (3) RHEL 10 (2) Samba Active Directory Domain Controller (4) Samba AD DC (5) Samba AD Domain Controller (5) SMB protocol (3) Thuật toán băm mật khẩu (9) Thuật toán băm mật khẩu yescrypt (2) Thuật toán MD5 (3) Thuật toán SHA512 (5) Thuật toán yescrypt (4) Trung tâm dữ liệu (2) Tối ưu cơ sở dữ liệu MySQL (4) Tối ưu MySQL (4) Ubuntu netplan (3) vmlinuz (3) Điện toán đám mây (3)

Học Công nghệ Thông tin chuyên sâu
Tiết kiệm tiền bạc, thời gian, công sức cho người học
© Copyright 2024 CâyTreOS – Học IT thế kỉ 21

Học Công nghệ Thông tin thực chiếnHọc Công nghệ Thông tin thực chiến