|
|
完全按照手册装了3天gentoo都没有成功,前两天是kernel 没搞好,第一次是开机后grub直接进入命令行,手动启动后出现block不对,什么VFS错误,没办法断电重启后手动启动ubuntu,google了一下,把内核scsi,sata, 和支持的文件系统该选的都选了,再编译还是不行,没办法,直接把ubuntu8.04的内核配置拿过来,然后再修改下,重编,结果还是那个错误,只好genkernel了,同时放弃grub,修复ubuntu的grub后用这个引导,内核通过了,但是却怎么都登录不了,输入root,提示错误,安装时没有设置其他的用户阿? google没找到相关的,他们最起码都是用户名输入成功,密码错误的。 重来,格盘后重装,一不小心装了个ppp,居然一下要装175个包,等了一下午到123个包的时后错误退出,没管他,装grub,郁闷又开始了,安装失败,说我的/boot分区没挂载,明明挂载了阿,怎么搞的阿。忽略,重启,靠grub引导,结果到头来还是无法登录。请老鸟们看看是怎么回事。。。
重启后再进入chroot,不能passwd, 显示passwd:拒绝权限
make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
GENTOO_MIRRORS="http://61.135.158.199 http://ftp.twaren.net/Linux/Gentoo http://mirror.mcs.anl.gov/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://61.135.158.199/gentoo-portage"
#SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.gentoo.org/gentoo-portage"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
PORTAGE_TMPFS="/dev/shm"
FEATURES="buildpkg collision-protect sandbox ccache distcc distlocks"
CCACHE_SIZE="2G"
PORTAGE_ELOG_CLASSES="warn error log"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="X gtk gnome mmx sse sse2"
fstab
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda4 /boot ext3 defaults,noatime 1 2
/dev/sda8 / jfs noatime 0 1
/dev/sda7 /home xfs noatime 0 2
/dev/sda9 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro,user 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
menu.lst(ubuntu)
#splashimage=(hd0,3)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.24-r4
root (hd0,3)
kernel /boot/kernel-genkernel-x86_64-2.6.24-gentoo-r4 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda8 udev doscsi vga=791 splash=silent,theme:default console=tty1 quiet
initrd /boot/initramfs-genkernel-x86_64-2.6.24-gentoo-r4
title Ubuntu hardy (development branch), kernel 2.6.24-15-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-15-generic root=UUID=99aaa94b-9858-4e00-907e-6e5d5e32ffb1 ro quiet splash
initrd /boot/initrd.img-2.6.24-15-generic
quiet
title Ubuntu hardy (development branch), kernel 2.6.24-15-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-15-generic root=UUID=99aaa94b-9858-4e00-907e-6e5d5e32ffb1 ro single
initrd /boot/initrd.img-2.6.24-15-generic
title Ubuntu hardy (development branch), kernel 2.6.24-12-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=99aaa94b-9858-4e00-907e-6e5d5e32ffb1 ro quiet splash
initrd /boot/initrd.img-2.6.24-12-generic
quiet
title Ubuntu hardy (development branch), kernel 2.6.24-12-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=99aaa94b-9858-4e00-907e-6e5d5e32ffb1 ro single
initrd /boot/initrd.img-2.6.24-12-generic
title Ubuntu hardy (development branch), memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
顺便问一下,ubuntu什么都搞的那么好,会不会以后要转成商业版呢? 用ubuntu有用windows的感觉。 |
|