LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-01-2005, 01:00 PM   #1
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Rep: Reputation: 30
Gentoo: Does gentoo use rc0.d - rc9.d ?


Hi, i just finished a gentoo install and im trying to compile a program. It is asking me to enter where my system holds the rc0.d - rc9.d directories.

I have no idea where to look for these! Does gentoo use them because i have looked through /etc/ and i cant find them!

Can anyone help me with this matter?

Thanks in advance

Regards Ben
 
Old 05-01-2005, 02:29 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Not that I know of, it has /ect/runlevel
What Program?
 
Old 05-01-2005, 05:49 PM   #3
CoffeeMonster
Member
 
Registered: Mar 2005
Location: Eh?
Distribution: ME
Posts: 44

Rep: Reputation: 15
Re: Gentoo: Does gentoo use rc0.d - rc9.d ?

Quote:
Originally posted by Snerkel
Hi, i just finished a gentoo install and im trying to compile a program. It is asking me to enter where my system holds the rc0.d - rc9.d directories.

I have no idea where to look for these! Does gentoo use them because i have looked through /etc/ and i cant find them!

Can anyone help me with this matter?

Thanks in advance

Regards Ben
Code:
find / -name rc0.d
And same thing with the rc9.d
 
Old 05-01-2005, 06:15 PM   #4
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
im trying to install VmWare workstation. I was going to quote what it was saying but now the installer script says theres already a copy installed even through i never finished the install. I have just noticed that i can install it using emerge which i though was strange because you have to pay for vmware.

Thanks for trying to help anyway .

Oh yeh one question. When you emerge something you know the bar on the left of the screen saying whether it is a new install, replaement etc.
Quote:
[ebuild N F ]
The F means i have to download the ebuild manually right ? well where would i download it from and where would i put it?

Thanks again,

Regards Ben.
 
Old 05-01-2005, 07:10 PM   #5
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
Ok i have vmware emerged but im having trouble configuring it. It said to run /opt/vmware/bin/vmware-config.pl which i have done but it still doesnt work! i now get this error when trying to start vmware:

Quote:
bash-2.05b# /etc/init.d/vmware start
* VMware Workstation is installed, but it has not been (correctly) configured
* for the running kernel. To (re-)configure it, invoke the
* following command: /opt/vmware/bin/vmware-config.pl.
* VMware is not properly configured! See above. [ !! ]

bash-2.05b#
and this error when trying to run it
Quote:
bash-2.05b# vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/opt/vmware/bin/vmware-config.pl.

bash-2.05b#
I have compiled the kernel myself (obviosly because im running gentoo ) would the kernel headers be in /usr/src/linux/include ?

Thanks,

Regards Ben.
 
Old 05-01-2005, 07:37 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
This may help or you may have seen it;
http://www.vmware.com/support/ws45/d...s.html#1025586
This may help;
http://forums.gentoo.org/viewtopic-t...are+guide.html

Last edited by comprookie2000; 05-01-2005 at 07:40 PM.
 
Old 05-01-2005, 08:49 PM   #7
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
it didnt really help but from reading it im going to try switching to the 2.4 kernel to see if it helps. do you think that would actually make things better ?

Thanks.
 
Old 05-01-2005, 08:58 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Don't see how it could hurt anything, just ;
# cp arch/i386/boot/bzImage /boot/kernel-whatever
# cp System.map /boot/System.map-whatever
and edit grub
 
Old 05-01-2005, 10:24 PM   #9
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
If you get
Quote:
[emerge N F]
then you need to Fetch the compressed install file.
I haven't installed vmware, but whatever the file is that you get, you'll need to put it in the directory /usr/portage/distfiles. If you look inside that directory, you'll notice a bunch of .tar.gz and .tar.bz2 files. These are the compressed files that get downloaded when portage (the package manager) fetches for a file. (it's pretty safe to delete these files if there ends up being too many, as portage will simply have to download it again when it needs it).
Having said that, I have looked for what packages to install for Gentoo and I found three:
* vmware-console
* vmware-linux-tools
* vmware-workstation
I believe vmware-workstation is what you want, but it didn't have the "F" in it, the others did.
So I would imagine that you should install all three. You'll have to get the linux install files for vmware-console and vmware-linux-tools off of the vmware website, put them in /usr/portage/distfiles directory and emerge away...
Code:
# emerge --update vmware-console vmware-linux-tools vmware-workstation
Here's Gentoo's package repositor lookup site where I saw those packages listed.

