Fedora 26 - wiederhergestelltes Backup bootfähig machen

wileE

Active member
Registriert
7 Jan. 2012
Beiträge
1.976
Seit dem Wechsel von Fedora 24 auf 26 funktioniert meine Backup Wiederherstellung nicht mehr. Ich bekomme das System nach dem Zurückspielen auf mein Reservegerät nicht wie gewohnt bootfähig gemacht.

HDD sieht so aus:
Code:
[liveuser@localhost-live ~]$ blkid
/dev/sda1: UUID="752B9F75304B6E1F" TYPE="ntfs" PARTUUID="e302ca1d-01"
/dev/sda2: LABEL="W10" UUID="024E39231E462D33" TYPE="ntfs" PARTUUID="e302ca1d-02"
/dev/sda3: LABEL="DATA" UUID="5F09AB5AF6CF2A61" TYPE="ntfs" PARTUUID="e302ca1d-03"
/dev/sda5: LABEL="xfce" UUID="a55145de-04d1-4cc4-abbb-ebaf8de732e7" TYPE="ext4" PARTUUID="e302ca1d-05"
/dev/sda6: LABEL="swap" UUID="ed3b683b-7591-4089-b777-f120f71f0a61" TYPE="swap" PARTUUID="e302ca1d-06"

XFCE und swap liegen im einem LVM. Getrennte /boot Partition gibt es nicht.
Nach Anpassung der fstab habe ich aus dem Live System bislang folgende Befehle verwendet:

Code:
[liveuser@localhost-live ~]$ sudo mount /dev/sda5 /mnt
[liveuser@localhost-live ~]$ sudo mount -o bind /dev /mnt/dev
[liveuser@localhost-live ~]$ sudo mount -o bind /sys /mnt/sys
[liveuser@localhost-live ~]$ sudo mount -t proc /proc /mnt/proc
[liveuser@localhost-live ~]$ sudo chroot /mnt /bin/bash
[root@localhost-live /]# grub2-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

Jetzt geht es mit den Fehlern los. Die Windows Partitionen werden nicht erkannt.
Code:
[root@localhost-live /]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.11.11-300.fc26.x86_64
Found initrd image: /boot/initramfs-4.11.11-300.fc26.x86_64.img
Found linux image: /boot/vmlinuz-4.11.8-300.fc26.x86_64
Found initrd image: /boot/initramfs-4.11.8-300.fc26.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-7dbbd2ab412642c8be38992fce0678c2
Found initrd image: /boot/initramfs-0-rescue-7dbbd2ab412642c8be38992fce0678c2.img
device-mapper: reload ioctl on osprober-linux-mmcblk0p1 failed: Device or resource busy
Command failed
device-mapper: reload ioctl on osprober-linux-sda3 failed: Device or resource busy
Command failed
device-mapper: reload ioctl on osprober-linux-sdb1 failed: Device or resource busy
Command failed
done

Und der dracut Befehl funktioniert auch nicht mehr.
Code:
[root@localhost-live /]# sudo dracut --regenerate-all --force
dracut: No '/dev/log' or 'logger' included for syslog logging
dracut: No '/dev/log' or 'logger' included for syslog logging
dracut: Can't write to /boot/7dbbd2ab412642c8be38992fce0678c2/4.11.8-300.fc26.x86_64: Directory /boot/7dbbd2ab412642c8be38992fce0678c2/4.11.8-300.fc26.x86_64 does not exist or is not accessible.

Resultat ist ein System das mir das Windows nicht im Grub Menü anbietet und beim Booten noch vor dem Fedora Logo hängen bleibt.

Weiß jemand Rat?

EDIT Wenn ich ein Xubuntu noch parallel installiere kann ich auch wieder das wiederhergestellte Fedora 26 booten. Nur darf ich dann nicht im laufenden Fedora Grub2 neu installieren und das mkconfig laufen lassen. Das macht wieder alles kaputt.
 
Zuletzt bearbeitet:
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben