Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
I have just installed debian 9.7 on a Soekris net5501-70 with a CF card. The install went well enough, but the system is unable to boot without intervention. Each time I power on or reboot the hardware, I see a grub error on the serial console:
grub rescue> set root=(hd0,msdos1)
grub rescue> set prefix=(hd0,msdos1)/boot/grub
grub rescue> insmod normal
grub rescue> normal
I have not yet figured out how to repair grub such that the system will boot on its own. I have tried running 'grub-install /dev/sda' and 'update-grub' more than once, to no avail. Some users recommend installing and running boot-repair, but this appears to be a GUI tool, and this particular system is necessarily minimal, so that doesn't appear to be an option.
What is the output of "fdisk -l" ?
In the grub rescue shell, what is the output of "ls" and what are the values of cmdpath, prefix and root printed by the command "set" before you modify them ?
grub-install should have set the correct values. update-grub is useless for this kind of trouble.
Now I am puzzled. fdisk shows one "disk" /dev/sda (the CF card, I assume), but GRUB shows 16 "disks" (hd0) to (hd15) and no partition. Any idea of what these could be ?
"set" shows that the initial values of $root and $prefix are the same as the ones you set manually, so it should not be necessary to set them.
Also, I don't understand how these values can work if grub does not see the (hd0,msdos1) partition.
clarknova wrote:I have not yet figured out how to repair grub such that the system will boot on its own. I have tried running 'grub-install /dev/sda' and 'update-grub' more than once, to no avail.
I had similar issue once, what helped me was apt-get purge grub grub-pc grub-common
then
apt-get install grub-common grub-pc
it should then give you the option to install grub to a disk/partition of your nomination
I think you can select multiple partitions
i went with just one sda and it worked for me
it will then display a confirmation message saying it has identified linuz and initrid
if you see that message then you are golden