#758 closed enhancement (fixed)
Install Guest Additions to Linux From Scratch (LFS) - fixed in 2.2.0
Reported by: | John Gnew | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 1.5.0 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | other |
Description
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
Attachments (7)
Change History (20)
by , 17 years ago
Attachment: | install.sh added |
---|
follow-up: 2 comment:1 by , 17 years ago
Thanks very much. What did you actually change in install.sh though? Perhaps you meant to upload routines.sh?
comment:2 by , 17 years ago
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 by , 16 years ago
Guest type: | other → Linux |
---|
comment:4 by , 16 years ago
Component: | other → guest additions |
---|
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The scripts were fixed some time ago, closing.
comment:6 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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 by , 16 years ago
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 by , 16 years ago
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?
comment:9 by , 16 years ago
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 by , 16 years ago
Can you point me to the link that allows the download of 2.2 beta 2? I can not find it.
comment:12 by , 16 years ago
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 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Summary: | Install Guest Additions to Linux From Scratch (LFS) → Install Guest Additions to Linux From Scratch (LFS) - fixed in 2.2.0 |
Thanks for the feedback.
install.sh