-
2011-10-31
安装windows xp和ubuntu双操作系统的方法 - [杂记]
先装ubuntu,再装xp:4.
5.
6.
7. 在ubuntu中,reported."
8. 重启机器,进入grub界面,这时候恢复了ubuntu下面的grub启动界面。这时候你发现xp的启动选项可能不工作,别着急。
9. 按键c进入grub的命令行界面,键入root (hd0,之后按键tab键。这时候注意查看,在xp的分区信息中有一个uuid,记下来uuid,然后quit到ubuntu的grub启动界面。选择 xp的grub项,然后按键e,进入编辑模式,把记下来的uuid替换原来的uuid.这只后F10就可启动xp了。
10. 其实也可以不操作第9步,直接从ubuntu grub登录进入ubuntu系统,然后编辑:/boot/grub/grub.cfg文件,将xp启动项中的uuid替换成新的xp系统的uuid即可。我的修改之后的内容为:
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 0E48A65048A6367D
drivemap -s (hd0) ${root}
chainloader +111. OK一切搞定。
另可参考:http://www.blags.org/windows-xp-disk-to-install-ubuntu-10-04/
-
2009-12-17
Google如何使用Linux《How Google uses Linux》 - [架构]
文章How Google uses Linux讨论了Google如何使用Linux的情况,其中有一些有意思的信息。
1.Google一般在16-32个核的机器上面运行了大约5000个线程,平均每一个核上面运行了156-312个线程( 156-312 thread/core)。这个数据很值得参考、借鉴、验证。(And load balancing matters: Google runs something like 5000 threads on systems with 16-32 cores.)









