einfache Testinstallationen

Hier ist die Work-in-Pogress Zone für alles Nichtallgemeine sondern Konkrete an Vorarbeiten für die kommenden UEFI-Wiki-Artikel
Forumsregeln
Alles was konkrete Vorarbeiten zu den geplanten UEFI bezogenen Wiki-Artikeln angeht und keine allgemeine Infos sondern eben genauere Arbeitsschritte, detaliertere Anleitungen, aufgetauchte Probleme, Workarounds um eben diese etc. darstellt bitte hier reinsetzen.

einfache Testinstallationen

Beitragvon Robi » Do 12. Feb 2015, 21:14

Selbstverstänglich kommen wir nicht darum herum, ein paar Installationen durchzuführen. Das hat den Zweck, dass wir dann auch ein paar installierte virtuelle Platten haben mit denen wir und dann näher mit UEFI beschäftigen können und uA die verschiedenen Funktionen und Konfigurationen und Fehlerfälle testen können. UEFI geeignet sollten derzeit fast alle aktuellen Distributionen sein. Also sollten wir auch ein paar ausprobieren, jeder zB seine Favoriten, dann werden wir schon einiges und die wichtigsten zusammenbekommen. Die einzelnen Distributionen gehen hier zT ganz andere Wege, insbesondere wenn in Zusammenhang mit Secure-boot.

Darauf achten:
Was ist im Installprozess eventuell anders als wenn ihr nicht UEFI-boot installert
Welche Bootloader und Optionen werden dabei bei der Installation angeboten
Gibt es dabei bei der Installation irgendwo Probleme oder Unklarheiten
Welche Dateien werden dabei in der UEFI Partition /boot/efi angelegt "find /boot/efi -ls"
Wie sieht nach der Installation die UEFI-Bootkonfiguration aus ( efibootmgr ohne irgendwelche Optionen)

Diese Infos hier im Thread bitte ganz kurz mit genauer Distributions-Version dokumentieren und wenn möglich die V-Platten nicht gleich wieder löschen, damit wir eventuell später noch Informationen dort holen können, wenn uns auffällt was wir noch vergleichen müssten.

Wenn möglich auch mal versuchen ob sich zB auch eine 32bit installieren lässt, ob man eventuell auch ohne GPT-Partition installieren kann wenn man vorher eine EFI-Partition auf einem Dos-partition-table erstellt. (Wenn ich das richtig interpretiere sollte beides irgendwie auch gehen)

Wenn ihr irgendwo auf Probleme stoßt, dann nicht kapitulieren, sondern hier melden. So bekommen wir vielleicht schnell ein Gefühl und Gespühr wo der User draußen bei der Installation in Probleme laufen könnte, und können unsere Infos im WIKI gleich darauf ausrichten.

robi
Robi
 
Beiträge: 68
Themen: 10
Registriert: So 15. Feb 2015, 16:02

Re: einfache Testinstallationen

Beitragvon gehrke » Fr 20. Mär 2015, 22:23

So, ich habe einfach mal mit einer Installation von OpenSUSE 13.1 (64bit) als VM angefangen. Ich bin mir noch nicht sicher, was wir jetzt alles brauchen an Informationen und wie es strukturiert werden soll. Egal, ich fang einfach mal an, und sei es zur Übung...

Code: Alles auswählen
opensuse-131:~ # cat /etc/SuSE-release
openSUSE 13.1 (x86_64)
VERSION = 13.1
CODENAME = Bottle

Code: Alles auswählen
opensuse-131:~ # lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   10G  0 disk
├─sda1            8:1    0  156M  0 part /boot/efi
└─sda2            8:2    0  9.9G  0 part
  ├─system-root 253:0    0  9.3G  0 lvm  /
  └─system-swap 253:1    0  512M  0 lvm  [SWAP]

Code: Alles auswählen
opensuse-131:~ # fdisk -l /dev/sda
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 10.7 GB, 10737418240 bytes, 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt

#         Start          End    Size  Type            Name
 1         2048       321535    156M  EFI System      primary
 2       321536     20969471    9.9G  Linux LVM       primary

Code: Alles auswählen
opensuse-131:~ # find /boot/efi -ls
     1   16 drwxrwxr-x   3 root     root        16384 Jan  1  1970 /boot/efi
     5    4 drwxrwxr-x   4 root     root         4096 Mar 20 21:46 /boot/efi/EFI
     8    4 drwxrwxr-x   2 root     root         4096 Mar 20 19:58 /boot/efi/EFI/opensuse
    10  144 -rwxrwxr-x   1 root     root       144384 Mar 20 21:46 /boot/efi/EFI/opensuse/grubx64.efi
    11    4 drwxrwxr-x   2 root     root         4096 Mar 20 21:46 /boot/efi/EFI/boot
    12    4 -rwxrwxr-x   1 root     root         3379 Mar 21 07:01 /boot/efi/NvVars

Code: Alles auswählen
opensuse-131:~ # efibootmgr
BootCurrent: 0009
Timeout: 0 seconds
BootOrder: 0009,0000,0001,0002,0003,0004,0008,0005,0006,0007
Boot0000* EFI DVD/CDROM
Boot0001* EFI DVD/CDROM 1
Boot0002* EFI Floppy
Boot0003* EFI Floppy 1
Boot0004* EFI Hard Drive
Boot0005* EFI Network
Boot0006* EFI Network 1
Boot0007* EFI Network 2
Boot0008* EFI Internal Shell
Boot0009* opensuse

Kernel (nach Update):
Code: Alles auswählen
opensuse-131:~ # uname -a
Linux opensuse-131 3.11.10-25-desktop #1 SMP PREEMPT Wed Dec 17 17:57:03 UTC 2014 (8210f77) x86_64 x86_64 x86_64 GNU/Linux

Bootloader:
Code: Alles auswählen
opensuse-131:~ # rpm -q grub2
grub2-2.00-39.8.1.x86_64

opensuse-131:~ # cat /boot/grub2/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  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="${saved_entry}"
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 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 lvm
insmod ext2
set root='lvm/system-root'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvm/system-root'  b27d182b-0c95-4b6c-8730-fdd7402b55cd
else
  search --no-floppy --fs-uuid --set=root b27d182b-0c95-4b6c-8730-fdd7402b55cd
fi
    font="/usr/share/grub2/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod lvm
insmod ext2
set root='lvm/system-root'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvm/system-root'  b27d182b-0c95-4b6c-8730-fdd7402b55cd
else
  search --no-floppy --fs-uuid --set=root b27d182b-0c95-4b6c-8730-fdd7402b55cd
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
  set timeout=0
