Grub.conf如何修改的問題

來源:互聯網
上載者:User

本來開始還可以進入DOS,但是後來我看網上說修改grub.conf檔案可以,我自己就修改了一下,現在開機還有DOS引導,但是DOS卻也進不了了,我把它改回來了,還是進不了DOS,只能進入redhat,怎麼辦啊?

我把我的grub.conf檔案貼出來,大家幫我看看,是否可以改?怎麼修改?謝謝!

  1. # grub.conf genetated by anaconda  
  2. #  
  3. #Note that you do not have to return grub after making changes  to this file.  
  4. #NOTICE:You have a/boot partition. This means that  
  5. #all kernel and initird.Paths are relativve to /boot/  
  6. #.e.g root(hd0,0)  
  7. #kernel/vmlinuz-version ro root=/dev/hda7  
  8. #initrd/initrd-version.img  
  9. #boot=/dev/hda  
  10. default=0 
  11. timeout=10 
  12. splashImage=(hd0,0)/grub/splash.xgm.gz  
  13. title Red Had linux(2.4.20-8)  
  14. root(hd0,0)  
  15. kernel(/vmlinuz-2.4.20-8 ro root=LABT=/initrd/initrd-2.4.20-   8.img  
  16. title DOS  
  17. root(hd0,4)  
  18. chainloader+1  

以上就是整個grub.conf的內容了,大家一定要幫幫我啊,我全部是用手敲上來的,在這裡先謝謝各位好心人了!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.