LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 10-24-2012, 12:41 PM   #1
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Cant mount vbox-guest-additions iso in lfs


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
 
Old 10-24-2012, 01:00 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,157

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
As I remember the vbox additions are installed via vbox just point the virtual cdrom drive to the iso
 
1 members found this post helpful.
Old 10-24-2012, 02:57 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
No autorun it usually attaches to cdrom if no autorun.
cant locate it in console either.
 
Old 10-25-2012, 11:23 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I have now mounted the VBGA.iso but it errors
Quote:
unable to find the sources of your current Linux kernel
I used this link to mount iso
http://www.cyberciti.biz/tips/how-to...der-linux.html

Last edited by EDDY1; 10-25-2012 at 11:41 AM.
 
Old 10-25-2012, 12:20 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,157

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
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.
 
1 members found this post helpful.
Old 10-25-2012, 12:31 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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?
 
Old 10-25-2012, 12:33 PM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,157

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
If you haven't saved the source folder yep! 'fraid so, but just use your old config ( you did save it didn't you? ) and you should have no probs.
 
1 members found this post helpful.
Old 10-25-2012, 12:43 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I elected not to remove sources folder
 
Old 10-25-2012, 12:49 PM   #9
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,157

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Then you're in luck just use the last two lines and copy your kernel source and try VB again.
 
1 members found this post helpful.
Old 10-26-2012, 07:39 AM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Ok your suggestion worked as far as getting the link to kernel source.
VB went as far as making modules but was looking for xf86.
 
Old 10-26-2012, 08:54 AM   #11
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,157

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Are you cross compiling? What exactly is VB's error?
 
Old 10-26-2012, 10:56 AM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Here's a screeenshot of vb errors
I'm doing this from booted lfs system
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	74
Size:	31.0 KB
ID:	11062   Click image for larger version

Name:	Screenshot-2.png
Views:	65
Size:	30.5 KB
ID:	11063  

Last edited by EDDY1; 10-26-2012 at 11:10 AM.
 
Old 10-26-2012, 11:41 AM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I guess I have to install minimal Xorg
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't mount shared folders in VBox guest; can't modprobe vboxvfs either... MrCode Linux - Virtualization and Cloud 4 09-07-2012 07:36 AM
[SOLVED] how to check version of virtualbox guest additions currently installed in guest syste masuch Linux - Virtualization and Cloud 3 09-03-2012 01:05 AM
VBox 4.0.2 guest additions rajcan Sabayon 1 04-05-2011 06:09 PM
[SOLVED] vbox 4.0.2 - guest sabayon5.4 on win7 - mnt local gentoo from vbox sabayon? shinystuffrox Linux - Virtualization and Cloud 1 03-04-2011 01:10 AM
vbox guest additions (proprietary version) fail with --currents new kernel config Old_Fogie Slackware 7 03-20-2010 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration