LinuxForum.Fans
Тема

openSUSE 12.2 дополнения к гостевой ОС.

Автор: wlad_bologov 16 сообщений 3283 просмотров
#307150

Добрый день! Решил на VBox попробовать openSUSE. Но не могу установить дополнения к гостевой ОС.
Запускаю так:

Показать
text
vlad@linux-f65r:/run/media/vlad/VBOXADDITIONS_4.2.8_83876> sudo sh ./VBoxLinuxAdditions.run 
root's password:
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.8 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.2.8 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Saving modules configuration ...
Removing existing VirtualBox non-DKMS kernel modules                 done
Building the VirtualBox Guest Additions kernel modules
The make utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

The gcc utility was not found. If the following module compilation fails then this could be the reason and you should try installing it.

The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason. The missing package can be probably installed with zypper install kernel-default-devel-3.4.28-2.20

Building the main Guest Additions module failed (Look at /var/log/vboxadd-install.log to find out what went wrong) Doing non-kernel setup of the Guest Additions done Installing the Window System drivers Installing X.Org Server 1.12 modules done Setting up the Window System to use the Guest Additions done You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services components done

#307155

По крайней мере в 12.2 службы/компоненты установлены по умолчанию как я понял.
Что не работает у Вас? Для чего устанавливаете дополнения?

#307157

Хочу что бы рабочий стол был на весь экран. А то не комфортно как то.

#307159

The gcc utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
zypper install kernel-default-devel-3.4.28-2.20

Как вы их хотите собрать, если вы не установили необходимые инструменты? Или они установлены? Если так, то ищутся не там, где надо.

#307160

В порядке «offtop'а» — зачем в бинарном дистрибутиве, да и в любом другом, устанавливать что-либо в обход менеджера управления программным обеспечением?

#307161
yars написал:
The gcc utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

[quote]The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
zypper install kernel-default-devel-3.4.28-2.20

Как вы их хотите собрать, если вы не установили необходимые инструменты? Или они установлены? Если так, то ищутся не там, где надо.[/quote]

text
vlad@linux-f65r:~> sudo zypper install kernel-default-devel-3.4.28-2.20
root's password:
Загрузка данных о репозиториях...
Чтение установленных пакетов...
Пакет 'kernel-default-devel-3.4.28-2.20' не найден.
Разрешение зависимостей пакетов...

Нечего выполнять.

#307162

Вы извините конечно, я после убунты. Может какие дополнительные репозитории нужно подключить?

#307165
"wlad.bologov" написал:
Нечего выполнять.

А в ваших репозиториях этого ядра почему-то нет. Какое сейчас у вас ядро?

text
uname -a

Какой версии VirtualBox?

#307166
text
vlad@linux-f65r:~> uname -a
Linux linux-f65r 3.4.28-2.20-default #1 SMP Tue Jan 29 16:51:37 UTC 2013 (143156b) i686 athlon i386 GNU/Linux

VBox 4.2.8

#307167

В Slackware пакет с заголовочными файлами ядра так и называется: kernel-headers.

#307168

wlad.bologov,
Покажите:

text
zypper lr -u
#307169
verg написал:
wlad.bologov,
Покажите:
text
zypper lr -u

Показать
text
vlad@linux-f65r:~> zypper lr -u
# | Псевдоним                              | Имя                                    | Включён | Обновление | URI                                                                             
--+----------------------------------------+----------------------------------------+---------+------------+---------------------------------------------------------------------------------
1 | home:/namtrac:/subpixel/openSUSE_12.2/ | home:/namtrac:/subpixel/openSUSE_12.2/ | Да      | Да         | http://download.opensuse.org/repositories/home:/namtrac:/subpixel/openSUSE_12.2/
2 | repo-debug                             | openSUSE-12.2-Debug                    | Нет     | Да         | http://download.opensuse.org/debug/distribution/12.2/repo/oss/                  
3 | repo-debug-update                      | openSUSE-12.2-Update-Debug             | Нет     | Да         | http://download.opensuse.org/debug/update/12.2/                                 
4 | repo-debug-update-non-oss              | openSUSE-12.2-Update-Debug-Non-Oss     | Нет     | Да         | http://download.opensuse.org/debug/update/12.2-non-oss/                         
5 | repo-non-oss                           | openSUSE-12.2-Non-Oss                  | Да      | Да         | http://download.opensuse.org/distribution/12.2/repo/non-oss/                    
6 | repo-oss                               | openSUSE-12.2-Oss                      | Да      | Да         | http://download.opensuse.org/distribution/12.2/repo/oss/                        
7 | repo-source                            | openSUSE-12.2-Source                   | Нет     | Да         | http://download.opensuse.org/source/distribution/12.2/repo/oss/                 
8 | repo-update                            | openSUSE-12.2-Update                   | Да      | Да         | http://download.opensuse.org/update/12.2/                                       
9 | repo-update-non-oss                    | openSUSE-12.2-Update-Non-Oss           | Да      | Да         | http://download.opensuse.org/update/12.2-non-oss/                               
vlad@linux-f65r:~> 

#307176

wlad.bologov,
Обновите систему.
Официальное ядро для 12.2 сейчас 3.4.33 (получите после обновления)
Репозиторий с виртуалбоксом:

text
# zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_12.2/  Virtualization/openSUSE_12.2/ 
# zypper ref

Так же возможно понадобятся (да и не будут лишними)

text
# zypper in kernel-devel kernel-default-devel kernel-source gcc make 

Установка виртуалбокса и дополнений под официальное ядро:

text
# zypper in virtualbox virtualbox-guest-kmp-default  virtualbox-host-kmp-default virtualbox-guest-tools virtualbox-guest-x11
#307177
"verg" написал:
Обновите систему.

6 дней до релиза осталось =)

#307178
"yars⇓" написал:
6 дней до релиза осталось =)

Тренировка не помешает =)

#307180

Всем спасибо.......заработало. Буду изучать. :)

Войдите или зарегистрируйтесь, чтобы ответить.