标签:grub.conf丢失
本案环境:
[root@bright ~]# uname -r 2.6.32-504.el6.x86_64 [root@bright ~]# cat /etc/redhat-release CentOS release 6.6 (Final) [root@bright ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_bright-lv_root 18G 2.7G 14G 17% / tmpfs 931M 0 931M 0% /dev/shm /dev/sda1 477M 33M 419M 8% /boot [root@bright ~]# ls -al /etc/grub.conf lrwxrwxrwx. 1 root root 22 3月 7 02:47 /etc/grub.conf -> ../boot/grub/grub.conf
修复过程:
启动后进入grub>模式
grub> root (hd0,0)
> kernel /vm---(tab键补全) ro (只读) root=/ (根文件挂载点)
> initrd /initrd---(tab键补全)
> boot
进入系统后:vi /boot/grub/grub.conf 查看并保存
本文出自 “做梦也想你” 博客,请务必保留此出处http://zmyxn.blog.51cto.com/3029175/1619934
标签:grub.conf丢失
原文地址:http://zmyxn.blog.51cto.com/3029175/1619934