elif sleep --interruptible 0 ; then
  set timeout=8
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 13.1' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b27d182b-0c95-4b6c-8730-fdd7402b55cd' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod lvm
        insmod ext2
        set root='lvm/system-root'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint='lvm/system-root'  b27d182b-0c95-4b6c-8730-fdd7402b55cd
        else
          search --no-floppy --fs-uuid --set=root b27d182b-0c95-4b6c-8730-fdd7402b55cd
        fi
        echo    'Loading Linux 3.11.10-25-desktop ...'
        linux   /boot/vmlinuz-3.11.10-25-desktop root=/dev/mapper/system-root   resume=/dev/system/swap splash=silent quiet showopts
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd-3.11.10-25-desktop
}
submenu 'Advanced options for openSUSE 13.1' $menuentry_id_option 'gnulinux-advanced-b27d182b-0c95-4b6c-8730-fdd7402b55cd' {
        menuentry 'openSUSE 13.1, with Linux 3.11.10-25-desktop' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-25-desktop-advanced-b27d182b-0c95-4b6c-8730-fdd7402b55cd' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod lvm
                insmod ext2
                set root='lvm/system-root'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='lvm/system-root'  b27d182b-0c95-4b6c-8730-fdd7402b55cd
                else
                  search --no-floppy --fs-uuid --set=root b27d182b-0c95-4b6c-8730-fdd7402b55cd
                fi
                echo    'Loading Linux 3.11.10-25-desktop ...'
                linux   /boot/vmlinuz-3.11.10-25-desktop root=/dev/mapper/system-root   resume=/dev/system/swap splash=silent quiet showopts
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd-3.11.10-25-desktop
        }
        menuentry 'openSUSE 13.1, with Linux 3.11.10-25-desktop (recovery mode)' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-25-desktop-recovery-b27d182b-0c95-4b6c-8730-fdd7402b55cd' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod lvm
                insmod ext2
                set root='lvm/system-root'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='lvm/system-root'  b27d182b-0c95-4b6c-8730-fdd7402b55cd
                else
                  search --no-floppy --fs-uuid --set=root b27d182b-0c95-4b6c-8730-fdd7402b55cd
                fi
                echo    'Loading Linux 3.11.10-25-desktop ...'
                linux   /boot/vmlinuz-3.11.10-25-desktop root=/dev/mapper/system-root  showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd-3.11.10-25-desktop
        }
        menuentry 'openSUSE 13.1, with Linux 3.11.6-4-desktop' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.6-4-desktop-advanced-b27d182b-0c95-4b6c-8730-fdd7402b55cd' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod lvm
                insmod ext2
                set root='lvm/system-root'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='lvm/system-root'  b27d182b-0c95-4b6c-8730-fdd7402b55cd
                else
                  search --no-floppy --fs-uuid --set=root b27d182b-0c95-4b6c-8730-fdd7402b55cd
                fi
                echo    'Loading Linux 3.11.6-4-desktop ...'
                linux   /boot/vmlinuz-3.11.6-4-desktop root=/dev/mapper/system-root   resume=/dev/system/swap splash=silent quiet showopts
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd-3.11.6-4-desktop
        }
        menuentry 'openSUSE 13.1, with Linux 3.11.6-4-desktop (recovery mode)' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.6-4-desktop-recovery-b27d182b-0c95-4b6c-8730-fdd7402b55cd' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod lvm
                insmod ext2
                set root='lvm/system-root'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='lvm/system-root'  b27d182b-0c95-4b6c-8730-fdd7402b55cd
                else
                  search --no-floppy --fs-uuid --set=root b27d182b-0c95-4b6c-8730-fdd7402b55cd
                fi
                echo    'Loading Linux 3.11.6-4-desktop ...'
                linux   /boot/vmlinuz-3.11.6-4-desktop root=/dev/mapper/system-root  showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd-3.11.6-4-desktop
        }
}

### 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/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### 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 ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
Zuletzt geändert von gehrke am Sa 21. Mär 2015, 10:54, insgesamt 3-mal geändert.
http://www.youtube.com/watch?v=PpUrMk3g_og (Angriff auf die Freiheit von Ilija Trojanow / Juli Zeh) - let’s encrypt
Benutzeravatar
gehrke
 
Beiträge: 118
Themen: 1
Registriert: Mo 23. Dez 2013, 21:53

Re: einfache Testinstallationen

Beitragvon gehrke » Sa 21. Mär 2015, 08:13

Hier die Werte für OpenSUSE 13.2 (64bit)

Code: Alles auswählen
opensuse-132:~ # cat /etc/SuSE-release
openSUSE 13.2 (x86_64)
VERSION = 13.2
CODENAME = Harlequin

Code: Alles auswählen
opensuse-132:~ # lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
fd0               2:0    1    4K  0 disk
sda               8:0    0   10G  0 disk
├─sda1            8:1    0  156M  0 part /boot/efi
└─sda2            8:2    0  9.9G  0 part
  ├─system-swap 254:0    0  512M  0 lvm  [SWAP]
  └─system-root 254:1    0  9.3G  0 lvm  /

Code: Alles auswählen
opensuse-132:~ # fdisk -l /dev/sda

Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 90576EC4-DAC1-4DA5-8B53-51182F34195F

Device      Start      End  Sectors  Size Type
/dev/sda1    2048   321535   319488  156M EFI System
/dev/sda2  321536 20969471 20647936  9.9G Linux LVM

Code: Alles auswählen
opensuse-132:~ # find /boot/efi -ls
     1   16 drwxrwxr-x   3 root     root        16384 Jan  1  1970 /boot/efi
     5    4 drwxrwxr-x   4 root     root         4096 Mar 21 03:08 /boot/efi/EFI
     8    4 drwxrwxr-x   2 root     root         4096 Mar 21 03:08 /boot/efi/EFI/boot
    11 1256 -rwxrwxr-x   1 root     root      1286112 Mar 21 03:08 /boot/efi/EFI/boot/bootx64.efi
    12   64 -rwxrwxr-x   1 root     root        62208 Mar 21 03:08 /boot/efi/EFI/boot/fallback.efi
    13    4 drwxrwxr-x   2 root     root         4096 Mar 21 03:08 /boot/efi/EFI/opensuse
    20 1256 -rwxrwxr-x   1 root     root      1286112 Mar 21 03:08 /boot/efi/EFI/opensuse/shim.efi
    21 1248 -rwxrwxr-x   1 root     root      1276328 Mar 21 03:08 /boot/efi/EFI/opensuse/MokManager.efi
    22  900 -rwxrwxr-x   1 root     root       918392 Mar 21 03:08 /boot/efi/EFI/opensuse/grub.efi
    23    4 -rwxrwxr-x   1 root     root           58 Mar 21 03:08 /boot/efi/EFI/opensuse/boot.csv
    24    4 -rwxrwxr-x   1 root     root          155 Mar 21 03:08 /boot/efi/EFI/opensuse/grub.cfg
    25  140 -rwxrwxr-x   1 root     root       142336 Mar 21 03:08 /boot/efi/EFI/opensuse/grubx64.efi
    26    4 -rwxrwxr-x   1 root     root         2825 Mar 21 09:52 /boot/efi/NvVars

Code: Alles auswählen
opensuse-132:~ # efibootmgr
BootCurrent: 0009
Timeout: 0 seconds
BootOrder: 0009,0000,0001,0002,0003,0004,0008,0005,0006,0007
Boot0000* EFI DVD/CDROM
Boot0001* EFI DVD/CDROM 1
Boot0002* EFI Floppy
Boot0003* EFI Floppy 1
Boot0004* EFI Hard Drive
Boot0005* EFI Network
Boot0006* EFI Network 1
Boot0007* EFI Network 2
Boot0008* EFI Internal Shell
Boot0009* opensuse-secureboot

Kernel (nach Update):
Code: Alles auswählen
opensuse-132:~ # uname -a
Linux opensuse-132 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a) x86_64 x86_64 x86_64 GNU/Linux

Bootloader:
Code: Alles auswählen
opensuse-132:~ # rpm -q grub2
grub2-2.02~beta2-20.5.1.x86_64

opensuse-132:~ # cat /boot/grub2/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  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="${saved_entry}"
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 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 lvm
insmod ext2
set root='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'  54ecb5ef-4050-44b2-ba0b-d0437f82da6f
else
  search --no-floppy --fs-uuid --set=root 54ecb5ef-4050-44b2-ba0b-d0437f82da6f