Hope that helps. Again, I've never worked with vmware, I only know what the "F" thing means

-- the dudeman
 
Old 05-02-2005, 01:19 AM   #10
game_dev
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
Your seeking it too far. I'm a gentoo user too.
You can add programs to the runlevels by using "rc-update"
You can find more info by using man "rc-update"
 
Old 05-02-2005, 02:55 AM   #11
AnXa
LQ Newbie
 
Registered: Jan 2005
Location: Lahti, Finland
Distribution: Gentoo x86_64, Darwin 8.0.1, Slackware 10.1
Posts: 10

Rep: Reputation: 0
As a note that, Gentoo doesn't use run leves higer than 3 if we don't count 6 in. rc-update should used at all times to modify run levels. And besides if you want vmware installed use portage for it. It will do everything exept compoling kernel module which will be builded by doing that vmware-configure thingy.
 
Old 05-02-2005, 08:18 AM   #12
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
game_dev: I do use rc-update to modify runlevels

comprookie2000: I would have to do more that that, i have to compile the 2.4 kernel which i have just finished doing but i did something to it and it wont boot. It gets stuck when trying to mount /dev/hda3 which is / because for some reason it thinks its ext2 not ext3. This whole VmWare thing is starting to do my head in, i cant make it work!

linuxLuser: I cant install vmware-console and vmware-linux-tools because when i run emerge vmware-linux-tools for example it says to download from a URL which it gives me. But when i try it says that the URL doesnt exist anymore and it cant find the file!

Last edited by Snerkel; 05-02-2005 at 08:22 AM.
 
Old 05-02-2005, 12:15 PM   #13
runlevel0
Member
 
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290

Rep: Reputation: 31
Re: Gentoo: Does gentoo use rc0.d - rc9.d ?

Quote:
Originally posted by Snerkel
Hi, i just finished a gentoo install and I'm trying to compile a program. It is asking me to enter where my system holds the rc0.d - rc9.d directories.
I have no idea where to look for these!
Quote:
Does gentoo use them because i have looked through /etc/ and i cant find them!
No, we don't. Gentoo uses another naming scheme for the different runlevels: boot default nonetwork single

If you need that a non-gentooized app can recognize these runlevels in a more standard fashion, just symlink them

* boot runlevel S (rcS.d and rc.boot, depending on the distro)
* default runlevel 5 (rc5.d in Debian rc3.d)
* single runlevel 1
* nonetwork runlevel 2 (it could be another like runlevel 3 or even 8 or 9)

The runlevels are only scripts which init executes and which are by default named runlevel 0 to runlevel 9 (and runlevel S).
Only 0 and 6 are important (halt and reboot), any other can change from distro to distro, but the standard is to use runlevel 5 for normal sessions with X, runlevel 3 for normal users but console based, runlevel 1 for single user mode and leaving the runlevels 7-9 untouched. As this depends on init and /etc/inittab you can name the runlevels just how you want. As many of them are rarely used (runlevel 3 on Mandrake / Fedora is only used to set up the X or the nVidia drivers) our gentle Gentoo gurus changed them to more self-evident names.

In order to make things properly you would need to make a directory called /etc/init.d/rc.d and a symlink to /etc/rc.d (the Debian way), inside this directory symlink the different runlevels:

Code:
ln -s /etc/runlevels/default /etc/init.d/rc.d/rc5.d
And so on.


Note:
I see that you are not in the scope of my answer, as you seem to be a more advanced user, but the question arises many times not only among Gentoo newbies, but also among many new Linux users, so I tried to stay very basic in my answer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I start installing stage 3 of gentoo from universal gentoo 2005-1? kazuya1977 Linux - General 1 11-11-2005 10:30 AM
Dual G5 PowerPC: Install Gentoo/Gentoo on OSX? MadSkillzMan General 9 06-29-2005 02:17 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
gentoo file manager install issues (not Gentoo) windeath Fedora 2 03-01-2004 07:17 PM
Dual boot w/ Gentoo/xp pro vs. gentoo-invalid partition table bobbear Linux - Software 3 02-10-2004 04:28 PM

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

All times are GMT -5. The time now is 09:24 AM.

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