|
|

楼主 |
发表于 2007-8-8 08:14:21
|
显示全部楼层
passwd
/etc/init.d/sshd start
ssh root@birch
livecd ~ # mount /dev/hda2 /mnt/gentoo/
livecd ~ # mount -t proc none /mnt/gentoo/proc
livecd ~ # mount -o bind /dev /mnt/gentoo/dev
livecd ~ # chroot /mnt/gentoo /bin/bash
livecd / # env-update
>>> Regenerating /etc/ld.so.cache...
livecd / # source /etc/profile
livecd / # export PS1="(chroot) $PS1"
(chroot) livecd / # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
emerge gentoo-sources
genkernel all >& sinnud/genkernel_all.log
nano -w /etc/fstab
/dev/hda2 / ext3 noatime 0 1
/dev/hda7 none swap sw 0 0
nano -w /etc/conf.d/net
config_eth0=( "dhcp" )
rc-update add net.eth0 default
nano -w /etc/conf.d/clock
CLOCK="local"
TIMEZOME="America/Chicago"
emerge syslog-ng
rc-update add syslog-ng default
emerge slocate
emerge dhcpcd
mkdir /mnt/temp
mount /dev/hda10 /mnt/temp
nano -w /mnt/temp/boot/grub/menu.lst
title Gentoo Linux 2.6.21-gentoo-r4
root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.21-gentoo-r4 root=/dev/ram0 init$
initrd /boot/initramfs-genkernel-x86-2.6.21-gentoo-r4
savedefault
reboot
useradd -m -n -G wheel,audio,adm -s /bin/bash -u 500 liudu
passwd liudu
rc-update add sshd default
emerge sudo
visudo
%adm ALL=(ALL) ALL
emerge xorg-x11 > /sinnud/emerge_xorg-x11.log
Xorg -configure
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/birch:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.21-gentoo-r4 i686
Current Operating System: Linux birch 2.6.21-gentoo-r4 #1 SMP Tue Aug 7 11:13:30 CDT 2007 i686
Build Date: 07 August 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 7 18:56:33 2007
List of video drivers:
r128
ati
nsc
rendition
nv
glint
s3
sis
chips
v4l
voodoo
neomagic
tseng
i810
dummy
apm
ark
vmware
via
siliconmotion
mga
s3virge
cyrix
i740
tdfx
atimisc
savage
trident
cirrus
sisusb
imstt
tga
i128
radeon
fbdev
vesa
vga
(++) Using config file: "/root/xorg.conf.new"
(EE) I810(0): unknown type(0xffffffff)=0xff
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
Your xorg.conf file is /root/xorg.conf.new
To test the server, run 'X -config /root/xorg.conf.new'
X -config /root/xorg.conf.new
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/birch:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.21-gentoo-r4 i686
Current Operating System: Linux birch 2.6.21-gentoo-r4 #1 SMP Tue Aug 7 11:13:30 CDT 2007 i686
Build Date: 07 August 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 7 18:58:13 2007
(++) Using config file: "/root/xorg.conf.new"
(EE) I810(0): unknown type(0xffffffff)=0xff
(EE) I810(0): VBE initialization failed.
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
X -config /mnt/debian/etc/X11/xorg.conf
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/birch:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.21-gentoo-r4 i686
Current Operating System: Linux birch 2.6.21-gentoo-r4 #1 SMP Tue Aug 7 11:13:30 CDT 2007 i686
Build Date: 07 August 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 7 18:59:36 2007
(++) Using config file: "/mnt/debian/etc/X11/xorg.conf"
(EE) I810(0): unknown type(0xffffffff)=0xff
(EE) I810(0): VBE initialization failed.
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found |
|