Boot-Repair-Disk

Hier können sich Zauberer, Magier, Hexen und alle Anderen entspannen und über das Leben, das Universum und den ganzen Rest reden.

Es wird um die Einhaltung der Regeln gebeten

Boot-Repair-Disk

Beitragvon jkowalzik » Nov 15th, '20, 18:54

Hallo!
Ich habe mich belabern lassen: "Hilfe mein Linux läuft nicht", der Ruf kam von der GULUG. Zugegeben die LUG ist mehr ein Zombi. :lol:
Aber da hat einer die "Boot-Repair-Disk" über sein nicht startendes Linux laufen lassen.
Code: Alles auswählen
boot-repair-4ppa125                                              [20201111_1344]

============================== Boot Info Summary ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos1)/boot/grub. It also embeds following components:
   
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos1)/grub on this drive.
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdc.
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdd.
 => No boot loader is installed in the MBR of /dev/sde.
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdf.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 16.04.7 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub
                       /boot/grub/i386-pc/core.img

sda2: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:        /grub/grub.cfg /grub/core.img

sdb2: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:

sdb3: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info:

sdb5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Debian GNU/Linux 7 (wheezy)
    Boot files:        /etc/fstab /etc/default/grub

sdb6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       

sdd1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       

sde1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  According to the info in the boot sector, sde1 has
                       2352934911 sectors, but according to the info from
                       fdisk, it has 19532804095 sectors.
    Operating System: 
    Boot files:       

sdf1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows XP: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       


================================ 2 OS detected =================================

OS#1:   Ubuntu 16.04.7 LTS on sda1
OS#2:   Debian GNU/Linux 7 (wheezy) on sdb5

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)


===================================== UEFI =====================================

This live-session is not in EFI-mode.



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda   : notGPT,   no-BIOSboot,   has-noESP,    not-usb,   not-mmc, has-os,   2048 sectors * 512 bytes
sdb   : notGPT,   no-BIOSboot,   has-noESP,    not-usb,   not-mmc, has-os,   2048 sectors * 512 bytes
sdc   : notGPT,   no-BIOSboot,   has---ESP,    usb-disk,   not-mmc, no-os,   63 sectors * 512 bytes
sdd   : notGPT,   no-BIOSboot,   has-noESP,    not-usb,   not-mmc, no-os,   2048 sectors * 512 bytes
sde   : is-GPT,   no-BIOSboot,   has-noESP,    usb-disk,   not-mmc, no-os,   2048 sectors * 512 bytes
sdf   : notGPT,   no-BIOSboot,   has---ESP,    usb-disk,   not-mmc, no-os,   32 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1   : is-os,   64, apt-get,   grub-pc ,   grub2,   grub-install,   grubenv-ng,   update-grub,   not-far
sda3   : no-os,   32, nopakmgr,   no-docgrub,   nogrub,   nogrubinstall,   no-grubenv,   noupdategrub,   farbios
sdb1   : no-os,   32, nopakmgr,   no-docgrub,   nogrub,   nogrubinstall,   grubenv-ok,   noupdategrub,   not-far
sdb5   : is-os,   32, apt-get,   grub-pc ,   grub2,   grub-install,   no-grubenv,   update-grub,   not-far
sdb6   : no-os,   32, nopakmgr,   no-docgrub,   nogrub,   nogrubinstall,   no-grubenv,   noupdategrub,   not-far
sdc1   : no-os,   32, nopakmgr,   no-docgrub,   nogrub,   nogrubinstall,   no-grubenv,   noupdategrub,   not-far
sdd1   : no-os,   32, nopakmgr,   no-docgrub,   nogrub,   nogrubinstall,   no-grubenv,   noupdategrub,   farbios
sde1   : no-os,   32, nopakmgr,   no-docgrub,   nogrub,   nogrubinstall,   no-grubenv,   noupdategrub,   farbios
sdf1   : no-os,   32, nopakmgr,   no-docgrub,   nogrub,   nogrubinstall,   no-grubenv,   noupdategrub,   not-far

Partitions info (2/3): _________________________________________________________

sda1   : isnotESP,   fstab-without-efi,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot
sda3   : isnotESP,   part-has-no-fstab,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot
sdb1   : isnotESP,   part-has-no-fstab,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot
sdb5   : isnotESP,   fstab-without-efi,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot
sdb6   : isnotESP,   part-has-no-fstab,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot
sdc1   : is---ESP,   part-has-no-fstab,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot
sdd1   : isnotESP,   part-has-no-fstab,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot
sde1   : isnotESP,   part-has-no-fstab,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot
sdf1   : is---ESP,   part-has-no-fstab,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   notwinboot

