My system (1 hdd, 2 partitions - 1=Windows, 2=Ubuntu) is not booting any longer, but when I shut it down from Ubuntu yesterday, there was no problem at all.
My last try was boot-repair (with recommended repair) started from a live Ubuntu-usb system.
That is the pastebin of various logs.
It seems that it worked perfect, because I get the screen with the choice of Windows and Ubuntu, but after I enter, an error-page appears.
Something like this:
Error at starting Windows, the source could be hardware or software changes in the past"
For me it looks like the typical defect-mbr-message, but then boot-repair didn't worked properly.
Anyone knows a trick, maybe a magic one?
Update: Now it's getting weird.
I try to reconstruct what I did in the last minutes. mistakes are not impossible.
I installed grub2 on my live-distro and executed this command.
sudo grub-install --boot-directory=/mnt/boot/ /dev/sda
I was not sure if the last parameter is /dev/sda or _/dev/sda_1, because sda1 was the first partition on the hdd, but when I executed it, an error appeared. So I tried just sda and it worked. Well, it seems that it worked.
Then I rebooted and got the grub recovery-line. The only possible command, that I knew was ls and it showed something like:
(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
And when I tried to ls hd0
, it showed unknown filesystem and ls hd0,msdos1-3
showed wrong filename.
So I started Ubuntu from my usb-drive again and I just wanted to get sure that my partitions are still ok and typed in sudo blkid
.
This is the result:
/dev/sda1: LABEL="PENDRIVE" UUID="1A0C-1658" TYPE="vfat"
/dev/sdb1: LABEL="OS" UUID="9A34A62D34A60C77" TYPE="ntfs"
/dev/sdb2: LABEL="data" UUID="8A9AAA5C9AAA4513" TYPE="ntfs"
So my usb-drive is now sda instead of sdb and my hdd-partitions are sdb instead of sda.
Maybe I'm too tired and see ghosts, but what did I wrong?