LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: keelort

Gentoo 的主机域名在什么地方设置?[已解决]

[复制链接]
发表于 2007-8-12 21:35:18 | 显示全部楼层
补充一下,注意那个小写的o
回复 支持 反对

使用道具 举报

发表于 2007-8-13 08:14:53 | 显示全部楼层
提起issue,昨天搞了个issue logo,挺不错 :)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2007-8-13 08:46:21 | 显示全部楼层
haha,这个logo很酷
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-13 10:54:49 | 显示全部楼层
天,还是没用,不知道咋回事了,重装,原来装 Gentoo 没遇到过这种问题呀
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-13 10:56:11 | 显示全部楼层
Post by midx
提起issue,昨天搞了个issue logo,挺不错 :)

不错,能不能把 /etc/issue 贴出来
回复 支持 反对

使用道具 举报

发表于 2007-8-13 11:27:05 | 显示全部楼层
抄的 :P
http://gentoo-wiki.com/Talk:TIP_Login_issue

*以下一大坨是与本帖不相干的东西*
************************************************************
一个修改过的uvesafb-patch for gentoo-2.6.22-r5也放在这里。
补上该文件的原始MD5:
9749530af541a6bc4ca673a577e37169

PS. 悄悄加点,权当笔记。
uvesafb用法:
  1. cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes
  2. 1280x1024-32, 0x011b
  3. 1600x1200-16, 0x0146
  4. 1400x1050-16, 0x0148
  5. 2048x1536-32, 0x0152

  6. sudo mount /boot
  7. sudo splash_geninitramfs -v -g /boot/fbsplash-1600x1200 -r 1600x1200 livecd-2007.0
  8. sudo splash_geninitramfs -v -g /boot/fbsplash-1400x1050 -r 1400x1050 livecd-2007.0
  9. sudo splash_geninitramfs -v -g /boot/fbsplash-1280x1024 -r 1280x1024 livecd-2007.0

  10. sudo nano /boot/grub/grub.conf
  11. title=Gentoo (sda7)
  12. root (hd0,1) # boot partition
  13. kernel /vmlinuz root=/dev/sda7 video=uvesafb:1400x1050-16,mtrr:3,ywrap splash=s$
  14. initrd (hd0,1)/fbsplash-1400x1050

  15. reboot

  16. fbset --info
复制代码

另,gentoo-sources-2.6.23已经将uvesafb植入,无需这个patch了。
升级内核后如果发现fb在tty1下未起效,应该读读spock的installation instructions
  1.    1. cd /usr/src/linux
  2.    2. configure the kernel; in the "Device Drivers" section select:
  3.       Connector - unified userspace <-> kernelspace linker and
  4.       Graphics support ---> Userspace VESA VGA graphics support
  5.       (that's CONFIG_CONNECTOR=y and CONFIG_FB_UVESA=y)
  6.    3. build the kernel: make
  7.    4. remerge klibc: emerge klibc
  8.       note: This step is necessary because klibc has to be compiled against a kernel tree that includes uvesafb. You only need to do this once, i.e. you won't have to remerge klibc every time you install a new kernel or a new kernel module.
  9.    5. install v86d: emerge v86d
  10.    6. reconfigure your kernel; in the "General Setup" section select:
  11.       Initial RAM filesystem and RAM disk (initramfs/initrd) support
  12.       and use /usr/share/v86d/initramfs in Initramfs source file(s).
  13.       (that's CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs")
  14.    7. rebuild the kernel: make, and install it
  15.    8. add video=uvesafb:1024x768-32,mtrr:3,ywrap (or similar) to your kernel command line
  16.    9. reboot and enjoy uvesafb :)
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2007-8-13 14:07:26 | 显示全部楼层
Post by midx
提起issue,昨天搞了个issue logo,挺不错 :)

赞    !
回复 支持 反对

使用道具 举报

发表于 2007-8-13 17:18:54 | 显示全部楼层
LZ 忘了改这个文件了

$ cat /etc/conf.d/hostname
# /etc/conf.d/hostname

# Set to the hostname of this machine
HOSTNAME="xijiao.is-a-geek.org"

BTW: midx , 我真是太感谢你了:!! :%
回复 支持 反对

使用道具 举报

发表于 2007-8-14 08:37:01 | 显示全部楼层
Post by midx
提起issue,昨天搞了个issue logo,挺不错 :)

midx真是美化牛人!
回复 支持 反对

使用道具 举报

发表于 2007-8-14 13:06:11 | 显示全部楼层
Post by midx
抄的 :P
http://gentoo-wiki.com/Talk:TIP_Login_issue

稍后有个修改过的uvesafb-patch for gentoo-2.6.22-r2也放在这里。


thx。以前用vesafb-ng在2007.0之前表现很好,可如果把theme换成2007.0就会有登录画面正常,而返回字符界面就假死的现象。打了uvesafb补丁后,使用2007.0正常了。

但还有一个问题,如果升级到splashutils-1.5,可能是因为内核还未跟上的缘故,使得console没有背景,只能暂时退回到splashutils-1.4.3。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表