Partitions info (3/3): _________________________________________________________

sda1   : not-sepboot,   with-boot,   fstab-without-boot,   not-sep-usr,   with--usr,   fstab-without-usr,   std-grub.d,   sda
sda3   : maybesepboot,   no-boot,   part-has-no-fstab,   not-sep-usr,   no---usr,   part-has-no-fstab,   std-grub.d,   sda
sdb1   : is-sepboot,   no-boot,   part-has-no-fstab,   not-sep-usr,   no---usr,   part-has-no-fstab,   std-grub.d,   sdb
sdb5   : not-sepboot,   no-boot,   fstab-has-goodBOOT,   not-sep-usr,   with--usr,   fstab-without-usr,   std-grub.d,   sdb
sdb6   : maybesepboot,   no-boot,   part-has-no-fstab,   not-sep-usr,   no---usr,   part-has-no-fstab,   std-grub.d,   sdb
sdc1   : not-sepboot,   no-boot,   part-has-no-fstab,   not-sep-usr,   no---usr,   part-has-no-fstab,   std-grub.d,   sdc
sdd1   : not-sepboot,   no-boot,   part-has-no-fstab,   not-sep-usr,   no---usr,   part-has-no-fstab,   std-grub.d,   sdd
sde1   : not-sepboot,   no-boot,   part-has-no-fstab,   not-sep-usr,   no---usr,   part-has-no-fstab,   std-grub.d,   sde
sdf1   : not-sepboot,   no-boot,   part-has-no-fstab,   not-sep-usr,   no---usr,   part-has-no-fstab,   std-grub.d,   sdf

fdisk -l (filtered): ___________________________________________________________

Disk sda: 233.8 GiB, 251000193024 bytes, 490234752 sectors
Disk identifier: 0x000dfba5
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048  97656831  97654784  46.6G 83 Linux
sda2        97656832 105469951   7813120   3.7G 82 Linux swap / Solaris
sda3       105469952 490233855 384763904 183.5G 83 Linux
Disk sdb: 74.5 GiB, 80026361856 bytes, 156301488 sectors
Disk identifier: 0x00065167
      Boot    Start       End   Sectors  Size Id Type
sdb1  *        2048    999423    997376  487M 83 Linux
sdb2         999424   4904959   3905536  1.9G 82 Linux swap / Solaris
sdb3        4907006 156301311 151394306 72.2G  5 Extended
sdb5        4907008  43966463  39059456 18.6G 83 Linux
sdb6       43968512 156301311 112332800 53.6G 83 Linux
Disk sdc: 3.8 GiB, 4022337024 bytes, 7856127 sectors
Disk identifier: 0x00e5a84f
      Boot Start     End Sectors  Size Id Type
sdc1  *       63 7856126 7856064  3.8G  c W95 FAT32 (LBA)
Disk sdd: 1.4 TiB, 1500299395072 bytes, 2930272256 sectors
Disk identifier: 0x000dac91
      Boot Start        End    Sectors  Size Id Type
sdd1        2048 2930272255 2930270208  1.4T  7 HPFS/NTFS/exFAT
Disk sde: 9.1 TiB, 10000797794304 bytes, 19532808192 sectors
Disk identifier: 8AC53269-9BAA-47C6-ABE2-FFDBC4213B58
      Start         End     Sectors  Size Type
sde1   2048 19532806143 19532804096  9.1T Microsoft basic data
Disk sdf: 3.8 GiB, 4009754624 bytes, 7831552 sectors
Disk identifier: 0xc3072e18
      Boot Start     End Sectors  Size Id Type
sdf1  *       32 7831551 7831520  3.8G  b W95 FAT32
Disk zram0: 1.3 GiB, 1432363008 bytes, 349698 sectors

parted -lm (filtered): _________________________________________________________

