歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu啟動時停止的問題

Ubuntu啟動時停止的問題

日期:2017/2/28 16:11:58   编辑:Linux教程

Ubuntu啟動時停留在選擇系統的那個頁面。

選擇第一個ubuntu with linux2.6.28-8-server後 出現一段字符,但不動了,
字符最後一個是(initramfs)
在後面輸入exit後,才能繼續啟動

暫停頁面最後顯示代碼是
Gave up waiting for root device . Common problems:
-boot args (cat /proc/cmdline)
-check rootdelay=(did the system wait long enough?)
-check root=(did the system wait for the right device?)
-missing modules ( cat /proc/modules;ls /dev)
ALERT /dev/disk.by-uuid/9d77fcd2-5fc1-419d-939c-af16be94fd34 does not exist.
Dropping to a shell!
BusyBox v1.17.1(Ubuntu 1:1.171-10ubuntu1) built-in shell (ash)
Enter "help" for a list of built-in commands.
(initramfs)

解決方法:

增加rootdelay參數。利用命令sudo vi /boot/grub/menu.lst修改menu.lst的內容為:Kernel /boot/vmlinuz-2.6.27-7-server rootdelay=90 root=UUID=596db294-4759-4f2c-991b-f8be2931a56a ro quiet。再次重啟.

原因:
rootdelay設置的時間太短,導致系統還沒有正常加載完設備驅動就已經開始尋找root分區,而導致找不到/root分區。

Copyright © Linux教程網 All Rights Reserved