fi
    font="/usr/share/grub2/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
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'  54ecb5ef-4050-44b2-ba0b-d0437f82da6f
else
  search --no-floppy --fs-uuid --set=root 54ecb5ef-4050-44b2-ba0b-d0437f82da6f
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
  set timeout=0
elif [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=8
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=8
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-54ecb5ef-4050-44b2-ba0b-d0437f82da6f' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod lvm
        insmod ext2
        set root='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'  54ecb5ef-4050-44b2-ba0b-d0437f82da6f
        else
          search --no-floppy --fs-uuid --set=root 54ecb5ef-4050-44b2-ba0b-d0437f82da6f
        fi
        echo    'Loading Linux 3.16.7-7-desktop ...'
        linuxefi /boot/vmlinuz-3.16.7-7-desktop root=UUID=54ecb5ef-4050-44b2-ba0b-d0437f82da6f ro   resume=/dev/system/swap splash=silent quiet showopts
        echo    'Loading initial ramdisk ...'
        initrdefi /boot/initrd-3.16.7-7-desktop
}
submenu 'Advanced options for openSUSE' $menuentry_id_option 'gnulinux-advanced-54ecb5ef-4050-44b2-ba0b-d0437f82da6f' {
        menuentry 'openSUSE, with Linux 3.16.7-7-desktop' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.7-7-desktop-advanced-54ecb5ef-4050-44b2-ba0b-d0437f82da6f' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod lvm
                insmod ext2
                set root='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'  54ecb5ef-4050-44b2-ba0b-d0437f82da6f
                else
                  search --no-floppy --fs-uuid --set=root 54ecb5ef-4050-44b2-ba0b-d0437f82da6f
                fi
                echo    'Loading Linux 3.16.7-7-desktop ...'
                linuxefi /boot/vmlinuz-3.16.7-7-desktop root=UUID=54ecb5ef-4050-44b2-ba0b-d0437f82da6f ro   resume=/dev/system/swap splash=silent quiet showopts
                echo    'Loading initial ramdisk ...'
                initrdefi /boot/initrd-3.16.7-7-desktop
        }
        menuentry 'openSUSE, with Linux 3.16.7-7-desktop (recovery mode)' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.7-7-desktop-recovery-54ecb5ef-4050-44b2-ba0b-d0437f82da6f' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod lvm
                insmod ext2
                set root='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'  54ecb5ef-4050-44b2-ba0b-d0437f82da6f
                else
                  search --no-floppy --fs-uuid --set=root 54ecb5ef-4050-44b2-ba0b-d0437f82da6f
                fi
                echo    'Loading Linux 3.16.7-7-desktop ...'
                linuxefi /boot/vmlinuz-3.16.7-7-desktop root=UUID=54ecb5ef-4050-44b2-ba0b-d0437f82da6f ro  showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
                echo    'Loading initial ramdisk ...'
                initrdefi /boot/initrd-3.16.7-7-desktop
        }
        menuentry 'openSUSE, with Linux 3.16.6-2-desktop' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.6-2-desktop-advanced-54ecb5ef-4050-44b2-ba0b-d0437f82da6f' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod lvm
                insmod ext2
                set root='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'  54ecb5ef-4050-44b2-ba0b-d0437f82da6f
                else
                  search --no-floppy --fs-uuid --set=root 54ecb5ef-4050-44b2-ba0b-d0437f82da6f
                fi
                echo    'Loading Linux 3.16.6-2-desktop ...'
                linuxefi /boot/vmlinuz-3.16.6-2-desktop root=UUID=54ecb5ef-4050-44b2-ba0b-d0437f82da6f ro   resume=/dev/system/swap splash=silent quiet showopts
                echo    'Loading initial ramdisk ...'
                initrdefi /boot/initrd-3.16.6-2-desktop
        }
        menuentry 'openSUSE, with Linux 3.16.6-2-desktop (recovery mode)' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.6-2-desktop-recovery-54ecb5ef-4050-44b2-ba0b-d0437f82da6f' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod lvm
                insmod ext2
                set root='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='lvmid/RWUNca-F8jb-zTjg-APgP-9Pe4-mmly-ArYRHn/gHVoZy-dNaR-NXmM-F0sG-fuN7-7q82-4h1qpq'  54ecb5ef-4050-44b2-ba0b-d0437f82da6f
                else
                  search --no-floppy --fs-uuid --set=root 54ecb5ef-4050-44b2-ba0b-d0437f82da6f
                fi
                echo    'Loading Linux 3.16.6-2-desktop ...'
                linuxefi /boot/vmlinuz-3.16.6-2-desktop root=UUID=54ecb5ef-4050-44b2-ba0b-d0437f82da6f ro  showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
                echo    'Loading initial ramdisk ...'
                initrdefi /boot/initrd-3.16.6-2-desktop
        }
}

### 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/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 ###

### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ###
### END /etc/grub.d/80_suse_btrfs_snapshot ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
Zuletzt geändert von gehrke am Sa 21. Mär 2015, 10:49, insgesamt 2-mal geändert.
http://www.youtube.com/watch?v=PpUrMk3g_og (Angriff auf die Freiheit von Ilija Trojanow / Juli Zeh) - let’s encrypt
Benutzeravatar
gehrke
 
Beiträge: 118
Themen: 1
Registriert: Mo 23. Dez 2013, 21:53

Re: einfache Testinstallationen

Beitragvon gehrke » Sa 21. Mär 2015, 08:35

Hier die Werte für debian 7.8 (64bit)

Code: Alles auswählen
root@debian-7:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian

root@debian-7:~# cat /etc/debian_version
7.8

Code: Alles auswählen
root@debian-7:~# lsblk
NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sr0                        11:0    1   632M  0 rom 
sda                         8:0    0    10G  0 disk
├─sda1                      8:1    0   487M  0 part /boot/efi
├─sda2                      8:2    0   244M  0 part /boot
└─sda3                      8:3    0   9,3G  0 part
  ├─debian--7-root (dm-0) 254:0    0   8,8G  0 lvm  /
  └─debian--7-swap (dm-1) 254:1    0   480M  0 lvm  [SWAP]

Code: Alles auswählen
root@debian-7:~# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 20971520 sectors, 10.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 4A6E75E4-5395-4722-91D4-8A10A0660FF8
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 20971486
Partitions will be aligned on 2048-sector boundaries
Total free space is 4029 sectors (2.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          999423   487.0 MiB   EF00 
   2          999424         1499135   244.0 MiB   0700 
   3         1499136        20969471   9.3 GiB     8E00


Code: Alles auswählen
root@debian-7:~# find /boot/efi -ls
     1    4 drwxr-xr-x   3 root     root         4096 Jan  1  1970 /boot/efi
   110    4 drwxr-xr-x   3 root     root         4096 Mär 21 01:03 /boot/efi/EFI
   113    4 drwxr-xr-x   2 root     root         4096 Mär 21 01:03 /boot/efi/EFI/debian
   115  116 -rwxr-xr-x   1 root     root       117760 Mär 21 01:03 /boot/efi/EFI/debian/grubx64.efi
   111    4 -rwxr-xr-x   1 root     root         2807 Mär 21 07:17 /boot/efi/NvVars

Code: Alles auswählen
root@debian-7:~# efibootmgr
BootCurrent: 0009
Timeout: 0 seconds
BootOrder: 0009,0000,0001,0002,0003,0004,0008,0005,0006,0007
Boot0000* EFI DVD/CDROM
Boot0001* EFI DVD/CDROM 1
Boot0002* EFI Floppy
Boot0003* EFI Floppy 1
Boot0004* EFI Hard Drive
Boot0005* EFI Network
Boot0006* EFI Network 1
Boot0007* EFI Network 2
Boot0008* EFI Internal Shell
Boot0009* debian

Kernel (nach Update):
Code: Alles auswählen
root@debian-7:~# uname -a
Linux debian-7 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux

Bootloader:
Code: Alles auswählen
root@debian-7:~# apt-cache show grub2
Package: grub2
Version: 1.99-27+deb7u2
Installed-Size: 32

root@debian-7:~# 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
  load_env
fi
set default="0"
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 load_video {
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
}

insmod lvm
insmod part_gpt
insmod ext2
set root='(debian-7-root)'
search --no-floppy --fs-uuid --set=root 46ec6288-a564-4efc-bbca-3ac536a4f9f8
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt2)'
  search --no-floppy --fs-uuid --set=root db39608b-a80c-458f-979c-6868cbf274ae
  set locale_dir=($root)/grub/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod part_gpt
