[SOLVED] Cant mount vbox-guest-additions iso in lfs
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Newly created lfs system trying to install vbox guest additions, but can't mount iso I believe that there's no link to cdrom0 even though it's in /etc/fstab.
how can I create link to cdrom0
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,157
Rep:
I'm doing this from memory so bear with me! VB compiles some stuff based on your kernel headers/source when you compiled your kernel you should have copied them to the relevant folder like so
Code:
tar -xvf "linux-3.5.2.tar.xz"
pushd "linux-3.5.2"
make mrproper|| exit 1
make headers_check|| exit 1
cp ../config .config
make menuconfig
make bzImage|| exit 1
make modules|| exit 1
make modules_install|| exit 1
cp -L arch/x86_64/boot/bzImage /boot
cp .config /boot/config
popd
cp -r "linux-3.5.2" /usr/src
ln -sv "linux-3.5.2" /usr/src/linux || true
this is part of my build script the last two lines are the bit you need, of course change your kernel version as appropriate.
A number of apps need to access these files eg VB and the NVIDIA installer, so it's always a good idea to save them.
Thank you for the hint I just went back to the book & neither the linux-3.5.2 or the api-3.5.2 have the additional information you provided.
So does that mean I need to recompile kernel again?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.