ข้อผิดพลาดนี้จะแสดงดังภาพด้านล่างหลังจากเปิดเครื่อง
This error is shown as image below after booting
การแก้ข้อผิดพลาดให้ทำตามขั้นตอนดังนี้
To fix error, follow steps below
- ใช้คำสั่ง ls เพื่อแสดงรายการของพาร์ติชั่น
 - ใช้คำสั่ง set prefix=(hd0,msdos6)/boot/grub [อาจจะต้องเปลี่ยนตัวพาร์ติชั่น (ในวงเล็บ) ตามรายการที่ได้จากคำสั่ง ls จนกว่าจะเจอตัวที่มันใช้ได้]
 - ใช้คำสั่ง insmod normal
 - ใช้คำสั่ง normal แล้วมันจะรีสตาร์ทเข้าสู่ Ubuntu ตามปกติ
 
- Type ls to get a list of partitions
 - Enter set prefix=(hd0,msdos6)/boot/grub [you may just have to try all of drive/partition (in the brackets) listed by ls until you find the one that works]
 - Type insmod normal
 - Type normal and you will get your boot prompt back!
 
ครั้งแรกหลังจากโหลดเข้า Ubuntu ให้ใช้คำสั่งดังนี้
Once you've loaded Ubuntu, run 
sudo grub-install /dev/sda
และ
and 
sudo update-grubเพื่อจะได้ไม่ต้องทำตามขั้นตอนด้านบนทุกครั้งที่เปิดเครื่อง
as soon as possible. This means you won't have to do that tedious process above every time you boot your machine.

No comments:
Post a Comment