insmod ext2
set root='(debian-7-root)'
search --no-floppy --fs-uuid --set=root 46ec6288-a564-4efc-bbca-3ac536a4f9f8
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, mit Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os {
        load_video
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt2)'
        search --no-floppy --fs-uuid --set=root db39608b-a80c-458f-979c-6868cbf274ae
        echo    'Linux 3.2.0-4-amd64 wird geladen …'
        linux   /vmlinuz-3.2.0-4-amd64 root=/dev/mapper/debian--7-root ro  quiet
        echo    'Initiale Ramdisk wird geladen …'
        initrd  /initrd.img-3.2.0-4-amd64
}
menuentry 'Debian GNU/Linux, mit Linux 3.2.0-4-amd64 (Wiederherstellungsmodus)' --class debian --class gnu-linux --class gnu --class os {
        load_video
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt2)'
        search --no-floppy --fs-uuid --set=root db39608b-a80c-458f-979c-6868cbf274ae
        echo    'Linux 3.2.0-4-amd64 wird geladen …'
        linux   /vmlinuz-3.2.0-4-amd64 root=/dev/mapper/debian--7-root ro single
        echo    'Initiale Ramdisk wird geladen …'
        initrd  /initrd.img-3.2.0-4-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### 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  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Zuletzt geändert von gehrke am Mi 25. Mär 2015, 21:41, insgesamt 2-mal geändert.
http://www.youtube.com/watch?v=PpUrMk3g_og (Angriff auf die Freiheit von Ilija Trojanow / Juli Zeh) - let’s encrypt
Benutzeravatar
gehrke
 
Beiträge: 118
Themen: 1
Registriert: Mo 23. Dez 2013, 21:53

Re: einfache Testinstallationen

Beitragvon gehrke » Sa 21. Mär 2015, 10:01

gehrke hat geschrieben:Ich bin mir noch nicht sicher, was wir jetzt alles brauchen an Informationen und wie es strukturiert werden soll.
Hierzu hatten wir uns schon mal anfänglich Gedanken gemacht:
http://forum.linux-club.de/viewtopic.ph ... 78#p762397
Allerdings ging es da um einen etwas anderen Kontext. Dort wollten wir von den Usern mit Boot-Problemen abfragen, was bei denen läuft. Hier wissen wir es, weil wir das Setup selbst aufgebaut haben und wir die Systeme virtualisieren.

Möglicherweise ist es aber trotzdem sinnvoll, von der dort erarbeiteten Liste noch den einen oder anderen Punkt hier zu erfassen?
Derzeit nicht erfasst:
Code: Alles auswählen
hwinfo --bios
hwinfo --disk
cat /etc/fstab
dmidecode -t 2
dd if=/dev/sda bs=512 count=1 | hexdump -C
Sinnvoll? Ergänzungen???
http://www.youtube.com/watch?v=PpUrMk3g_og (Angriff auf die Freiheit von Ilija Trojanow / Juli Zeh) - let’s encrypt
Benutzeravatar
gehrke
 
Beiträge: 118
Themen: 1
Registriert: Mo 23. Dez 2013, 21:53

Re: einfache Testinstallationen

Beitragvon gehrke » Mo 23. Mär 2015, 21:22

Hier die Werte für CentOS 7 (64bit)

