LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Gentoo: Does gentoo use rc0.d - rc9.d ? (https://www.linuxquestions.org/questions/linux-distributions-5/gentoo-does-gentoo-use-rc0-d-rc9-d-319083/)

Snerkel 05-01-2005 01:00 PM

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

comprookie2000 05-01-2005 02:29 PM

Not that I know of, it has /ect/runlevel
What Program?

CoffeeMonster 05-01-2005 05:49 PM

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

Snerkel 05-01-2005 06:15 PM

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.

Snerkel 05-01-2005 07:10 PM

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.

comprookie2000 05-01-2005 07:37 PM

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

Snerkel 05-01-2005 08:49 PM

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.

comprookie2000 05-01-2005 08:58 PM

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

linuxLuser 05-01-2005 10:24 PM

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 :cool:

game_dev 05-02-2005 01:19 AM

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"

AnXa 05-02-2005 02:55 AM

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.

Snerkel 05-02-2005 08:18 AM

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!

runlevel0 05-02-2005 12:15 PM

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.


All times are GMT -5. The time now is 04:48 PM.