Monday 30 June 2008

Vista Ubuntu grub Boot

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

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