Code: Alles auswählen
[root@centos7 ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"

Code: Alles auswählen
[root@centos7 ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
fd0               2:0    1    4K  0 disk
sda               8:0    0   10G  0 disk
├─sda1            8:1    0  200M  0 part /boot/efi
├─sda2            8:2    0  500M  0 part /boot
└─sda3            8:3    0  9.3G  0 part
  ├─centos-swap 253:0    0    1G  0 lvm  [SWAP]
  └─centos-root 253:1    0  8.3G  0 lvm  /

Code: Alles auswählen
[root@centos7 ~]# fdisk -l /dev/sda
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 10.7 GB, 10737418240 bytes, 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt


#         Start          End    Size  Type            Name
 1         2048       411647    200M  EFI System      EFI System Partition
 2       411648      1435647    500M  Microsoft basic
 3      1435648     20969471    9.3G  Linux LVM

Code: Alles auswählen
[root@centos7 ~]# find /boot/efi -ls
     1   16 drwx------   3 root     root        16384 Jan  1  1970 /boot/efi
   115    4 drwx------   4 root     root         4096 Mar 21 15:20 /boot/efi/EFI
   118    4 drwx------   3 root     root         4096 Mar 21 15:34 /boot/efi/EFI/centos
   127    4 drwx------   2 root     root         4096 Mar 21 15:20 /boot/efi/EFI/centos/fonts
   129 2504 -rwx------   1 root     root      2560080 Jun 30  2014 /boot/efi/EFI/centos/fonts/unicode.pf2
   130    8 -rwx------   1 root     root         4166 Mar 21 15:34 /boot/efi/EFI/centos/grub.cfg
   131  936 -rwx------   1 root     root       954752 Jun 30  2014 /boot/efi/EFI/centos/gcdx64.efi
   132  936 -rwx------   1 root     root       954752 Jun 30  2014 /boot/efi/EFI/centos/grubx64.efi
   133    4 -rwx------   1 root     root          128 Jul  2  2014 /boot/efi/EFI/centos/BOOT.CSV
   134 1240 -rwx------   1 root     root      1268168 Jul  2  2014 /boot/efi/EFI/centos/MokManager.efi
   135 1344 -rwx------   1 root     root      1376112 Jul  2  2014 /boot/efi/EFI/centos/shim-redhat.efi
   136 1356 -rwx------   1 root     root      1384792 Jul  2  2014 /boot/efi/EFI/centos/shim.efi
   137    4 drwx------   2 root     root         4096 Mar 21 15:20 /boot/efi/EFI/BOOT
   140 1356 -rwx------   1 root     root      1384792 Jul  2  2014 /boot/efi/EFI/BOOT/BOOTX64.EFI
   141   64 -rwx------   1 root     root        64776 Jul  2  2014 /boot/efi/EFI/BOOT/fallback.efi
   142    4 -rwx------   1 root     root         2909 Mar 23 18:09 /boot/efi/NvVars

Code: Alles auswählen
[root@centos7 ~]# efibootmgr
BootCurrent: 0009
Timeout: 0 seconds
BootOrder: 0009,0000,0001,0002,0003,0004,0008,0005,0006,0007
Boot0000* EFI DVD/CDROM
Boot0001* EFI DVD/CDROM 1
Boot0002* EFI Floppy
Boot0003* EFI Floppy 1
Boot0004* EFI Hard Drive
Boot0005* EFI Network
Boot0006* EFI Network 1
Boot0007* EFI Network 2
Boot0008* EFI Internal Shell
Boot0009* CentOS

Kernel (nach Update):
Code: Alles auswählen
[root@centos7 ~]# uname -a
Linux centos7.localdomain 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Bootloader:
Code: Alles auswählen
[root@centos7 ~]# yum info grub2
Name        : grub2
Arch        : x86_64
Epoch       : 1
Version     : 2.02
Release     : 0.2.10.el7.centos.1
Size        : 1.5 M
Repo        : base/7/x86_64

[root@centos7 ~]# cat /boot/efi/EFI/centos/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
  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="${saved_entry}"
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 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
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'CentOS Linux (3.10.0-123.20.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-123.el7.x86_64-advanced-a75e8c0e-9f67-4e59-9677-4794677d0228' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod xfs
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  ecf52058-6385-4ec1-8d92-6c568002e0f7
        else
          search --no-floppy --fs-uuid --set=root ecf52058-6385-4ec1-8d92-6c568002e0f7
        fi
        linuxefi /vmlinuz-3.10.0-123.20.1.el7.x86_64 root=/dev/mapper/centos-root ro rd.lvm.lv=centos/swap crashkernel=auto  rd.lvm.lv=centos/root vconsole.font=latarcyrheb-sun16 vconsole.keymap=de rhgb quiet LANG=de_DE.UTF-8
        initrdefi /initramfs-3.10.0-123.20.1.el7.x86_64.img
}
menuentry 'CentOS Linux, with Linux 3.10.0-123.el7.x86_64' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-123.el7.x86_64-advanced-a75e8c0e-9f67-4e59-9677-4794677d0228' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod xfs
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  ecf52058-6385-4ec1-8d92-6c568002e0f7
        else
          search --no-floppy --fs-uuid --set=root ecf52058-6385-4ec1-8d92-6c568002e0f7
        fi
        linuxefi /vmlinuz-3.10.0-123.el7.x86_64 root=UUID=a75e8c0e-9f67-4e59-9677-4794677d0228 ro rd.lvm.lv=centos/swap crashkernel=auto  rd.lvm.lv=centos/root vconsole.font=latarcyrheb-sun16 vconsole.keymap=de rhgb quiet LANG=de_DE.UTF-8
        initrdefi /initramfs-3.10.0-123.el7.x86_64.img
}
menuentry 'CentOS Linux, with Linux 0-rescue-e781d4878d434d0c89f3b6c399168aff' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-e781d4878d434d0c89f3b6c399168aff-advanced-a75e8c0e-9f67-4e59-9677-4794677d0228' {
        load_video
        insmod gzio
        insmod part_gpt
        insmod xfs
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  ecf52058-6385-4ec1-8d92-6c568002e0f7
        else
          search --no-floppy --fs-uuid --set=root ecf52058-6385-4ec1-8d92-6c568002e0f7
        fi
        linuxefi /vmlinuz-0-rescue-e781d4878d434d0c89f3b6c399168aff root=UUID=a75e8c0e-9f67-4e59-9677-4794677d0228 ro rd.lvm.lv=centos/swap crashkernel=auto  rd.lvm.lv=centos/root vconsole.font=latarcyrheb-sun16 vconsole.keymap=de rhgb quiet
        initrdefi /initramfs-0-rescue-e781d4878d434d0c89f3b6c399168aff.img
}
if [ "x$default" = 'CentOS Linux, with Linux 3.10.0-123.el7.x86_64' ]; then default='Advanced options for CentOS Linux>CentOS Linux, with Linux 3.10.0-123.el7.x86_64'; fi;
### 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_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### 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 ###
http://www.youtube.com/watch?v=PpUrMk3g_og (Angriff auf die Freiheit von Ilija Trojanow / Juli Zeh) - let’s encrypt
Benutzeravatar
gehrke
 
Beiträge: 118
Themen: 1
Registriert: Mo 23. Dez 2013, 21:53

Re: einfache Testinstallationen

Beitragvon linuxfreund » Mi 25. Mär 2015, 00:22

Habe Kubuntu14.10 (64Bit) virtualisiert und poste mal die gleichen Angaben wie gehrke:

Code: Alles auswählen
# cat /etc/os-release
NAME="Ubuntu"                                                                                                                                                                       
VERSION="14.10 (Utopic Unicorn)"                                                                                                                                                   
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.10"
VERSION_ID="14.10"


Code: Alles auswählen
# uname -a
Linux thomas-desktop 3.16.0-33-generic #44-Ubuntu SMP Thu Mar 12 12:19:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Code: Alles auswählen
# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sr0     11:0    1  1,1G  0 rom  /media/thomas/Kubuntu 14.10 amd64
sr1     11:1    1 1024M  0 rom 
vda    253:0    0   15G  0 disk
├─vda1 253:1    0  512M  0 part /boot/efi
├─vda2 253:2    0 10,6G  0 part /
└─vda3 253:3    0  3,9G  0 part [SWAP]


Code: Alles auswählen
# sudo fdisk -l /dev/vda
Disk /dev/vda: 15 GiB, 16106127360 bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 445670D9-E012-499B-B436-FFD0934C7E3E

Device        Start      End  Sectors  Size Type
/dev/vda1      2048  1050623  1048576  512M Linux filesystem
/dev/vda2   1050624 23273471 22222848 10,6G Linux filesystem
/dev/vda3  23273472 31455231  8181760  3,9G Linux swap


Code: Alles auswählen
# sudo find /boot/efi -ls
     1    4 drwxr-xr-x   3 root     root         4096 Jan  1  1970 /boot/efi
     5    4 drwxr-xr-x   3 root     root         4096 Mär 24 14:23 /boot/efi/EFI
     7    4 drwxr-xr-x   2 root     root         4096 Mär 24 14:24 /boot/efi/EFI/ubuntu
    12 1248 -rwxr-xr-x   1 root     root      1276984 Mär 24 14:24 /boot/efi/EFI/ubuntu/shimx64.efi
    13  936 -rwxr-xr-x   1 root     root       957816 Mär 24 14:24 /boot/efi/EFI/ubuntu/grubx64.efi
    14 1236 -rwxr-xr-x   1 root     root      1264848 Mär 24 14:24 /boot/efi/EFI/ubuntu/MokManager.efi
    15    4 -rwxr-xr-x   1 root     root          126 Mär 24 14:24 /boot/efi/EFI/ubuntu/grub.cfg
    16    4 -rwxr-xr-x   1 root     root         3006 Mär 24 22:33 /boot/efi/NvVars


Code: Alles auswählen
# efibootmgr
BootCurrent: 0008
Timeout: 0 seconds
BootOrder: 0008,0000,0001,0002,0003,0007,0005,0006,0004
Boot0000* EFI DVD/CDROM
Boot0001* EFI DVD/CDROM 1
Boot0002* EFI Floppy
Boot0003* EFI Floppy 1
Boot0004* EFI Misc Device
Boot0005* EFI Network
Boot0006* EFI Network 1
Boot0007* EFI Internal Shell
Boot0008* ubuntu


Code: Alles auswählen
# apt-cache show grub2
Package: grub2
Priority: extra
Section: universe/admin
Installed-Size: 32
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>
Architecture: amd64
Version: 2.02~beta2-15
Depends: grub-pc (= 2.02~beta2-15), grub-common (= 2.02~beta2-15)
Filename: pool/universe/g/grub2/grub2_2.02~beta2-15_amd64.deb
Size: 2608


