Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1579  / 2 Years ago, fri, february 25, 2022, 3:09:08

All of a sudden my Ubuntu 13.04 (Raring) server does not boot correctly anymore. It stops at a grub command line.



If I type ls, I get



(hd0) (hd0,msdos5) (hd0,msdos1) (fd0) 


i can then ls each individual partition and the only one where it finds something is hd0,msdos1



I hooked up the hard disk to another PC and it seems to me all the data is still there!



How can I boot normally again?


More From » boot

 Answers
4

Looks like there is problem with the grub menu.



Start by booting your ubuntu from a LiveCD or Live USB. You need to re-install grub on the server hard disk device. To know the device address, type in a terminal



sudo fdisk -l


This will list the disks and their volumes in a list. Note the device where you need to install the grub. The size of thee device shall give you a hint. If /dev/sda is the device where grub needs to be installed, go to terminal and type



sudo grub-install /dev/sda


Reboot your server and check if the problem is resolved.



Update : If the above fails, use boot-repair tool to fix issues, or you can try



sudo grub-install /dev/sda --force

[#30609] Friday, February 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
vigorousom

Total Points: 394
Total Questions: 96
Total Answers: 110

Location: Pitcairn Islands
Member since Fri, Oct 15, 2021
3 Years ago
;