It is a cool thing to install dual OS -windows and linux(or unix ).
As we know ,if u guy wanna install multi-boot systems ,u should first install windows and then linux. linux have 2 loader tools--lilo and grub.Actually ,i prefer grub ,more powerful and flexibly.
Ok till now ,everthing goes fine .but if my windows crash down,and i reinstall it ,finnaly u find you the grub is missing and you have no choise but enter windows.
so how to reinstall grub when you windows wipe it out?
follow me!
first step:
insert your Ubuntu CD,then boot form live cd .i mean ,you run the option: "try ubuntu without any change to your computer".
after that you will enter ubuntu system.and open the terminal(console is also ok,hehe )
second step:
enter following commonds:
sudo grub
find /boot/grub/stage1
(then the output will be like this: (hd*,*) )
root (hd*,*)
setup (hd0)
quit
then restart your computer .congratulations!
ps:sometimes u also find the grub do not contains the windows items.so you should edit
/boot/grub/menu.lst(note:i donot do this in person ,if this donot work .check it out in google )
and add something like that:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
双系统,windows崩溃,重装系统后 grub启动菜单丢失此时修复的方式为:
1 插入光盘(如果没有光盘的话那就有点困难了)
2 以 live cd 方式启动,进入系统(如果你的系统是8.0的那么就是第一个选项)
3 打开终端输入下面的命令
sudo grub
find /boot/grub/stage1
4然后会有这样的输出:(hd*,*)
5接着输入下面的命令:
root (hd*,*) 注:也就是上面的输出
setup (hd0)
quit
6重启之后就可以进入Ubuntu 了
PS:优势发现无法进入windows。此时可以在 /boot/grub/menu.lst 加入如下内容
(这个我没有亲手试过,如果不行可以再在google上看下)
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
Monday, 30 June 2008
Sunday, 29 June 2008
Ubuntu Resolution
you know what ? this damn problem really piss me off .
and finally i fix it.
problem: the max resolution is 800*600
reason:nvidia (if this is your video card type),you should manually install it . find the
hardware item ,and then choose enable it .then have a cup of coffee,Ubuntu will do the rest ........
Hulla
and finally i fix it.
problem: the max resolution is 800*600
reason:nvidia (if this is your video card type),you should manually install it . find the
hardware item ,and then choose enable it .then have a cup of coffee,Ubuntu will do the rest ........
Hulla
Sunday, 25 May 2008
hibernate configuration
when you config hibernate application,make sure you have import the following 9 jars:
c3p0.jar,cglib.jar,commons-collection.jar,dom4j.jar,commons-logging,jar
asm.jar,antlr.jar.actually,the names of the jars is not precise.no version.but it is ok.
then you should config the configuration files.hibernate.cfg.xml,log4j.properties,and *.hbm.xml
c3p0.jar,cglib.jar,commons-collection.jar,dom4j.jar,commons-logging,jar
asm.jar,antlr.jar.actually,the names of the jars is not precise.no version.but it is ok.
then you should config the configuration files.hibernate.cfg.xml,log4j.properties,and *.hbm.xml
Friday, 4 April 2008
3ds max 在vista中局部黑屏的解决方法
下载autodesk公司专门为解决与vista兼容的sp2补丁包:http://usa.autodesk.com/adsk/servlet/ps/index?siteID=123112&id=5585571&linkID=9241177
3ds Max compatibility with vista
sometimes after you install the 3ds max 9.0 in vista ,you will find the it turns black in some region in max interface .it really annoy you,but it seems you can do nothing to fix this problem .
in fact,autodesk have resolve this.you can download the sp2 which is developed for vista(address:http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=9593622&linkID=9241177)then install it .
ok ,good luck.
ps:make sure the sp2 you have downloaded match your version.
in fact,autodesk have resolve this.you can download the sp2 which is developed for vista(address:http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=9593622&linkID=9241177)then install it .
ok ,good luck.
ps:make sure the sp2 you have downloaded match your version.
Subscribe to:
Posts (Atom)