Code: Alles auswählen
# 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,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  43f57526-c6e1-45e4-9b11-2e17c05ab109
else
  search --no-floppy --fs-uuid --set=root 43f57526-c6e1-45e4-9b11-2e17c05ab109
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=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  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
#set_background_image "images/tile.png";

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,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-43f57526-c6e1-45e4-9b11-2e17c05ab109' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  43f57526-c6e1-45e4-9b11-2e17c05ab109
        else
          search --no-floppy --fs-uuid --set=root 43f57526-c6e1-45e4-9b11-2e17c05ab109
        fi
        linux   /boot/vmlinuz-3.16.0-33-generic.efi.signed root=UUID=43f57526-c6e1-45e4-9b11-2e17c05ab109 ro  quiet splash $vt_handoff
        initrd  /boot/initrd.img-3.16.0-33-generic
}
submenu 'Erweiterte Optionen für Ubuntu' $menuentry_id_option 'gnulinux-advanced-43f57526-c6e1-45e4-9b11-2e17c05ab109' {
        menuentry 'Ubuntu, mit Linux 3.16.0-33-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-33-generic-advanced-43f57526-c6e1-45e4-9b11-2e17c05ab109' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  43f57526-c6e1-45e4-9b11-2e17c05ab109
                else
                  search --no-floppy --fs-uuid --set=root 43f57526-c6e1-45e4-9b11-2e17c05ab109
                fi
                echo    'Linux 3.16.0-33-generic wird geladen …'
                linux   /boot/vmlinuz-3.16.0-33-generic.efi.signed root=UUID=43f57526-c6e1-45e4-9b11-2e17c05ab109 ro  quiet splash $vt_handoff
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /boot/initrd.img-3.16.0-33-generic
        }
        menuentry 'Ubuntu, with Linux 3.16.0-33-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-33-generic-recovery-43f57526-c6e1-45e4-9b11-2e17c05ab109' {
                recordfail
                load_video
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  43f57526-c6e1-45e4-9b11-2e17c05ab109
                else
                  search --no-floppy --fs-uuid --set=root 43f57526-c6e1-45e4-9b11-2e17c05ab109
                fi
                echo    'Linux 3.16.0-33-generic wird geladen …'
                linux   /boot/vmlinuz-3.16.0-33-generic.efi.signed root=UUID=43f57526-c6e1-45e4-9b11-2e17c05ab109 ro recovery nomodeset
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /boot/initrd.img-3.16.0-33-generic
        }
        menuentry 'Ubuntu, mit Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-43f57526-c6e1-45e4-9b11-2e17c05ab109' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  43f57526-c6e1-45e4-9b11-2e17c05ab109
                else
                  search --no-floppy --fs-uuid --set=root 43f57526-c6e1-45e4-9b11-2e17c05ab109
                fi
                echo    'Linux 3.16.0-23-generic wird geladen …'
                linux   /boot/vmlinuz-3.16.0-23-generic root=UUID=43f57526-c6e1-45e4-9b11-2e17c05ab109 ro  quiet splash $vt_handoff
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /boot/initrd.img-3.16.0-23-generic
        }
        menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-43f57526-c6e1-45e4-9b11-2e17c05ab109' {
                recordfail
                load_video
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  43f57526-c6e1-45e4-9b11-2e17c05ab109
                else
                  search --no-floppy --fs-uuid --set=root 43f57526-c6e1-45e4-9b11-2e17c05ab109
                fi
                echo    'Linux 3.16.0-23-generic wird geladen …'
                linux   /boot/vmlinuz-3.16.0-23-generic root=UUID=43f57526-c6e1-45e4-9b11-2e17c05ab109 ro recovery nomodeset
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /boot/initrd.img-3.16.0-23-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 ###

HP Pavilion: Intel Quad-Core i5-4440 3.10 GHz, NVIDIA Geforce 640 GT, 12 GB RAM, 1TB HDD
Sony Vaio SVF-15N2L2ES: Intel Core i5 1.60 GHz, 508 GB HDD, 4 GB DDR3-RAM, Intel HD Graphics 4400
Beide openSUSE13.1(Desktop), openSUSE13.2(Laptop) + Windows8.1

Benutzeravatar
linuxfreund
 
Beiträge: 62
Registriert: Mo 9. Mär 2015, 21:25

Re: einfache Testinstallationen

Beitragvon gehrke » Mi 25. Mär 2015, 07:33

linuxfreund hat geschrieben:Habe Kubuntu14.10 (64Bit) virtualisiert

Super.
linuxfreund hat geschrieben:
Code: Alles auswählen
# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
vda    253:0    0   15G  0 disk
├─vda1 253:1    0  512M  0 part /boot/efi

# sudo fdisk -l /dev/vda
Device        Start      End  Sectors  Size Type
/dev/vda1      2048  1050623  1048576  512M Linux filesystem

Das sieht mir komisch aus. Als Typ hätte ich hier eher so was wie 'ef EFI' erwartet (wie bei SUSE und CentOS) oder vielleicht '0b W95 FAT32'. Aber das war ja bei Debian als Mutter-Distribution auch schon anders ('ee GPT').

EDIT 1:
Habe das mal im debian-forum hinterfragt (https://debianforum.de/forum/viewtopic. ... 3&t=154578). Demnach sollte besser gdisk verwendet werden, weil fdisk GPT (noch) nicht unterstützt. Werde ich dann für meine Installationen ausprobieren und gegebenenfalls ersetzen.

EDIT 2: Mit gdisk gibt es das erwartete Ergebnis 'EF00'. Ich habe obigen Eintrag für debian geändert.
Zuletzt geändert von gehrke am Mi 25. Mär 2015, 21:46, insgesamt 1-mal geändert.
http://www.youtube.com/watch?v=PpUrMk3g_og (Angriff auf die Freiheit von Ilija Trojanow / Juli Zeh) - let’s encrypt
Benutzeravatar
gehrke
 
Beiträge: 118
Themen: 1
Registriert: Mo 23. Dez 2013, 21:53

Re: einfache Testinstallationen

Beitragvon linuxfreund » Mi 25. Mär 2015, 19:16

Habe jetzt noch Manjaro0.8.12 XFCE (64bit) virtualisiert, hier die Ausgaben:
Code: Alles auswählen
# cat /etc/os-release
NAME="Manjaro Linux"
ID=manjaro
PRETTY_NAME="Manjaro Linux"


Code: Alles auswählen
# uname -a
Linux manjaro 3.16.7.4-1-MANJARO #1 SMP PREEMPT Fri Jan 16 18:43:35 UTC 2015 x86_64 GNU/Linux


Code: Alles auswählen
# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
fd0      2:0    1    4K  0 disk
sr0     11:0    1  1,4G  0 rom 
sr1     11:1    1 1024M  0 rom 
vda    254:0    0   15G  0 disk
├─vda1 254:1    0    2M  0 part
├─vda2 254:2    0  100M  0 part /boot/efi
├─vda3 254:3    0  256M  0 part /boot
├─vda4 254:4    0  6,4G  0 part /
├─vda5 254:5    0  6,8G  0 part /home
└─vda6 254:6    0  1,5G  0 part [SWAP]


Code: Alles auswählen
# fdisk -l /dev/vda

Festplatte /dev/vda: 15 GiB, 16106127360 Bytes, 31457280 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 88204AA2-3817-4441-8736-6004058716BA

Device        Start      End  Sectors  Size Type
/dev/vda1      2048     6143     4096    2M BIOS boot
/dev/vda2      6144   210943   204800  100M EFI System
/dev/vda3    210944   735231   524288  256M Linux filesystem
/dev/vda4    735232 14047231 13312000  6,4G Linux filesystem
/dev/vda5  14047232 28309503 14262272  6,8G Linux filesystem
/dev/vda6  28309504 31455231  3145728  1,5G Linux swap


Code: Alles auswählen
# find /boot/efi -ls
     1    1 drwxr-xr-x   3 root     root          512 Jan  1  1970 /boot/efi
     5    1 drwxr-xr-x   5 root     root          512 Mär 25 18:37 /boot/efi/EFI
     9    1 drwxr-xr-x   2 root     root          512 Mär 25 18:37 /boot/efi/EFI/manjaro
    11  118 -rwxr-xr-x   1 root     root       120320 Mär 25 18:37 /boot/efi/EFI/manjaro/grubx64.efi
    12    1 drwxr-xr-x   2 root     root          512 Mär 25 18:37 /boot/efi/EFI/BOOT
    14  118 -rwxr-xr-x   1 root     root       120320 Mär 25 18:37 /boot/efi/EFI/BOOT/BOOTX64.efi
    15    1 drwxr-xr-x   3 root     root          512 Mär 25 18:37 /boot/efi/EFI/Microsoft
    17    1 drwxr-xr-x   2 root     root          512 Mär 25 18:37 /boot/efi/EFI/Microsoft/Boot
    19  118 -rwxr-xr-x   1 root     root       120320 Mär 25 18:37 /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    20    3 -rwxr-xr-x   1 root     root         2646 Mär 25 18:48 /boot/efi/NvVars


Code: Alles auswählen
# efibootmgr
BootCurrent: 0008
Timeout: 0 seconds
BootOrder: 0008,0000,0001,0002,0003,0004,0005,0006,0007
Boot0000* EFI DVD/CDROM
Boot0001* EFI DVD/CDROM 1
Boot0002* EFI Floppy
Boot0003* EFI Floppy 1
Boot0004* EFI Misc Device
Boot0005* EFI Network
Boot0006* EFI Network 1
Boot0007* EFI Internal Shell
Boot0008* manjaro


Code: Alles auswählen
# pacman -Si grub
Repositorium         : core
Name                 : grub
Version              : 2.02.beta2-9
Beschreibung         : GNU GRand Unified Bootloader (2)
Architektur          : x86_64
URL                  : https://www.gnu.org/software/grub/
Lizenzen             : GPL3
Gruppen              : Nichts
Stellt bereit        : grub-common  grub-bios  grub-efi-x86_64


Code: Alles auswählen
# 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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  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="${saved_entry}"
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 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
}

