alexkinderknecht
Anmeldungsdatum: 14. März 2017
Beiträge: Zähle...
|
Hallo zusammen. Ich habe neben Windows 8.1 mit einem Live-USB ubuntu-14.04.5-desktop-amd64 installiert. Danach von der Fesplatte gesartet. Funktioniert. Dann habe ich ein Update durchgeführt. Seit dem sartet nur noch Windows. Das GRUB Menü wird garnicht erst angezeigt. Bei der Suche bin auf folgende Seite gestoßen: GRUB 2/Reparatur Dort habe ich den Abschnitt "Reparatur mittels Desktop-CD" befolgt. Zuerst mal übersicht verschaffen:
ubuntu@ubuntu:~$ sudo parted -l
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 473MB 472MB ntfs Basic data partition hidden, diag
2 473MB 746MB 273MB fat32 Basic data partition boot
3 746MB 880MB 134MB ntfs Basic data partition msftres
4 880MB 389GB 388GB ntfs Basic data partition msftdata
7 389GB 486GB 96.7GB ext4
8 486GB 489GB 3862MB linux-swap(v1)
5 489GB 490GB 473MB ntfs hidden, diag
6 490GB 500GB 10.2GB ntfs Basic data partition hidden, diag
Model: Mass Storage Device (scsi)
Disk /dev/sdb: 1955MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 1955MB 1953MB fat32 Microsoft Basic Data msftdata
ubuntu@ubuntu:~$ sudo lsblk -o name,uuid,fstype,mountpoint,label,size
NAME UUID FSTYPE MOUNTPOINT LABEL SIZE
sda 465.8G
├─sda1 B4AECA16AEC9D0D2 ntfs System 450M
├─sda2 7ECB-C030 vfat 260M
├─sda3 C0A0CDB2A0CDAEEA ntfs 128M
├─sda4 203EEAF63EEAC3BE ntfs TI30993600A 361.4G
├─sda5 E45C7A2B5C79F89E ntfs 451M
├─sda6 7060EF5460EF1F98 ntfs Recovery 9.5G
├─sda7 e057b774-d2a9-4a82-9793-7f1421c3ff51 ext4 90G
└─sda8 23e3b08f-26ca-449a-a47d-6be4c84c03e9 swap [SWAP] 3.6G
sdb 1.8G
└─sdb1 30E0-675E vfat /cdrom UBUNTU 14_0 1.8G
sr0 1024M
loop0 squashfs /rofs 1007.1M Wegen dem BOOT Flag habe ich es zuerst mit sda2 versucht. ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt/boot/efi
mount: mount point /mnt/boot/efi does not exist Danach habe ich es mit sda7 versucht:
ubuntu@ubuntu:~$ sudo umount /dev/sda2
ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt/boot/efi
ubuntu@ubuntu:~$ sudo mount -o bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount -o bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo mount -t proc /proc /mnt/proc
ubuntu@ubuntu:~$ sudo cp /proc/mounts /mnt/etc/mtab
ubuntu@ubuntu:~$ sudo chroot /mnt /bin/bash
root@ubuntu:/# grub-install
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition. Bei der Suche nach dieser Fehlermeldung habe ich nichts passendes gefunden. So wie es aussieht war sda2 schon richtig, aber ich habe keine Ahnung wie ich jetzt weiter vorgehen soll. Danke im Voraus für Eure Hilfe Alex PS: Wie macht man eigentlich einen einfachen Zeilenumbruch? Wenn ich einmal Enter drücke, wird der Text in der gleichen Zeile angezeigt. Moderiert von Taomon: Dieses Thema ist verschoben worden. Bitte beachte die als wichtig markierten Themen („Welche Themen gehören hier her und welche nicht?“)
|
apt-ghetto
Anmeldungsdatum: 3. Juni 2014
Beiträge: 2943
|
Du mountest zuerst sda7 nach /mnt und dann mountest du sda7 nach /mnt/boot/efi . Wenn du darüber nachdenkst, fällt dir bestimmt auf, dass das überhaupt keinen Sinn macht. Und du wirst Grub sicherlich zustimmen,
dass sda7 keine EFI-System-Partition ist. Ich schlage deshalb vor, dass du sda7 nach /mnt einbindest und dann sda2 nach /mnt/boot/efi einbindest. Einen einfachen Zeilenvorschub kann man mit 2 Backslashes am Zeilen- ende erzwingen. Aber empfohlen wird das zweimalige Benutzen der Entertaste.
|
alexkinderknecht
(Themenstarter)
Anmeldungsdatum: 14. März 2017
Beiträge: Zähle...
|
Ok, das klingt wirklich logisch. Da ich selber nicht so fit in der Materie bin, ist mir das garnicht afugefallen... Ich hab das jetzt mal so probiert und hatte zumindest keine Fehlermedung mehr. Leider ist der Fehler damit nicht behoben. Ich hab das jetzt ein zweites mal probiert und diesmal im Befehl "grub-install /dev/sda hinzugefügt. Beim ersten mal hatte ich da nur "grub-install" eingegeben, was laut Anleitung aber auch ok ist. Werde jetzt nochmal neustarten. Sollte das den Fehler beheben, melde ich mich nochmal...
ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt/boot/efi
ubuntu@ubuntu:~$ sudo mount -o bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount -o bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo mount -t proc /proc /mnt/proc
ubuntu@ubuntu:~$ sudo cp /proc/mounts /mnt/etc/mtab
ubuntu@ubuntu:~$ sudo chroot /mnt /bin/bash
root@ubuntu:/# grub-install /dev/sda
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@ubuntu:/# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-66-generic
Found initrd image: /boot/initrd.img-4.4.0-66-generic
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Adding boot menu entry for EFI firmware configuration
done Gruß Alex
|
alexkinderknecht
(Themenstarter)
Anmeldungsdatum: 14. März 2017
Beiträge: 12
|
Moin moin. Das Problem besteht leider immer noch. Ich habe mich mal durch diese Seite durchgearbeitet: GRUB-Umgebung analysieren (Abschnitt „GRUB-Version“). Vielleicht kann ja jemand was damit anfangen... ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt/boot/efi
ubuntu@ubuntu:~$ sudo chroot /mnt /bin/bash
root@ubuntu:/# dpkg --list | grep grub
ii grub-common 2.02~beta2-36ubuntu3.8 amd64 GRand Unified Bootloader (common files)
ii grub-efi-amd64 2.02~beta2-36ubuntu3.8 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii grub-efi-amd64-bin 2.02~beta2-36ubuntu3.8 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii grub-efi-amd64-signed 1.66.8+2.02~beta2-36ubuntu3.8 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii grub2-common 2.02~beta2-36ubuntu3.8 amd64 GRand Unified Bootloader (common files for version 2)
root@ubuntu:/# dpkg --list | grep os-prober
ii os-prober 1.70ubuntu3.3 amd64 utility to detect other OSes on a set of drives
root@ubuntu:/# find /boot/efi -iname "*efi"
/boot/efi
/boot/efi/EFI
/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
/boot/efi/EFI/Microsoft/Boot/bootmgr.efi
/boot/efi/EFI/Microsoft/Boot/memtest.efi
/boot/efi/EFI/Boot/bootx64.efi
/boot/efi/EFI/toshiba/Boot/bootmgfw.efi
/boot/efi/EFI/toshiba/Boot/bootmgr.efi
/boot/efi/EFI/toshiba/Boot/memtest.efi
/boot/efi/EFI/ubuntu/shimx64.efi
/boot/efi/EFI/ubuntu/grubx64.efi
/boot/efi/EFI/ubuntu/MokManager.efi
/boot/efi/EFI/ubuntu/fwupx64.efi
root@ubuntu:/# exit
ubuntu@ubuntu:~$ sudo fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sudo sh -c "hexdump -v -s 0x80 -n 2 -e '2/1 \"%x\" \"\\n\"' X | xargs -n1 -IY sh -c \"case \"Y\" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 oder v1.98 ;; '020') echo X: GRUB 2 v1.99 ;; *) echo X: Kein GRUB Y ;; esac\""
/dev/sda: Kein GRUB 00
/dev/sda1: Kein GRUB 55aa
/dev/sdb: Kein GRUB 00
/dev/sdb1: Kein GRUB f6c1
ubuntu@ubuntu:~$ for d in $(sed -ne 's/^.*\(sd.*\)/\1/p' /proc/partitions);do echo -e "$d\t ID: $(sudo hexdump -v -s 0x80 -n 2 -e '2/1 "%x" "\n"' /dev/$d)";done;echo -e "\t(G1) 5272/aa75 (G2) 48b4/7c3c/020 (Core) 488/31d2"
sda ID: 00
sda1 ID: 55aa
sda2 ID: f6c1
sda3 ID: 55aa
sda4 ID: 55aa
sda5 ID: 55aa
sda6 ID: 55aa
sda7 ID: 00
sda8 ID: 00
sdb ID: 00
sdb1 ID: f6c1
(G1) 5272/aa75 (G2) 48b4/7c3c/020 (Core) 488/31d2
ubuntu@ubuntu:~$ sudo file -s -N -F';' /dev/sd*|egrep 'GR|ID=0xee|data$'| tr -s ';' '\n'
ubuntu@ubuntu:~$
Der letzte Befehl bewirkte keine Ausgabe. GRUB-Konfiguration:
root@ubuntu:/# cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 e057b774-d2a9-4a82-9793-7f1421c3ff51
else
search --no-floppy --fs-uuid --set=root e057b774-d2a9-4a82-9793-7f1421c3ff51
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e057b774-d2a9-4a82-9793-7f1421c3ff51' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 e057b774-d2a9-4a82-9793-7f1421c3ff51
else
search --no-floppy --fs-uuid --set=root e057b774-d2a9-4a82-9793-7f1421c3ff51
fi
linux /boot/vmlinuz-4.4.0-66-generic.efi.signed root=UUID=e057b774-d2a9-4a82-9793-7f1421c3ff51 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-66-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-e057b774-d2a9-4a82-9793-7f1421c3ff51' {
menuentry 'Ubuntu, with Linux 4.4.0-66-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-advanced-e057b774-d2a9-4a82-9793-7f1421c3ff51' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 e057b774-d2a9-4a82-9793-7f1421c3ff51
else
search --no-floppy --fs-uuid --set=root e057b774-d2a9-4a82-9793-7f1421c3ff51
fi
echo 'Loading Linux 4.4.0-66-generic ...'
linux /boot/vmlinuz-4.4.0-66-generic.efi.signed root=UUID=e057b774-d2a9-4a82-9793-7f1421c3ff51 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-66-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-init-upstart-e057b774-d2a9-4a82-9793-7f1421c3ff51' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 e057b774-d2a9-4a82-9793-7f1421c3ff51
else
search --no-floppy --fs-uuid --set=root e057b774-d2a9-4a82-9793-7f1421c3ff51
fi
echo 'Loading Linux 4.4.0-66-generic ...'
linux /boot/vmlinuz-4.4.0-66-generic.efi.signed root=UUID=e057b774-d2a9-4a82-9793-7f1421c3ff51 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-66-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-recovery-e057b774-d2a9-4a82-9793-7f1421c3ff51' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 e057b774-d2a9-4a82-9793-7f1421c3ff51
else
search --no-floppy --fs-uuid --set=root e057b774-d2a9-4a82-9793-7f1421c3ff51
fi
echo 'Loading Linux 4.4.0-66-generic ...'
linux /boot/vmlinuz-4.4.0-66-generic.efi.signed root=UUID=e057b774-d2a9-4a82-9793-7f1421c3ff51 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-e057b774-d2a9-4a82-9793-7f1421c3ff51' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 e057b774-d2a9-4a82-9793-7f1421c3ff51
else
search --no-floppy --fs-uuid --set=root e057b774-d2a9-4a82-9793-7f1421c3ff51
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=e057b774-d2a9-4a82-9793-7f1421c3ff51 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-e057b774-d2a9-4a82-9793-7f1421c3ff51' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 e057b774-d2a9-4a82-9793-7f1421c3ff51
else
search --no-floppy --fs-uuid --set=root e057b774-d2a9-4a82-9793-7f1421c3ff51
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=e057b774-d2a9-4a82-9793-7f1421c3ff51 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-e057b774-d2a9-4a82-9793-7f1421c3ff51' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 e057b774-d2a9-4a82-9793-7f1421c3ff51
else
search --no-floppy --fs-uuid --set=root e057b774-d2a9-4a82-9793-7f1421c3ff51
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=e057b774-d2a9-4a82-9793-7f1421c3ff51 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Gruß Alex
|
bowman
Anmeldungsdatum: 17. Februar 2010
Beiträge: 7502
|
Du hast in der EFI-Partition alle Bootdateien drin. Was kommt beim Auslesen des NVRAM raus?
sudo efibootmgr -v
Live-USB ubuntu-14.04.5-desktop-amd64 installiert
Wieso verwendest du eine überalterte Version? Auch wenn es eine LTS ist, mit 5 Jahren Support. Der gilt nur für die Kernel! Die Software ist veraltet und evtl unsicher. Wenn du eine LTS installierst, dann immer die neuste Version und das wäre Ubuntu 16.04.
Dann habe ich ein Update durchgeführt
Im laufenden Ubuntu oder im laufenden Windows?
|
alexkinderknecht
(Themenstarter)
Anmeldungsdatum: 14. März 2017
Beiträge: 12
|
Hallo nochmal, erstmal danke ich für die Mühe. ubuntu@ubuntu:~$ sudo efibootmgr -v
sudo: efibootmgr: command not found
ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt/boot/efi
ubuntu@ubuntu:~$ sudo efibootmgr -v
sudo: efibootmgr: command not found
ubuntu@ubuntu:~$ sudo chroot /mnt /bin/bash
root@ubuntu:/# efibootmgr -v
efibootmgr: EFI variables are not supported on this system. Das ich 14.04 installiert habe, war reine Schuselligkeit. Ich hatte Probleme mit der Live-USB auf Grund von einem defektem Stick. Deswegen habe ich unter anderem auch ne ältere Version probiert. Als ich dann den neuen Stick probiert habe, hab ich dann einfach nicht mehr genau drauf geachtet. Ich dachte mir, kannst ja dann ein Update machen... 😉 Es war schon ein Ubuntu Update. Meint ihr eine Neuinstallation von Ubuntu würde helfen? Dann natürlich gleich 16.04. Gruß
|
apt-ghetto
Anmeldungsdatum: 3. Juni 2014
Beiträge: 2943
|
alexkinderknecht schrieb: ubuntu@ubuntu:~$ sudo efibootmgr -v
sudo: efibootmgr: command not found
Bitte Live-Medium im UEFI-Modus starten und dann | sudo apt install efibootmgr
sudo efibootmgr -v
|
Dein installiertes Ubuntu solltest du auch vom UEFI aus starten können. Was für einen Computer verwendest du?
|
alexkinderknecht
(Themenstarter)
Anmeldungsdatum: 14. März 2017
Beiträge: 12
|
Ok, ich ahne schon woran das liegt: nach dem USB wird gleich Windows geladen und nicht GRUB?
ubuntu@ubuntu:~$ efibootmgr -v
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 2001,0003,0000,0001,2003,2002
Boot0000* ubuntu HD(2,GPT,c34bd98a-0689-11e7-9db5-8511d8aef303,0xe1800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Ubuntu HD(2,GPT,c34bd98a-0689-11e7-9db5-8511d8aef303,0xe1800,0x82000)/File(\EFI\ubuntu\grubx64.efi)RC
Boot0002* EFI Network 0 for IPv6 (70-54-D2-C3-8E-9A) PciRoot(0x0)/Pci(0x15,0x2)/Pci(0x0,0x0)/MAC(7054d2c38e9a,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0003* Windows Boot Manager HD(2,GPT,c34bd98a-0689-11e7-9db5-8511d8aef303,0xe1800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...-................
Boot0004* EFI Network 0 for IPv4 (70-54-D2-C3-8E-9A) PciRoot(0x0)/Pci(0x15,0x2)/Pci(0x0,0x0)/MAC(7054d2c38e9a,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
Boot0005* EFI USB Device (Mass Storage Device) PciRoot(0x0)/Pci(0x10,0x0)/USB(3,0)/HD(1,GPT,f16c377c-4cd2-4742-ba55-f787d7ba7988,0x800,0x3a37df)RC
Boot0008* EFI Network 0 for IPv6 (70-54-D2-C3-8E-9A) PciRoot(0x0)/Pci(0x15,0x2)/Pci(0x0,0x0)/MAC(7054d2c38e9a,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0009* EFI Network 0 for IPv4 (70-54-D2-C3-8E-9A) PciRoot(0x0)/Pci(0x15,0x2)/Pci(0x0,0x0)/MAC(7054d2c38e9a,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
Boot000A* EFI Network 0 for IPv6 (70-54-D2-C3-8E-9A) PciRoot(0x0)/Pci(0x15,0x2)/Pci(0x0,0x0)/MAC(7054d2c38e9a,0)/IPv6([::]:<->[::]:,0,0)RC
Boot000B* EFI Network 0 for IPv4 (70-54-D2-C3-8E-9A) PciRoot(0x0)/Pci(0x15,0x2)/Pci(0x0,0x0)/MAC(7054d2c38e9a,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
Ach so, es handelt sich um ein Toshiba Satelite C850d-11k Notebook. Es gibt auf jeden Fall eine Windows 8 Installtions-/ Rescuepartition und nochmal eine Toshiba Rescuepartition, wenn ich mich nicht täusche... Gruß
|
apt-ghetto
Anmeldungsdatum: 3. Juni 2014
Beiträge: 2943
|
Ja, such mal im UEFI, ob du irgendwo die Bootreihenfolge einstellen kannst (nimm 0000 mit shimx64.efi). Ansonsten könntest du es auch via Terminal probieren: | sudo efibootmgr -o 2001,0000,0003,0001,2003,2002
|
|
alexkinderknecht
(Themenstarter)
Anmeldungsdatum: 14. März 2017
Beiträge: 12
|
Hi, Ich habe es jetzt mit dem efibootmgr und dem Windows Tool EasyUEFI probiert. Leider ist die Bootreihenfolge nach einem Neustart wieder die alte. SecureBoot an und aus hilft auch nicht. Hab mich an den Techsupport und das Forum von Toshiba gewendet, da ich das Problem im BIOS (InsydeH20 System Utility) vermute. Mal sehen was die dazu sagen. Melde mich, wenn es was neues gibt. Gruß
|
bowman
Anmeldungsdatum: 17. Februar 2010
Beiträge: 7502
|
Bei manchen UEFI wird nur zugelassen, dass Windows an der ersten Stelle im Bootmenü steht. Das wir bei jedem Start neu überprüft und dann wieder geändert. Dann muss man um Ubuntu zu starten über das EFI-Auswahlmenü gehen (irgend einen der F-Tsten → Manual lesen) und dort Ubuntu auswählen. Ganz böse UEFI kicken den Ubuntu-Eintrag komplett raus, wenn er an erster Stelle steht. So gesehen, hast du noch Glück gehabt. 😉
|
Frieder108
Anmeldungsdatum: 7. März 2010
Beiträge: 8989
|
bowman schrieb: Bei manchen UEFI wird nur zugelassen, dass Windows an der ersten Stelle im Bootmenü steht. Das wir bei jedem Start neu überprüft und dann wieder geändert.
Nur mal so am Rande bemerkt, in der Situation hat es des öfteren auch geholfen, den Windowseintrag an erster Stelle zu belassen, aber mit der Option -A zu deaktivieren. ☺
|
alexkinderknecht
(Themenstarter)
Anmeldungsdatum: 14. März 2017
Beiträge: 12
|
Super, das hat geholfen. Hab den WinBootloader deaktiviert und nun läuft alles wie gewünscht. Besten Dank an alle Helfer. Gruß
|