|
|

楼主 |
发表于 2005-12-18 18:38:54
|
显示全部楼层
Post by diyself
用光盘救人rescue模式中
然后
chroot /mnt/*** /dev/hdaX ;***为mnt目录下好像是sy开头的文件夹,
;具体你看看mnt目录吧?
cd /mnt/***
然后修改/boot/grub/grub.conf 和 /etc/fstab ,要修改正确分区号哦,注意grub.conf中的背景图的也要改,要不重启背景图是黑色的,没有背景图........
umount /mnt/***
grub
grub>root (hd0,*)
grub>setup (hd0)
然后重启
应该可以修复.....
1。请告知如何恢复图形界面的grub?? setup (hd0) 和 grub install 都试过了,但重启依然是终端下的 grub> !!!
该问题依旧 ,请兄弟们告知小弟,因为可以用Grub指令进入Linux,所以用:
grub
grub>root (hd0,*)
grub>setup (hd0)
后问题依旧,重启依然是终端下的 grub>界面。
- # grub.conf generated by MagicInstaller.
- # Note that you do not have to rerun grub after making changes to this file.
- default=0
- timeout=10
- splashimage=(hd0,2)/boot/grub/splash.xpm.gz
- title Windows2000
- rootnoverify (hd0,0)
- chainloader +1
- title MagicLinux
- root (hd0,2)
- kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda3 vga=791 splash=silent
- initrd /boot/initrd-2.6.9.img
复制代码
这样应该没问题吧??我的 / 分区在 hda3 系统只有 / 和 swap 。 |
|