View previous topic :: View next topic |
Author |
Message |
Kobal Guru
Joined: 12 Feb 2004 Posts: 323 Location: Brasil / Brazil / Brésil / Brasilien / el Brasil
|
Posted: Sun Jul 02, 2006 3:25 am Post subject: rc-update com problemas, deletei o /etc/runlevels. |
|
|
Eu fiz um backup do /etc do sistema antigo usei ele, bagacei o sistema novo , ja arrumei quase tudo, so nao sei como faço pra fazer um /etc/runlevels novo :/
ja fiz, emerge -e world
emerge baselayout e nada. |
|
Back to top |
|
|
gesiel Apprentice
Joined: 13 Feb 2005 Posts: 197 Location: Brasil - Rio de Janeiro
|
Posted: Sun Jul 09, 2006 2:18 am Post subject: |
|
|
Kobal,
que tal vc descompactar o stage num diretório qualquer (menos na raiz) e copiar os arquivos que vc quer, tipo:
Code: | cd /
mkdir temporario
cp /mnt/cdrom/stages/stage3-*-2006.0.tar.bz2 /temporario
cd temporario
tar xvjpf stage3-*-2006.0.tar.bz2
|
|
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sun Jul 09, 2006 4:11 am Post subject: |
|
|
Boas.
Só para comparação, aqui está o conteúdo do meu /etc/runlevels no meu AMD64.
Code: | atl64 runlevels # ls -Rl
.:
total 1
drwxr-xr-x 2 root root 440 2006-06-06 01:15 boot
drwxr-xr-x 2 root root 520 2006-04-14 14:27 default
drwxr-xr-x 2 root root 96 2005-11-13 10:31 nonetwork
drwxr-xr-x 2 root root 72 2005-11-13 10:31 single
./boot:
total 0
lrwxrwxrwx 1 root root 20 2006-01-02 15:51 bootmisc -> /etc/init.d/bootmisc
lrwxrwxrwx 1 root root 19 2006-01-02 15:51 checkfs -> /etc/init.d/checkfs
lrwxrwxrwx 1 root root 21 2006-01-02 15:51 checkroot -> /etc/init.d/checkroot
lrwxrwxrwx 1 root root 17 2006-01-02 15:51 clock -> /etc/init.d/clock
lrwxrwxrwx 1 root root 23 2006-01-02 15:51 consolefont -> /etc/init.d/consolefont
lrwxrwxrwx 1 root root 20 2006-01-02 15:51 hostname -> /etc/init.d/hostname
lrwxrwxrwx 1 root root 18 2006-06-06 01:15 ifname -> /etc/init.d/ifname
lrwxrwxrwx 1 root root 19 2006-01-02 15:51 keymaps -> /etc/init.d/keymaps
lrwxrwxrwx 1 root root 22 2006-01-02 15:51 localmount -> /etc/init.d/localmount
lrwxrwxrwx 1 root root 19 2006-01-02 15:51 modules -> /etc/init.d/modules
lrwxrwxrwx 1 root root 18 2006-01-02 15:51 net.lo -> /etc/init.d/net.lo
lrwxrwxrwx 1 root root 21 2006-01-02 15:51 rmnologin -> /etc/init.d/rmnologin
lrwxrwxrwx 1 root root 18 2005-04-22 10:33 serial -> /etc/init.d/serial
lrwxrwxrwx 1 root root 19 2006-01-02 15:51 urandom -> /etc/init.d/urandom
./default:
total 0
lrwxrwxrwx 1 root root 17 2005-04-25 00:33 acpid -> /etc/init.d/acpid
lrwxrwxrwx 1 root root 21 2006-02-19 01:38 alsasound -> /etc/init.d/alsasound
lrwxrwxrwx 1 root root 20 2005-04-25 00:33 coldplug -> /etc/init.d/coldplug
lrwxrwxrwx 1 root root 19 2005-04-25 00:33 hotplug -> /etc/init.d/hotplug
lrwxrwxrwx 1 root root 27 2005-09-08 21:08 http-replicator -> /etc/init.d/http-replicator
lrwxrwxrwx 1 root root 17 2006-01-02 15:51 local -> /etc/init.d/local
lrwxrwxrwx 1 root root 20 2005-04-25 00:33 net.eth0 -> /etc/init.d/net.eth0
lrwxrwxrwx 1 root root 20 2006-01-02 15:51 netmount -> /etc/init.d/netmount
lrwxrwxrwx 1 root root 22 2005-04-25 00:33 ntp-client -> /etc/init.d/ntp-client
lrwxrwxrwx 1 root root 19 2005-04-25 14:26 numlock -> /etc/init.d/numlock
lrwxrwxrwx 1 root root 18 2005-09-08 22:30 rsyncd -> /etc/init.d/rsyncd
lrwxrwxrwx 1 root root 18 2005-04-25 14:36 splash -> /etc/init.d/splash
lrwxrwxrwx 1 root root 16 2005-04-25 00:33 sshd -> /etc/init.d/sshd
lrwxrwxrwx 1 root root 21 2005-04-25 00:33 syslog-ng -> /etc/init.d/syslog-ng
lrwxrwxrwx 1 root root 22 2005-04-25 00:33 vixie-cron -> /etc/init.d/vixie-cron
lrwxrwxrwx 1 root root 15 2005-04-27 01:19 xdm -> /etc/init.d/xdm
lrwxrwxrwx 1 root root 18 2005-04-25 00:33 xinetd -> /etc/init.d/xinetd
./nonetwork:
total 0
lrwxrwxrwx 1 root root 17 2006-01-02 15:51 local -> /etc/init.d/local
./single:
total 0
atl64 runlevels # |
Convêm remover ou adiccionar todos os serviços que não estão instalados ou que quer / não quer correr. Pode ser mais fácil usar o rc-update para alterar a configuração dos runlevels. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
|