set menu_color_normal=light-gray/black
set menu_color_highlight=green/black

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  e97ceab6-6017-4496-bf74-3ee961cfe6ce
else
  search --no-floppy --fs-uuid --set=root e97ceab6-6017-4496-bf74-3ee961cfe6ce
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=de_DE
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  e97ceab6-6017-4496-bf74-3ee961cfe6ce
else
  search --no-floppy --fs-uuid --set=root e97ceab6-6017-4496-bf74-3ee961cfe6ce
fi
insmod png
background_image -m stretch /usr/share/grub/background.png
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e97ceab6-6017-4496-bf74-3ee961cfe6ce' {
   savedefault
   load_video
   set gfxpayload=keep
   insmod gzio
   insmod part_gpt
   insmod ext2
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  2243e6e0-7955-4bff-83ec-7ff5c6af3845
   else
     search --no-floppy --fs-uuid --set=root 2243e6e0-7955-4bff-83ec-7ff5c6af3845
   fi
   echo   'Loading Linux 3.16.7.4-1-MANJARO x64 ...'
   linux   /vmlinuz-316-x86_64 root=UUID=e97ceab6-6017-4496-bf74-3ee961cfe6ce rw  resume=UUID=23990ee1-85c3-4371-a85a-ef4be41e4977 quiet splash
   echo   'Loading initial ramdisk ...'
   initrd   /intel-ucode.img /initramfs-316-x86_64.img
}
submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-e97ceab6-6017-4496-bf74-3ee961cfe6ce' {
   menuentry 'Manjaro Linux (Kernel: 3.16.7.4-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.7.4-1-MANJARO x64-advanced-e97ceab6-6017-4496-bf74-3ee961cfe6ce' {
   savedefault
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod ext2
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root  2243e6e0-7955-4bff-83ec-7ff5c6af3845
      else
        search --no-floppy --fs-uuid --set=root 2243e6e0-7955-4bff-83ec-7ff5c6af3845
      fi
      echo   'Loading Linux 3.16.7.4-1-MANJARO x64 ...'
      linux   /vmlinuz-316-x86_64 root=UUID=e97ceab6-6017-4496-bf74-3ee961cfe6ce rw  resume=UUID=23990ee1-85c3-4371-a85a-ef4be41e4977 quiet splash
      echo   'Loading initial ramdisk ...'
      initrd   /intel-ucode.img /initramfs-316-x86_64.img
   }
   menuentry 'Manjaro Linux (Kernel: 3.16.7.4-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.7.4-1-MANJARO x64-fallback-e97ceab6-6017-4496-bf74-3ee961cfe6ce' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod ext2
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root  2243e6e0-7955-4bff-83ec-7ff5c6af3845
      else
        search --no-floppy --fs-uuid --set=root 2243e6e0-7955-4bff-83ec-7ff5c6af3845
      fi
      echo   'Loading Linux 3.16.7.4-1-MANJARO x64 ...'
      linux   /vmlinuz-316-x86_64 root=UUID=e97ceab6-6017-4496-bf74-3ee961cfe6ce rw  resume=UUID=23990ee1-85c3-4371-a85a-ef4be41e4977 quiet splash
      echo   'Loading initial ramdisk ...'
      initrd   /intel-ucode.img /initramfs-316-x86_64-fallback.img
   }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### 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 ###

### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
        search --fs-uuid --no-floppy --set=root  2243e6e0-7955-4bff-83ec-7ff5c6af3845
        linux16 /memtest86+/memtest.bin
    }
fi
### END /etc/grub.d/60_memtest86+ ###

HP Pavilion: Intel Quad-Core i5-4440 3.10 GHz, NVIDIA Geforce 640 GT, 12 GB RAM, 1TB HDD
Sony Vaio SVF-15N2L2ES: Intel Core i5 1.60 GHz, 508 GB HDD, 4 GB DDR3-RAM, Intel HD Graphics 4400
Beide openSUSE13.1(Desktop), openSUSE13.2(Laptop) + Windows8.1

Benutzeravatar
linuxfreund
 
Beiträge: 62
Registriert: Mo 9. Mär 2015, 21:25

Re: einfache Testinstallationen

Beitragvon linuxfreund » So 29. Mär 2015, 02:01

Habe jetzt auch noch ROSA Desktop Fresh R5 / KDE (64Bit) mit -bios /usr/share/qemu/ovmf-x86_64-ms.bin installiert.
Hat einwandfrei funktioniert.
Code: Alles auswählen
# cat /etc/os-release
NAME="ROSA Desktop Fresh R5"
VERSION="EE 2014.1 Desktop"
ID=rosa
VERSION_ID=2014.1
PRETTY_NAME="ROSA Desktop Fresh R5 EE 2014.1 Desktop"


Code: Alles auswählen
# uname -a
Linux rosa 3.14.25-nrj-desktop-1rosa #1 SMP PREEMPT Mon Nov 24 11:14:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


Code: Alles auswählen
# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sr0     11:0    1  1,7G  0 rom 
sr1     11:1    1 1024M  0 rom 
vda    251:0    0   15G  0 disk
├─vda1 251:1    0 1023M  0 part /boot/efi
├─vda2 251:2    0  7,3G  0 part /
├─vda3 251:3    0  844M  0 part [SWAP]
└─vda4 251:4    0  5,9G  0 part /home


