Hallo zusammen,
danke erst einmal für die Antworten, die Lösung sehe ich aber noch nicht, aber habe das Gefühl, dass sie kurz vor der Tür steht:
Also - in meiner grub.cfg steht:
(für Booten von sda5 [die hoffentlich bald überflüssige Partition])
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class $
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0$
else
search --no-floppy --fs-uuid --set=root 43868c7c-0de8-4dd6-9ad0-482a4dedbfdc
fi
echo 'Linux 3.16.0-4-amd64 wird geladen …'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=43868c7c-0de8-4dd6-9ad0-482a4dedbfdc ro single
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/initrd.img-3.16.0-4-amd64
}
und für den neuen Eintrag:
menuentry 'Debian GNU/Linux (8.7) (auf /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprobe$
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 e$
else
search --no-floppy --fs-uuid --set=root e9db3840-77a7-434f-b0f0-43cfc88e69e6
fi
echo 'Linux 3.16.0-4-amd64 wird geladen (sda8) …'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=43868c7c-0de8-4dd6-9ad0-482a4dedbfdc ro quiet splash acpi_osi=Linux
initrd /boot/initrd.img-3.16.0-4-amd64
}
submenu 'Erweiterte Optionen für Debian GNU/Linux (8.7) (auf /dev/sda8)' $menuentry_id_option 'osprober-gnulinux-advanced$
menuentry 'Debian GNU/Linux (auf /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'ospro$
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0$
else
search --no-floppy --fs-uuid --set=root e9db3840-77a7-434f-b0f0-43cfc88e69e6
fi
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=43868c7c-0de8-4dd6-9ad0-482a4dedbfdc ro quiet splash acpi_os$
menuentry 'Debian GNU/Linux (8.7) (auf /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprobe$
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 e$
else
search --no-floppy --fs-uuid --set=root e9db3840-77a7-434f-b0f0-43cfc88e69e6
fi
echo 'Linux 3.16.0-4-amd64 wird geladen (sda8) …'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=43868c7c-0de8-4dd6-9ad0-482a4dedbfdc ro quiet splash acpi_osi=Linux
initrd /boot/initrd.img-3.16.0-4-amd64
}
submenu 'Erweiterte Optionen für Debian GNU/Linux (8.7) (auf /dev/sda8)' $menuentry_id_option 'osprober-gnulinux-advanced$
menuentry 'Debian GNU/Linux (auf /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'ospro$
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0$
else
search --no-floppy --fs-uuid --set=root e9db3840-77a7-434f-b0f0-43cfc88e69e6
fi
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=43868c7c-0de8-4dd6-9ad0-482a4dedbfdc ro quiet splash acpi_os$
initrd /boot/initrd.img-3.16.0-4-amd64
}
menuentry 'Debian GNU/Linux, mit Linux 3.16.0-4-amd64 (auf /dev/sda8)' --class gnu-linux --class gnu --class os $$
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0$
else
search --no-floppy --fs-uuid --set=root e9db3840-77a7-434f-b0f0-43cfc88e69e6
fi
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=43868c7c-0de8-4dd6-9ad0-482a4dedbfdc ro quiet splash acpi_os$
initrd /boot/initrd.img-3.16.0-4-amd64
}
Wenn ich boote, sehe ich, über die echos, dass die sda-8-Option im Bootmenu angesprochen wird. Es kommt aber danach noch dann auch noch eine kurze Meldung (die schnell wieder verschwindet, in der ich "sda5" wahrnehme.
in der /etc/fstab auf sda5 steht:
UUID=43868c7c-0de8-4dd6-9ad0-482a4dedbfdc / ext4 errors=remount-ro 0
UUID=e9db3840-77a7-434f-b0f0-43cfc88e69e6 /mnt/NEU ext4 errors=remount-ro 0 1
und in der auf sda8:
# UUID=43868c7c-0de8-4dd6-9ad0-482a4dedbfdc / ext4 errors=remount-ro 0
UUID=e9db3840-77a7-434f-b0f0-43cfc88e69e6 / ext4 errors=remount-ro 0 1
Zum Vergleich
#blkid
/dev/sda1: LABEL="Wiederherstellung" UUID="B67275C972758EBD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b62baf6e-a45e-49c8-8fee-8fbe8bf28a99"
/dev/sda2: UUID="6C76-2861" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="dc115735-fb4b-4d3b-a9f8-fe8a4c8a514e"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="ca21aca2-999b-44dc-97b4-9891e035f543"
/dev/sda4: UUID="AC4877E34877AAAA" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="ada41030-d5eb-45a6-b0cc-8756ea717808"
/dev/sda5: UUID="43868c7c-0de8-4dd6-9ad0-482a4dedbfdc" TYPE="ext4" PARTLABEL="linux" PARTUUID="cb4d783d-153c-4c54-a11a-2ff0cc709b7f"
/dev/sda6: UUID="3bcc1d92-afba-4482-8ee3-a40e2b1d11df" TYPE="swap" PARTLABEL="swap" PARTUUID="a320aec3-bf64-47e3-b880-b90fb9ab4a17"
/dev/sda7: UUID="E117-8941" TYPE="vfat" PARTLABEL="daten" PARTUUID="7cfe6ec5-59df-4069-8ca4-c7b86ea7ee7e"
/dev/sda8: UUID="e9db3840-77a7-434f-b0f0-43cfc88e69e6" TYPE="ext4" PARTUUID="490e6266-1dea-4c0e-9151-18af8fda5655"
sda1 - sda7 habe ich mit clonezilla übernommen, sda8 mit gparted erstellt
Ich hatte, um zu sehen, was passiert, einmal die fstab auf sda5 ohne das Rootsystem aufgeschrieben und aus dem grub-Menu mit "sda8" gebootet, aber da hatte ich gar kein Filesystem, oder, um genau zu sein, sda5 an / aber nur readonly und nur eine Konsole. Hilft diese Information irgendwie?
Vielen Dank nochmal für Eure Mühe, ich hoffe, ich gebe die Informationen, die auch gebraucht werden.
Einne schönen Abend noch,
Stefan