sda:251GB:scsi:512:512:msdos:ATA Maxtor 6V250F0:;
1:1049kB:50.0GB:50.0GB:ext4::boot;
2:50.0GB:54.0GB:4000MB:linux-swap(v1)::;
3:54.0GB:251GB:197GB:ext4::;
sdb:80.0GB:scsi:512:512:msdos:ATA ST3808110AS:;
1:1049kB:512MB:511MB:ext4::boot;
2:512MB:2511MB:2000MB:linux-swap(v1)::;
3:2512MB:80.0GB:77.5GB:::;
5:2512MB:22.5GB:20.0GB:ext4::;
6:22.5GB:80.0GB:57.5GB:ext4::;
sdc:4022MB:scsi:512:512:msdos:PNY USB 2.0 FD:;
1:32.3kB:4022MB:4022MB:fat32::boot, lba;
sdd:1500GB:scsi:512:512:msdos:WD Ext HDD 1021:;
1:1049kB:1500GB:1500GB:ntfs::;
sde:10.0TB:scsi:512:4096:gpt:WD Elements 25A3:;
1:1049kB:10.0TB:10.0TB:ntfs:Elements:msftdata;
sdf:4010MB:scsi:512:512:msdos:USB DISK 2.0:;
1:16.4kB:4010MB:4010MB:fat32::boot;
sr0:923MB:scsi:2048:2048:msdos:HL-DT-ST DVDRAM GSA-4163B:;
2:1974kB:12.1MB:10.1MB:::esp;
zram0:1432MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1432MB:1432MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
fd0                                                                                                             
sda                                                                                                             
├─sda1 ext4     5750a752-f375-4a76-8d13-e16508c6e27e 000dfba5-01                                                 
├─sda2 swap     f16811df-fc87-45f4-ae4c-0d50d1994ed0 000dfba5-02                                                 
└─sda3 ext4     c2db87ec-eff2-478a-be1a-0e8e0b95f23e 000dfba5-03                                                 
sdb                                                                                                             
├─sdb1 ext4     792053f6-8278-4b4a-a819-7080b57302a7 00065167-01                                                 
├─sdb2 swap     fa675e1a-5faa-4b9f-aaa4-1aca5c23ab47 00065167-02                                                 
├─sdb3                                               00065167-03                                                 
├─sdb5 ext4     d32617d2-0730-477f-af50-ea7932f70d5e 00065167-05                                                 
└─sdb6 ext4     ae81cefd-8a1b-45cb-807f-eb2fc6a2452f 00065167-06                                                 
sdc                                                                                                             
└─sdc1 vfat     1806-1C13                            00e5a84f-01                          PENDRIVE               
sdd                                                                                                             
└─sdd1 ntfs     922CD36F2CD34CBB                     000dac91-01                          Elements               
sde                                                                                                             
└─sde1 ntfs     12BAA9F2BAA9D311                     c8241486-470d-4890-888f-d02a2654069b Elements               Elements
sdf                                                                                                             
└─sdf1 vfat     1454-57A2                            c3072e18-01                          UDISK                 
zram0                                                                                                           

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1    28.5G  32% /mnt/boot-sav/sda1
sda3     5.7G  92% /mnt/boot-sav/sda3
sdb1   400.9M   7% /mnt/boot-sav/sdb1
sdb5    11.3G  33% /mnt/boot-sav/sdb5
sdb6   558.1M  94% /mnt/boot-sav/sdb6
sdc1     1.1G  71% /media/lubuntu/PENDRIVE
sdd1   106.7M 100% /mnt/boot-sav/sdd1
sde1     7.8T  15% /media/lubuntu/Elements
sdf1     2.4G  37% /media/lubuntu/UDISK

Mount options: __________________________________________________________________

sda1   rw,relatime
sda3   rw,relatime
sdb1   rw,relatime
sdb5   rw,relatime
sdb6   rw,relatime
sdc1   rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
sdd1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sde1   rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
sdf1   rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro

====================== sda1/boot/grub/grub.cfg (filtered) ======================

