Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

06.12.2020, 19:53

Nur Grub Eingabepromt

Ich bekomme beim Booten nur den Eingabepromt von Grub angezeigt. Eigentlich weisst das ja auf ein Fehlen der grub.cfg hin. Aber ich habe die Befehle zur Installation / Konfiguration ausgeführt. Irgendwo hab ich einen Fehler. Ich finde ihn aber nicht. Bitte helft mir mal.
Ein Booten über die SuperGrub CD ist erfolgreich.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
sysvorOrt /home/michi # mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=2030601,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda4 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/rc/sh/cgroup-release-agent.sh,name=openrc)
none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
net_prio on /sys/fs/cgroup/net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio)
hugetlb on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
pids on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1626316k,mode=700,uid=1000,gid=1000)


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# less /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed); notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
#       filesystems.  This just tells the kernel to use the ext4 driver.
#
# NOTE: You can use full paths to devices like /dev/sda3, but it is often
#       more reliable to use filesystem labels or UUIDs. See your filesystem
#       documentation for details on setting a label. To obtain the UUID, use
#       the blkid(8) command.

#LABEL=boot             /boot           ext4            noauto,noatime  1 2
#UUID=58e72203-57d1-4497-81ad-97655bd56494              /               ext4            noatime         0 1
/dev/sda3               none            swap            sw              0 0
#/dev/cdrom             /mnt/cdrom      auto            noauto,ro       0 0
/dev/sda2                /boot         vfat
/dev/sda4                /mnt/gentoo   ext4
/etc/fstab lines 1-31/31 (END)


Quellcode

1
2
sysvorOrt /boot/grub # ls
fonts  grub.cfg  grubenv  i386-pc  themes  x86_64-efi



Quellcode

1
2
3
4
5
6
sysvorOrt / # mount /dev/sda2 /mnt/boot/
sysvorOrt / # cd /mnt/boot/
sysvorOrt /mnt/boot # ls
EFI   initramfs-5.4.66-gentoo-x86_64.img      System.map-5.4.66-gentoo-x86_64      vmlinuz-5.4.66-gentoo-x86_64
grub  initramfs-5.4.66-gentoo-x86_64.img.old  System.map-5.4.66-gentoo-x86_64.old  vmlinuz-5.4.66-gentoo-x86_64.old
sysvorOrt /mnt/boot # 

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »michi-monster« (25.05.2021, 17:17) aus folgendem Grund: Der Fehler war die falsche Konfiguration - ich habe uefi


2

08.12.2020, 08:56

Wie ich sehe, willst du gentoo per UEFI starten.

Doch das funktioniert so nicht.

Ich kann dir das ArchLinux-WIKI über UEFI-Installation empfehlen

https://wiki.archlinux.de/title/UEFI_Ins…ion#Secure_Boot

Dort kannst du lesen, daß bei UEFI-Boot die Partition nicht ext4 ist.
Wenn du diese Boot-Partition so einrichtes:
mkfs.fat -F 32 -n EFIBOOT /dev/sdaX
und diese Partition als /boot mountest,
kannst du bei grub-install folgendes eingeben:

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=gentoo_grub --recheck --debug

Dann folgt noch
grub-mkconfig -o /boot/grub/grub.cfg

Dann müsste dein System problemlos booten.

Gruß
Manfred