Przewodnik instalacja środowiska virtualnego na 16.10
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Przewodnik instalacja środowiska virtualnego na 16.10
Od kilki dni zmagam się z zainstalowaniem i uruchomieniem jakiegoś środowiska virtualnego na Ubuntu 16.10
Niestety jest tyle problemów, że wszystko odinstalowałem i chcę to zrobić od zera.
Google po prostu mnie rozwala, nie ma nic po polsku a po angielsku jest ale do innych wersji itd...
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
A konkretnie jaką wirtualizację masz na myśli? Co chcesz wirtualizować?mazak pisze:Witam.
Od kilki dni zmagam się z zainstalowaniem i uruchomieniem jakiegoś środowiska virtualnego na Ubuntu 16.10
Niestety jest tyle problemów, że wszystko odinstalowałem i chcę to zrobić od zera.
Google po prostu mnie rozwala, nie ma nic po polsku a po angielsku jest ale do innych wersji itd...
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Próbuję z Oracle Virtualbox.
https://zapodaj.net/e1add5bc71766.png.html
ps. nie wiem jak wstawić tu zdjęcie.
Po wykonaniu
Kod: Zaznacz cały
sudo /sbin/vboxconfig
Kod: Zaznacz cały
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:
apt-get install linux-headers-4.4.0-24-generic
(The last command may fail if your system is not fully updated.)
apt-get install linux-headers-generic
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:
apt-get install linux-headers-4.4.0-24-generic
(The last command may fail if your system is not fully updated.)
apt-get install linux-headers-generic
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Dodatkowo na stronie vierualbox'a w części download masz(https://www.virtualbox.org/wiki/Linux_Downloads):Running the following commands should set the system up correctly:
apt-get install linux-headers-4.4.0-24-generic
(The last command may fail if your system is not fully updated.)
apt-get install linux-headers-generic
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:
apt-get install linux-headers-4.4.0-24-generic
(The last command may fail if your system is not fully updated.)
apt-get install linux-headers-generic
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade. For Debian it is available in Lenny backports and in the normal repository for Squeeze and later. The dkms package can be installed through the Synaptic Package manager or through the following command:
sudo apt-get install dkms
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
dkms is already the newest version (2.2.0.3-2ubuntu14).
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
libcaca0:i386 libcurl3:i386 libdevmapper1.02.1:i386 libegl1-mesa:i386 libevdev2:i386 libgbm1:i386 libgraphite2-3:i386
libgudev-1.0-0:i386 libharfbuzz0b:i386 libinput10:i386 libmtdev1:i386 libpcre16-3:i386 libproxy1v5:i386 libpython2.7:i386
libpython2.7-minimal:i386 libpython2.7-stdlib:i386 libqt5core5a:i386 libqt5dbus5:i386 libqt5gui5:i386 libqt5network5:i386
libqt5opengl5:i386 libqt5printsupport5:i386 libqt5svg5:i386 libqt5widgets5:i386 libqt5x11extras5:i386 libreadline7:i386
librtmp1:i386 libsdl1.2debian:i386 libslang2:i386 libvpx3:i386 libwacom2:i386 libwayland-client0:i386 libwayland-server0:i386
libxcb-icccm4:i386 libxcb-image0:i386 libxcb-keysyms1:i386 libxcb-randr0:i386 libxcb-render-util0:i386 libxcb-shape0:i386
libxcb-util1:i386 libxcb-xfixes0:i386 libxcb-xinerama0:i386 libxcb-xkb1:i386 libxkbcommon-x11-0:i386 libxkbcommon0:i386
libxmu6:i386 mesa-utils:i386
Aby je usunąć należy użyć "sudo apt autoremove".
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 9 nieaktualizowanych.
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
apt-get install linux-headers-4.4.0-24-generic
Kod: Zaznacz cały
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Pakiet linux-headers-4.4.0-24-generic nie ma dostępnej wersji, ale odnosi się do niego inny pakiet.
Zazwyczaj oznacza to, że pakietu brakuje, został zastąpiony przez inny
pakiet lub nie jest dostępny przy pomocy obecnie ustawionych źródeł.
E: Pakiet linux-headers-4.4.0-24-generic nie ma kandydata do instalacji
Kod: Zaznacz cały
apt-get install linux-headers-generic
Kod: Zaznacz cały
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
linux-headers-generic is already the newest version (4.8.0.30.39).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 9 nieaktualizowanych.
Kod: Zaznacz cały
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. S
- mario_7
- Administrator
- Posty: 8602
- Rejestracja: 30 sie 2006, 13:11
- Płeć: Mężczyzna
- Wersja Ubuntu: 20.04
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Dokończ aktualizację do 16.10 i dopiero wtedy i instaluj kolejne pakiety.
Zacznij od zwykłego
Kod: Zaznacz cały
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
uname -a
Kod: Zaznacz cały
dpkg -l | grep linux-headers
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
uname -a
Linux Q210 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Kod: Zaznacz cały
dpkg -l | grep linux-headers
ii linux-headers-4.8.0-28 4.8.0-28.30 all Header files related to Linux kernel version 4.8.0
ii linux-headers-4.8.0-28-generic 4.8.0-28.30 amd64 Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
ii linux-headers-4.8.0-30 4.8.0-30.32 all Header files related to Linux kernel version 4.8.0
ii linux-headers-4.8.0-30-generic 4.8.0-30.32 amd64 Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
ii linux-headers-generic 4.8.0.30.39 amd64 Generic Linux kernel headers
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
dpkg -l | grep linux-image
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
rc linux-image-4.2.0-16-generic 4.2.0-16.19 amd64 Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc linux-image-4.2.0-34-generic 4.2.0-34.39 amd64 Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc linux-image-4.2.0-35-generic 4.2.0-35.40 amd64 Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc linux-image-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-24-generic 4.4.0-24.43 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-31-generic 4.4.0-31.50 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-34-generic 4.4.0-34.53 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-36-generic 4.4.0-36.55 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-38-generic 4.4.0-38.57 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-45-generic 4.4.0-45.66 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.8.0-26-generic 4.8.0-26.28 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc linux-image-4.8.0-27-generic 4.8.0-27.29 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii linux-image-4.8.0-28-generic 4.8.0-28.30 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii linux-image-4.8.0-30-generic 4.8.0-30.32 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc linux-image-extra-4.2.0-16-generic 4.2.0-16.19 amd64 Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
rc linux-image-extra-4.2.0-34-generic 4.2.0-34.39 amd64 Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
rc linux-image-extra-4.2.0-35-generic 4.2.0-35.40 amd64 Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-24-generic 4.4.0-24.43 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-31-generic 4.4.0-31.50 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-34-generic 4.4.0-34.53 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-36-generic 4.4.0-36.55 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-38-generic 4.4.0-38.57 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-45-generic 4.4.0-45.66 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.8.0-26-generic 4.8.0-26.28 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc linux-image-extra-4.8.0-27-generic 4.8.0-27.29 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii linux-image-extra-4.8.0-28-generic 4.8.0-28.30 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii linux-image-extra-4.8.0-30-generic 4.8.0-30.32 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii linux-image-generic 4.8.0.30.39 amd64 Generic Linux kernel image
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
cat /boot/grub/grub.cfg | grep menuentry
Kod: Zaznacz cały
sudo update-grub
Restart systemu a po nim podaj wynik
Kod: Zaznacz cały
uname -a
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
cat /boot/grub/grub.cfg | grep menuentry
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
menuentry_id_option=""
export menuentry_id_option
menuentry "Ubuntu 16.04 Xenial Xerus - Linux 4.4.0-24-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-236022b1-a83a-4544-82b7-8ad98e077e0b' {
menuentry "Bactrack 5 - Linux 3.2.6 " --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-e81bf53c-ad33-463e-979a-a567b2a4cc42' {
Kod: Zaznacz cały
update-grub
Tworzenie pliku konfiguracyjnego grub...
Znaleziono obraz Linuksa: /boot/vmlinuz-4.8.0-30-generic
Znaleziono obraz initrd: /boot/initrd.img-4.8.0-30-generic
Znaleziono obraz Linuksa: /boot/vmlinuz-4.8.0-28-generic
Znaleziono obraz initrd: /boot/initrd.img-4.8.0-28-generic
Znaleziono obraz Linuksa: /boot/vmlinuz-4.4.0-24-generic
Znaleziono obraz initrd: /boot/initrd.img-4.4.0-24-generic
Znaleziono Ubuntu 10.04.3 LTS (10.04) na /dev/sda5
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
gotowe
Kod: Zaznacz cały
uname -a
Linux Q210 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
cat /boot/grub/grub.cfg | grep menuentry
Kod: Zaznacz cały
cat /etc/default/grub
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Kod: Zaznacz cały
cat /boot/grub/grub.cfg | grep menuentry
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
menuentry_id_option=""
export menuentry_id_option
menuentry "Ubuntu 16.04 Xenial Xerus - Linux 4.4.0-24-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-236022b1-a83a-4544-82b7-8ad98e077e0b' {
menuentry "Bactrack 5 - Linux 3.2.6 " --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-e81bf53c-ad33-463e-979a-a567b2a4cc42' {
Kod: Zaznacz cały
cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="0"
#GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Można natomiast spróbować przeinstalować pliki grub'a w systemie:
Wykonaj kolejno polecenia
Kod: Zaznacz cały
sudo apt-get purge grub-common
Kod: Zaznacz cały
sudo apt-get install grub-pc
-
- Piegowaty Guziec
- Posty: 21
- Rejestracja: 15 gru 2016, 00:09
- Wersja Ubuntu: 16.10
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Mniejsza o to, wróćmy do tematu, co zrobić z tym, żeby image i te linux-headers były tożsame?
-
- Przebojowy Jelonek
- Posty: 1701
- Rejestracja: 01 mar 2008, 12:21
- Płeć: Mężczyzna
- Wersja Ubuntu: 16.04
- Środowisko graficzne: Unity
- Architektura: x86_64
- Kontakt:
Re: Przewodnik instalacja środowiska virtualnego na 16.10
Przecież napisałem o przeinstalowaniu grub'a.mazak pisze: co zrobić z tym, żeby image i te linux-headers były tożsame?
Kto jest online
Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 78 gości