Ubuntu (lowlatency)   5750a752-f375-4a76-8d13-e16508c6e27e
Ubuntu   5750a752-f375-4a76-8d13-e16508c6e27e
Ubuntu, mit Linux 4.15.0-122-lowlatency   5750a752-f375-4a76-8d13-e16508c6e27e
Ubuntu, with Linux 4.15.0-122-lowlatency (upstart)   gnulinux-4.15.0-122-lowlatency-init-upstart-5750a752-f375-4a76-8d13-e16508c6e27e
Ubuntu, mit Linux 4.15.0-120-lowlatency   5750a752-f375-4a76-8d13-e16508c6e27e
Ubuntu, with Linux 4.15.0-120-lowlatency (upstart)   gnulinux-4.15.0-120-lowlatency-init-upstart-5750a752-f375-4a76-8d13-e16508c6e27e
Debian GNU/Linux (7.11) (auf sdb5)   d32617d2-0730-477f-af50-ea7932f70d5e
Debian GNU/Linux, mit Linux 3.2.0-4-686-pae (auf sdb5)   d32617d2-0730-477f-af50-ea7932f70d5e
Debian GNU/Linux, mit Linux 3.2.0-4-686-pae (Wiederherstellungsmodus) (auf sdb5)   osprober-gnulinux-/vmlinuz-3.2.0-4-686-pae-root=UUID=d32617d2-0730-477f-af50-ea7932f70d5e ro single-d32617d2-0730-477f-af50-ea7932f70d5e
Debian GNU/Linux, mit Linux 3.2.0-3-686-pae (auf sdb5)   d32617d2-0730-477f-af50-ea7932f70d5e
Debian GNU/Linux, mit Linux 3.2.0-3-686-pae (Wiederherstellungsmodus) (auf sdb5)   osprober-gnulinux-/vmlinuz-3.2.0-3-686-pae-root=UUID=d32617d2-0730-477f-af50-ea7932f70d5e ro single-d32617d2-0730-477f-af50-ea7932f70d5e
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=5750a752-f375-4a76-8d13-e16508c6e27e /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda3 during installation
UUID=c2db87ec-eff2-478a-be1a-0e8e0b95f23e /home           ext4    defaults        0       2
# swap was on /dev/sda2 during installation
UUID=f16811df-fc87-45f4-ae4c-0d50d1994ed0 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

======================= sda1/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sda1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  37.198265076 = 39.941332992   boot/grub/grub.cfg                             1
  40.453575134 = 43.436695552   boot/grub/i386-pc/core.img                     1
   7.393413544 = 7.938617344    boot/vmlinuz-4.15.0-120-lowlatency             1
  37.758663177 = 40.543055872   boot/vmlinuz-4.15.0-122-lowlatency             1
  37.758663177 = 40.543055872   vmlinuz                                        1
   7.393413544 = 7.938617344    vmlinuz.old                                    1
   7.522834778 = 8.077582336    boot/initrd.img-4.15.0-120-lowlatency          4
  37.826820374 = 40.616239104   boot/initrd.img-4.15.0-122-lowlatency          3
  37.826820374 = 40.616239104   initrd.img                                     3
   7.522834778 = 8.077582336    initrd.img.old                                 4

===================== sda1: ls -l /etc/grub.d/ (filtered) ======================

insgesamt 92
-rwxr-xr-x 1 root root  9921 Mär 21  2016 09_lowlatency
-rwxr-xr-x 1 root root 12627 Aug 25 08:24 10_linux
-rwxr-xr-x 1 root root 11082 Jan 13  2017 20_linux_xen
-rwxr-xr-x 1 root root 11692 Jan 13  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 Jan 13  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jan 13  2017 40_custom
-rwxr-xr-x 1 root root   216 Jan 13  2017 41_custom

======================== sda1/etc/grub.d/09_lowlatency =========================

#! /bin/sh
set -e
# grub-mkconfig helper script.
#
# Ubuntustudio customization that keeps the latest lowlatency kernel
# as the first menu item and default boot even if there is a newer
# generic or other kernel. Often the updated generic kernel is
# released a few days earlier than the lowlatency kernel
prefix="/usr"
exec_prefix="${prefix}"
datarootdir="${prefix}/share"
. "${datarootdir}/grub/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
CLASS="--class gnu-linux --class gnu --class os"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
  OS=GNU/Linux
else
  if [ "${GRUB_DISTRIBUTOR}" = "Ubuntu" ] ; then
    OS="${GRUB_DISTRIBUTOR}"
  else
    OS="${GRUB_DISTRIBUTOR} GNU/Linux"
  fi
  CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}"