Code: Alles auswählen
# fdisk -l /dev/vda

Disk /dev/vda: 15 GiB, 16106127360 bytes, 31457280 sectors
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: CF17ACE3-971D-4578-880F-0977FDD021E0

Gerät           Anfang         Ende Größe Typ
/dev/vda1         2048      2097151  1023M EFI System
/dev/vda2      2097152     17379327   7,3G Linux filesystem
/dev/vda3     17379328     19107839   844M Microsoft basic data
/dev/vda4     19107840     31457246   5,9G Linux filesystem


Code: Alles auswählen
# find /boot/efi -ls
     1    4 drwxr-xr-x   3 root     root         4096 Jan  1  1970 /boot/efi
   115    4 drwxr-xr-x   3 root     root         4096 Dez 23 18:31 /boot/efi/EFI
   117    4 drwxr-xr-x   3 root     root         4096 Mär 29 01:31 /boot/efi/EFI/rosa
   123 1248 -rwxr-xr-x   1 root     root      1274904 Dez 20 13:02 /boot/efi/EFI/rosa/MokManager.efi
   124    4 drwxr-xr-x   2 root     root         4096 Dez 23 18:32 /boot/efi/EFI/rosa/grub2-efi
   127  880 -rwxr-xr-x   1 root     root       897424 Dez 22 15:41 /boot/efi/EFI/rosa/grub2-efi/grub.efi
   128  892 -rwxr-xr-x   1 root     root       910736 Dez 22 15:41 /boot/efi/EFI/rosa/grub2-efi/grubcd.efi
   129 1264 -rwxr-xr-x   1 root     root      1290928 Dez 20 13:02 /boot/efi/EFI/rosa/BOOTx64.efi
   130  880 -rwxr-xr-x   1 root     root       897424 Mär 29 01:31 /boot/efi/EFI/rosa/grubx64.efi
   131    4 -rwxr-xr-x   1 root     root          116 Mär 29 01:31 /boot/efi/EFI/rosa/grub.cfg
   132    8 -rwxr-xr-x   1 root     root         6980 Mär 29 00:32 /boot/efi/NvVars


Code: Alles auswählen
# efibootmgr
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0006,0000,0001,0002,0003,0004,0005
Boot0000* EFI DVD/CDROM
Boot0001* EFI DVD/CDROM 1
Boot0002* EFI Floppy
Boot0003* EFI Floppy 1
Boot0004* EFI Misc Device
Boot0005* EFI Internal Shell
Boot0006* rosa


Code: Alles auswählen
# rpm -q grub2
grub2-2.00-67-rosa2014.1.x86_64


Code: Alles auswählen
# cat /boot/grub2/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-efi-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="${saved_entry}"

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 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
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  52ad8624-6679-46c1-84ca-e2c9e41817b0
else
  search --no-floppy --fs-uuid --set=root 52ad8624-6679-46c1-84ca-e2c9e41817b0
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768,1024x600,800x600,640x480
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  52ad8624-6679-46c1-84ca-e2c9e41817b0
else
  search --no-floppy --fs-uuid --set=root 52ad8624-6679-46c1-84ca-e2c9e41817b0
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/rosa/dejavu_sans_bold_14.pf2
loadfont ($root)/boot/grub2/themes/rosa/dejavu_sans_mono_11.pf2
loadfont ($root)/boot/grub2/themes/rosa/terminal_font_11.pf2
insmod png
set theme=($root)/boot/grub2/themes/rosa/theme.txt
export theme
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  52ad8624-6679-46c1-84ca-e2c9e41817b0
else
  search --no-floppy --fs-uuid --set=root 52ad8624-6679-46c1-84ca-e2c9e41817b0
fi
insmod png
background_image -m stretch /boot/grub2/themes/rosa/terminal_background.png
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'ROSA Desktop Fresh R5' --class rosa --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-52ad8624-6679-46c1-84ca-e2c9e41817b0' {
        savedefault
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root  52ad8624-6679-46c1-84ca-e2c9e41817b0
        else
          search --no-floppy --fs-uuid --set=root 52ad8624-6679-46c1-84ca-e2c9e41817b0
        fi
        echo    'Linux 3.14.25-nrj-desktop-1rosa wird geladen …'
        linux   /boot/vmlinuz-3.14.25-nrj-desktop-1rosa root=UUID=52ad8624-6679-46c1-84ca-e2c9e41817b0 ro  splash=silent logo.nologo resume=UUID=4bb3fd40-1392-422b-af92-3327da9d1f45
        echo    'Initiale Ramdisk wird geladen …'
        initrd  /boot/initrd-3.14.25-nrj-desktop-1rosa.img
}
submenu 'Erweiterte Optionen für ROSA Desktop Fresh R5' $menuentry_id_option 'gnulinux-advanced-52ad8624-6679-46c1-84ca-e2c9e41817b0' {
        menuentry 'ROSA Desktop Fresh R5 - Linux 3.14.25-nrj-desktop-1rosa' --class rosa --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.25-nrj-desktop-1rosa-advanced-52ad8624-6679-46c1-84ca-e2c9e41817b0' {
        savedefault
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod ext2
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root  52ad8624-6679-46c1-84ca-e2c9e41817b0
                else
                  search --no-floppy --fs-uuid --set=root 52ad8624-6679-46c1-84ca-e2c9e41817b0
                fi
                echo    'Linux 3.14.25-nrj-desktop-1rosa wird geladen …'
                linux   /boot/vmlinuz-3.14.25-nrj-desktop-1rosa root=UUID=52ad8624-6679-46c1-84ca-e2c9e41817b0 ro  splash=silent logo.nologo resume=UUID=4bb3fd40-1392-422b-af92-3327da9d1f45
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /boot/initrd-3.14.25-nrj-desktop-1rosa.img
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### 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 ###

### BEGIN /etc/grub.d/42_efi ###
### END /etc/grub.d/42_efi ###

### BEGIN /etc/grub.d/43_rescue ###
if [ -f  /boot/rescue.iso -o -f /boot/sgb.iso ]; then
submenu 'Repair tools' {
if [ -f  /boot/rescue.iso ]; then
menuentry "Boot rescue CD" {
loopback loop /boot/rescue.iso
linux (loop)/isolinux/vmlinuz0 boot=live iso_filename=/boot/rescue.iso root=live:/dev/sr0 rootfstype=auto ro rd.live.image rhgb splash=silent logo.nologo rd.luks=0 rd.md=0 rd.dm=0
initrd (loop)/isolinux/initrd0.img
}
fi
if [ -f  /boot/sgb.iso ]; then
menuentry "Run Grub2 repair" {
loopback loop /boot/sgb.iso
linux16 /boot/memdisk iso
initrd16 /boot/sgb.iso
}
fi
}
fi

### END /etc/grub.d/43_rescue ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###

HP Pavilion: Intel Quad-Core i5-4440 3.10 GHz, NVIDIA Geforce 640 GT, 12 GB RAM, 1TB HDD
Sony Vaio SVF-15N2L2ES: Intel Core i5 1.60 GHz, 508 GB HDD, 4 GB DDR3-RAM, Intel HD Graphics 4400
Beide openSUSE13.1(Desktop), openSUSE13.2(Laptop) + Windows8.1

Benutzeravatar
linuxfreund
 
Beiträge: 62
Registriert: Mo 9. Mär 2015, 21:25

Nächste

Zurück zu Workspace

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste

cron