linux系统grub文件丢失后系统修复-cent6.5为例.docxVIP

  • 1
  • 0
  • 约2.29千字
  • 约 4页
  • 2024-04-02 发布于河北
  • 举报

linux系统grub文件丢失后系统修复-cent6.5为例.docx

linux系统grub文件丢失后系统修复-cent6.5为例

1.准备工作

[root@localhost~]#df-h#查看出/分区的磁盘是哪块/dev/sda3

FilesystemSizeUsedAvailUse%Mountedon

/dev/sda379G2.6G72G4%/

tmpfs935M224K935M1%/dev/shm

/dev/sda1194M34M150M19%/boot

[root@localhost~]#cd/boot/grub/

[root@localhostgrub]#catgrub.conf

#grub.confgeneratedbyanaconda

#

#Notethatyoudonothavetorerungrubaftermakingchangestothisfile

#NOTICE:Youhavea/bootpartition.Thismeansthat

#allkernelandinitrdpathsarerelativeto/boot/,eg.

#root(hd0,

文档评论(0)

1亿VIP精品文档

相关文档