fi
# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
  /dev/loop/*|/dev/loop[0-9])
    GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
    # We can't cope with devices loop-mounted from files here.
    case ${GRUB_DEVICE} in
      /dev/*) ;;
      *) exit 0 ;;
    esac
  ;;
esac
if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
    || uses_abstraction "${GRUB_DEVICE}" lvm; then
  LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
  LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi
GRUBFS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`"
if [ x"$GRUBFS" = x ]; then
    GRUBFS="$(stat -f --printf=%T / || true)"
fi
case x"$GRUBFS" in
    xbtrfs)
   rootsubvol="`make_system_path_relative_to_its_root /`"
   rootsubvol="${rootsubvol#/}"
   if [ "x${rootsubvol}" != x ]; then
       GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
   fi;;
    xzfs)
   rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
   bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
   LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs}"
   ;;
esac
title_correction_code=
for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
  if [ "$word" = splash ]; then
    GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
  fi
done
# add crashkernel option if we have the required tools
if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
    GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA crashkernel=384M-2G:64M,2G-:128M"
fi
linux_entry ()
{
  os="$1"
  version="$2"
  type="$3"
  args="$4"
  if [ -z "$boot_device_id" ]; then
      boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
  fi
  if [ x$type != xsimple ] ; then
      case $type in
     recovery)
         title="$(gettext_printf "%s, with Linux %s (recovery mode)" "${os}" "${version}")" ;;
     *)
         title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
      esac
      if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
     replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
     quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
     title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
     grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
      fi
      echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  else
      echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  fi     
  echo "recordfail" | sed "s/^/$submenu_indentation/"
  if [ x$type != xrecovery ] ; then
      save_default_entry | sed -e "s/^/\t/"
  fi
  # Use ELILO's generic "efifb" when it's known to be available.
  # FIXME: We need an interface to select vesafb in case efifb can't be used.
  if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
      echo "   load_video" | sed "s/^/$submenu_indentation/"
  else
      if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then
     echo "   load_video" | sed "s/^/$submenu_indentation/"
      fi
  fi
  if [ x$type != xrecovery ] ; then
      echo "   gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
  fi
  echo "   insmod gzio" | sed "s/^/$submenu_indentation/"
  if [ x$dirname = x/ ]; then
    if [ -z "${prepare_root_cache}" ]; then
      prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/")"
    fi
    printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/"
  else
    if [ -z "${prepare_boot_cache}" ]; then
      prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")"
    fi
    printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
  fi
  if [ x$type != xsimple ]; then
    message="$(gettext_printf "Loading Linux %s ..." ${version})"
    sed "s/^/$submenu_indentation/" << EOF
   echo   '$(echo "$message" | grub_quote)'
EOF
  fi
  if test -d /sys/firmware/efi && test -e "${linux}.efi.signed"; then
    sed "s/^/$submenu_indentation/" << EOF
   linux   ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
EOF
  else
    sed "s/^/$submenu_indentation/" << EOF
   linux   ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
  fi
  if test -n "${initrd}" ; then
    # TRANSLATORS: ramdisk isn't identifier. Should be translated.
    if [ x$type != xsimple ]; then
      message="$(gettext_printf "Loading initial ramdisk ...")"
      sed "s/^/$submenu_indentation/" << EOF
   echo   '$(echo "$message" | grub_quote)'
EOF
    fi
    sed "s/^/$submenu_indentation/" << EOF
   initrd   ${rel_dirname}/${initrd}
EOF
  fi
  sed "s/^/$submenu_indentation/" << EOF
}
EOF
}
machine=`uname -m`
case "x$machine" in
    xi?86 | xx86_64)
   list=`for i in /boot/vmlinuz-*lowlatency /boot/kernel-*lowlatency ; do
                  if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
              done` ;;
    *)
   list=`for i in /boot/vmlinuz-*lowlatency /boot/vmlinux-*lowlatency /boot/kernel-*lowlatency ; do
                  if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
        done` ;;
esac
case "$machine" in
    i?86) GENKERNEL_ARCH="x86" ;;
    mips|mips64) GENKERNEL_ARCH="mips" ;;
    mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
    arm*) GENKERNEL_ARCH="arm" ;;
    *) GENKERNEL_ARCH="$machine" ;;
esac
prepare_boot_cache=
prepare_root_cache=
boot_device_id=
title_correction_code=
cat << 'EOF'
function gfxmode {
   set gfxpayload="${1}"
   if [ "${1}" = "keep" ]; then
      set vt_handoff=vt.handoff=7
   else
      set vt_handoff=
   fi
}
EOF
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ]; then
  echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
else
  cat << EOF
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
EOF
fi
cat << EOF
export linux_gfx_mode
EOF
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""
is_first_entry=true
if [ "x$list" != "x" ]; then
  linux=`version_find_latest $list`
  case $linux in
    *.efi.signed)
      # We handle these in linux_entry.
      list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
      continue
      ;;
  esac
  gettext_printf "Found linux image: %s\n" "$linux" >&2
  basename=`basename $linux`
  dirname=`dirname $linux`
  rel_dirname=`make_system_path_relative_to_its_root $dirname`
  version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
  alt_version=`echo $version | sed -e "s,\.old$,,g"`
  linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
  initrd=
  for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
      "initrd-${version}" "initramfs-${version}.img" \
      "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
      "initrd-${alt_version}" "initramfs-${alt_version}.img" \
      "initramfs-genkernel-${version}" \
      "initramfs-genkernel-${alt_version}" \
      "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
      "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
    if test -e "${dirname}/${i}" ; then
      initrd="$i"
      break
    fi
  done
  config=
  for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
    if test -e "${i}" ; then
      config="${i}"
      break
    fi
  done
  initramfs=
  if test -n "${config}" ; then
      initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
  fi
  if test -n "${initrd}" ; then
    gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
  elif test -z "${initramfs}" ; then
    # "UUID=" and "ZFS=" magic is parsed by initrd or initramfs.  Since there's
    # no initrd or builtin initramfs, it can't work here.
    linux_root_device_thisversion=${GRUB_DEVICE}
  fi
  if [ "x$is_first_entry" = xtrue ]; then
    linux_entry "${OS} (lowlatency)" "${version}" simple \
    "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT}"
  fi
fi
echo "$title_correction_code"

======================== sdb1/grub/grub.cfg (filtered) =========================

Debian GNU/Linux, mit Linux 3.2.0-4-686-pae
Debian GNU/Linux, mit Linux 3.2.0-4-686-pae (Wiederherstellungsmodus)
Debian GNU/Linux, mit Linux 3.2.0-3-686-pae
Debian GNU/Linux, mit Linux 3.2.0-3-686-pae (Wiederherstellungsmodus)
### END /etc/grub.d/30_os-prober ###

==================== sdb1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
   0.143559456 = 0.154145792    grub/grub.cfg                                  1
   0.014490128 = 0.015558656    grub/core.img                                  1
   0.015192986 = 0.016313344    vmlinuz-3.2.0-3-686-pae                        2
   0.042562485 = 0.045701120    vmlinuz-3.2.0-4-686-pae                        2
   0.032085419 = 0.034451456    initrd.img-3.2.0-3-686-pae                     2
   0.053435326 = 0.057375744    initrd.img-3.2.0-4-686-pae                     1

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda5 during installation
UUID=d32617d2-0730-477f-af50-ea7932f70d5e /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=792053f6-8278-4b4a-a819-7080b57302a7 /boot           ext4    defaults        0       2
# /home was on /dev/sda6 during installation
UUID=ae81cefd-8a1b-45cb-807f-eb2fc6a2452f /home           ext4    defaults        0       2
# swap was on /dev/sda2 during installation
UUID=fa675e1a-5faa-4b9f-aaa4-1aca5c23ab47 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

======================= sdb5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

===================== sdb5: ls -l /etc/grub.d/ (filtered) ======================

insgesamt 52
-rwxr-xr-x 1 root root 5977 Jan 20  2013 10_linux
-rwxr-xr-x 1 root root 6335 Jun 15  2012 20_linux_xen
-rwxr-xr-x 1 root root 6522 Apr 29  2013 30_os-prober
-rwxr-xr-x 1 root root  214 Jun 15  2012 40_custom
-rwxr-xr-x 1 root root   95 Jun 15  2012 41_custom


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdc1

00000000  eb 5a 90 2f 71 3c 6e 25  49 48 43 00 02 08 20 00  |.Z./q<n%IHC... .|
00000010  02 00 00 00 00 f8 00 00  00 00 00 00 3f 00 00 00  |............?...|
00000020  c0 df 77 00 e9 1d 00 00  00 00 00 00 02 00 00 00  |..w.............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 13 1c 06 18 50  45 4e 44 52 49 56 45 20  |..)....PENDRIVE |
00000050  20 20 46 41 54 33 32 20  20 20 f1 7d fa 33 c9 8e  |  FAT32   .}.3..|
00000060  d1 bc f8 7b 8e c1 bd 78  00 c5 76 00 1e 56 16 55  |...{...x..v..V.U|
00000070  bf 22 05 89 7e 00 89 4e  02 b1 0b fc f3 a4 8e d9  |."..~..N........|
00000080  bd 00 7c c6 45 fe 0f 8b  46 18 88 45 f9 fb 38 66  |..|.E...F..E..8f|
00000090  40 7c 04 cd 13 72 4e bf  02 00 83 7e 16 00 75 71  |@|...rN....~..uq|
000000a0  66 83 7e 24 00 74 6a 8b  46 1c 8b 56 1e b9 03 00  |f.~$.tj.F..V....|
000000b0  49 40 75 01 42 bb 00 7e  e8 90 00 73 2a b0 f8 4f  |I@u.B..~...s*..O|
000000c0  74 21 8b 46 32 33 d2 b9  03 00 3b c8 77 43 8b 76  |t!.F23....;.wC.v|
000000d0  0e 3b ce 73 3c 2b f1 3b  c6 77 36 03 46 1c 13 56  |.;.s<+.;.w6.F..V|
000000e0  1e eb cd 73 2c eb 49 66  81 be 00 02 52 52 61 41  |...s,.If....RRaA|
000000f0  75 cc 66 81 be fc 03 00  00 55 aa 75 c1 66 81 be  |u.f......U.u.f..|
00000100  fc 05 00 00 55 aa 75 b6  83 7e 2a 00 77 03 e9 ef  |....U.u..~*.w...|
00000110  02 be 80 7d fb ac 98 03  f0 ac 84 c0 74 17 3c ff  |...}........t.<.|
00000120  74 09 b4 0e bb 07 00 cd  10 eb ee be 83 7d eb e4  |t............}..|
00000130  be 81 7d eb df 33 c0 cd  16 5e 1f 8f 04 8f 44 02  |..}..3...^....D.|
00000140  cd 19 00 00 00 00 00 00  00 00 00 50 52 51 91 92  |...........PRQ..|
00000150  33 d2 f7 76 18 91 f7 76  18 42 87 ca f7 76 1a 8a  |3..v...v.B...v..|
00000160  f2 8a 56 40 8a e8 d0 cc  d0 cc 0a cc b8 01 02 cd  |..V@............|
00000170  13 59 5a 58 72 09 40 75  01 42 03 5e 0b e2 cc c3  |.YZXr.@u.B.^....|
00000180  03 18 01 27 0d 0a 55 6e  67 75 65 6c 74 69 67 65  |...'..Ungueltige|
00000190  73 20 53 79 73 74 65 6d  20 ff 0d 0a 45 2f 41 2d  |s System ...E/A-|
000001a0  46 65 68 6c 65 72 20 20  20 20 ff 0d 0a 44 61 74  |Fehler    ...Dat|
000001b0  65 6e 74 72 61 65 67 65  72 20 77 65 63 68 73 65  |entraeger wechse|
000001c0  6c 6e 20 75 6e 64 20 54  61 73 74 65 20 64 72 75  |ln und Taste dru|
000001d0  65 63 6b 65 6e 0d 0a 00  49 4f 20 20 20 20 20 20  |ecken...IO      |
000001e0  53 59 53 4d 53 44 4f 53  20 20 20 53 59 53 80 01  |SYSMSDOS   SYS..|
000001f0  00 57 49 4e 42 4f 4f 54  20 53 59 53 00 00 55 aa  |.WINBOOT SYS..U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[42194]) leaked on lvs invocation. Parent PID 2228: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda1,
using the following options:        sdc1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file   

Blockers in case of suggested repair: __________________________________________

 The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

Confirmation request before suggested repair: __________________________________

The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the Ubuntu 16.04.7 LTS entry (sdc1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.


Wegen Corona und es nicht Sommer ist, habe ich mich nicht aufs Motorrad gesetzt und mir den Jammer vor Ort nicht angesehen.

Ich habe folgendes mir zurechtgezimmert:
Es ist ein "gewachsener" Computer, der hat mal mit MBR im BIOS angefangen und ist dabei geblieben.
Jetzt ist er mit einem LINUX im UEFI Modus voll in die Binsen gefahen.
Ich habe die Möglichkeit eines Woodoo-Wunders ausgeschlossen.
Daten sichern, BIOS umswitschen und neu installieren.

Liege ich da richtig?
Gruß
J.
...Luxus ist alles was sich reparieren läßt
Benutzeravatar
jkowalzik
 
Beiträge: 3342
Registriert: Okt 2nd, '11, 12:34
Wohnort: Plettenberg

Re: Boot-Repair-Disk

Beitragvon man-draker » Nov 15th, '20, 19:46

Eigentlich ist das die Gelegenheit zu renovieren:

1 Backup der Nutzdaten
1 Neuer Rechner
1 neue SSD
1 BS
1 Aufspielen der Nutzdaten

Alles andere verspricht Spaß ohne Ende.
"Die letzte Stimme, die man hört, bevor die Welt explodiert, wird die Stimme eines Experten sein, der sagt: 'Das ist technisch unmöglich.'"
(Peter Ustinov)
Benutzeravatar
man-draker
 
Beiträge: 4992
Registriert: Jun 1st, '11, 12:56

Re: Boot-Repair-Disk

Beitragvon jkowalzik » Nov 16th, '20, 14:17

@mandraker,
ich habe ihm MAGEIA und das Forum empfohlen :oops:
weis nicht, ob das eine so gut Idee war? :?
Ich dachte, mittlerweile wäre Linux für Users geeignet und nicht ausschließlich für Spezialisten die Anfragen zur Unterstützung öffentlich als Jammern verunglimpfen...

Keine Angst, der will nur spielen!
Ich habe Linux verteidigt, ....um Videos herzustellen, Musikstücke und Bücher zu schreiben. ..... dann kann ich es verstehen, warum niemand an User-Erfahrungen interesssiert ist und dies als Gejammere abtut.
Das war die Antwort auf ein Resümee, welches er sich selbst durch die Anwendung der Boot-Repair-Disk gegeben hatte. Aber die war auf Englisch.
Was Disk mir in Englisch mitteilt kann ich nicht übersetzen noch verstehen.

Ab da wird es philosophisch, gibt es außerhalb von mir noch andere Wirklichkeiten?
Oder soll ich nur einfach sagen: "beratungsresistent"? :?
Gruß
J.

PS: oder habe ich mich damit beschrieben. :lol: :lol: :lol:
...Luxus ist alles was sich reparieren läßt
Benutzeravatar
jkowalzik
 
Beiträge: 3342
Registriert: Okt 2nd, '11, 12:34
Wohnort: Plettenberg

Re: Boot-Repair-Disk

Beitragvon jkowalzik » Nov 16th, '20, 16:04

Ach, das Beste hätte ich euch beinahe vergessen

Denn du empfehlst was andere WinDAUS auch tun, neu installieren.

Gruß J.
...Luxus ist alles was sich reparieren läßt
Benutzeravatar
jkowalzik
 
Beiträge: 3342
Registriert: Okt 2nd, '11, 12:34
Wohnort: Plettenberg

Re: Boot-Repair-Disk

Beitragvon man-draker » Nov 16th, '20, 20:59

Naja, was er da hat ist kein Rechner, mit dem man arbeiten kann, sondern ein einziges Dickicht, das ohne wirklich gute Kenntnisse nicht zu beherrschen ist. Und daran fehlt es ja offensichtlich.

Allein das hier ist ausreichend abschreckend:
Code: Alles auswählen
Disks info: ____________________________________________________________________

sda   : notGPT,   no-BIOSboot,   has-noESP,    not-usb,   not-mmc, has-os,   2048 sectors * 512 bytes
sdb   : notGPT,   no-BIOSboot,   has-noESP,    not-usb,   not-mmc, has-os,   2048 sectors * 512 bytes
sdc   : notGPT,   no-BIOSboot,   has---ESP,    usb-disk,   not-mmc, no-os,   63 sectors * 512 bytes
sdd   : notGPT,   no-BIOSboot,   has-noESP,    not-usb,   not-mmc, no-os,   2048 sectors * 512 bytes
sde   : is-GPT,   no-BIOSboot,   has-noESP,    usb-disk,   not-mmc, no-os,   2048 sectors * 512 bytes
sdf   : notGPT,   no-BIOSboot,   has---ESP,    usb-disk,   not-mmc, no-os,   32 sectors * 512 bytes


Aber vielleicht ist er ja ein Genie - denn das beherrscht ja bekanntlich das Chaos.
Dann braucht er uns aber nicht.
"Die letzte Stimme, die man hört, bevor die Welt explodiert, wird die Stimme eines Experten sein, der sagt: 'Das ist technisch unmöglich.'"
(Peter Ustinov)
Benutzeravatar
man-draker
 
Beiträge: 4992
Registriert: Jun 1st, '11, 12:56


Zurück zu Magischer Zirkel (aka Sandkasten)

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron