VirtualBox

17 年 前 建立

16 年 前 結束

15 年 前 更新

#758 closed enhancement (fixed)

Install Guest Additions to Linux From Scratch (LFS) - fixed in 2.2.0

回報者: John Gnew 負責人:
元件: guest additions 版本: VirtualBox 1.5.0
關鍵字: 副本:
Guest type: Linux Host type: other

描述

I have modified the following attached files to allow the Linux From Scratch (LFS) distribution to install the Virtual Box Guest additions. My modifications are the minimum to make the install work. I did not come up with a good way to change the script file vboxadd-timesync but instead hard codded a change for the stop. LFS killproc requires a pid number in the pid file. Well at least that is the only way I could get it to work.

I have attached the files that I modified. I'm sure there are better ways for the modifications to be implemented.

John

附加檔案 (7)

install.sh (11.9 KB ) - 17 年 前, 由 John Gnew 新增
install.sh
vboxadd (4.1 KB ) - 17 年 前, 由 John Gnew 新增
vboxadd
vboxadd-timesync (4.2 KB ) - 17 年 前, 由 John Gnew 新增
vboxadd-timesync
vboxvfs (3.7 KB ) - 17 年 前, 由 John Gnew 新增
vboxvfs
routines.sh (13.5 KB ) - 17 年 前, 由 John Gnew 新增
routines.sh
routines.2.sh (16.3 KB ) - 16 年 前, 由 John Gnew 新增
Corrected for Linux From Scratch install
VirtualBox-2.1.4-routines.diff (4.4 KB ) - 16 年 前, 由 John Gnew 新增
Diff of Routines.sh

下載所有附檔: .zip

更動歷史 (20)

17 年 前John Gnew 編輯

附檔: 新增 install.sh

install.sh

17 年 前John Gnew 編輯

附檔: 新增 vboxadd

vboxadd

17 年 前John Gnew 編輯

附檔: 新增 vboxadd-timesync

vboxadd-timesync

17 年 前John Gnew 編輯

附檔: 新增 vboxvfs

vboxvfs

comment:1 17 年 前Michael Thayer 編輯

Thanks very much. What did you actually change in install.sh though? Perhaps you meant to upload routines.sh?

17 年 前John Gnew 編輯

附檔: 新增 routines.sh

routines.sh

回覆:  1 comment:2 17 年 前John Gnew 編輯

Replying to michael:

Thanks very much. What did you actually change in install.sh though? Perhaps you meant to upload routines.sh?

I just uploaded the routines.sh file. I missed updating the addrunlevel section. The directory structure on the LFS system is:

ls /etc/rc.d/ init.d rc1.d rc3.d rc5.d rc0.d rc2.d rc4.d rc6.d rcsysinit.d

As for updates in install.sh,

# Install the X Window drivers if [ ! "$install_xdrivers" = "" ]; then

log "Installing the X Window System drivers"

for dir in /usr/lib/X11/modules /usr/X11R6/lib/modules; do

X11 modules are /usr/lib/X11/modules

All documentation for the Linux From Scratch system is at http://www.linuxfromscratch.org/ The BLFS pages cover the Xorg and XFree installs.

comment:3 16 年 前Frank Mehnert 編輯

Guest type: otherLinux

comment:4 16 年 前Frank Mehnert 編輯

元件: otherguest additions

comment:5 16 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

The scripts were fixed some time ago, closing.

16 年 前John Gnew 編輯

附檔: 新增 routines.2.sh

Corrected for Linux From Scratch install

comment:6 16 年 前John Gnew 編輯

狀態: closedreopened
處理結果: fixed

I have made some changes to the routines.sh file from version 2.1.4 (it uploaded as routines.2.sh) to allow for a successful install on a Linux From Scratch platform. The changes are simply testing for lfs-release, setting ro_INIT_TYPE=lfs, and then additional tests throughout the script that will point to /etc/rc.d/init.d/.

I am reopening this ticket because I'm not sure if leaving it closed anyone will look at it. After this is looked at I am comfortable with this ticked being closed as I know what I need to edit in the script and this might help others.

comment:7 16 年 前John Gnew 編輯

Sorry, The changed this I just posted are for the install of VBox on a Linux From Scratch system. I believe the Guest Additions actually were corrected a while back.

comment:8 16 年 前Michael Thayer 編輯

Could you please attach a diff of the changes you think should be made against routines.sh in the 2.2 beta 2 installer, if any?

16 年 前John Gnew 編輯

Diff of Routines.sh

comment:9 16 年 前John Gnew 編輯

I have attached a diff file of the changes that I made to the routines.sh file that allow it to work on a LFS system to install the base application. The main changes are changes to allow /etc/rc.d/init.d/. This is for the 2.1.4 installer. I just noticed the request is for the 2.2 installer. I will need to download that and look to see what is there.

comment:10 16 年 前John Gnew 編輯

Can you point me to the link that allows the download of 2.2 beta 2? I can not find it.

comment:11 16 年 前Michael Thayer 編輯

2.2.0 is now available on virtualbox.org.

comment:12 16 年 前John Gnew 編輯

That was easy. I downloaded, verified the routines.sh file, then just went back and did the full install. It removed 2.1.4 and then installed 2.2.0 with no problem. Thanks and this can be closed.

comment:13 16 年 前Michael Thayer 編輯

摘要: Install Guest Additions to Linux From Scratch (LFS)Install Guest Additions to Linux From Scratch (LFS) - fixed in 2.2.0
狀態: reopenedclosed
處理結果: fixed

Thanks for the feedback.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette