I have a xen VPS with debian 7 x86_64 installed on it. The operating system comes with GRUB2 installed on it. The problem is that while runnnig
apt-get update
apt-get upgrade -y
GRUB says The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier
has changed for some reason.
. Then the following error occurs many times:
/usr/sbin/grub-probe: warn: disk does not exist, so falling back to partition device /dev/xvda1.
When I reboot after that the server would not (predictably) load.
My hosting provider tells me not to upgrade the software and refuses to help. I've found the tutorial on the topic. But I could not use it because my version of /usr/sbin/update-grub
does not contain a piece of code I should change. It's entire contents is:
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
Also I don't have /boot/grub/menu.lst
on my machine
The following output may be useful
fdisk -l
Disk /dev/xvda1: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/xvda1 doesn't contain a valid partition table
Could you please advise me what should I do to fix the issue?