bash: mkfs.vfat: command not found

localhost /mnt/efi # mkfs.vfat -F 32 -n EFIBOOT /dev/sdb1
localhost /mnt/efi # mkfs.fat -F 31 /dev/sdb1                                                                                                                             
bash: mkfs.fat: command not found                    

Um diese Befehle zu nutzen muss dosfstools installiert werden
localhost /mnt/efi # emerge -av dosfstools

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-fs/dosfstools-4.2::gentoo  USE="iconv -compat -test" 314 KiB

Total: 1 package (1 new), Size of downloads: 314 KiB

Would you like to merge these packages? [Yes/No] 

localhost / # mkfs.vfat /dev/sdb1
mkfs.fat 4.2 (2021-01-31)

Ist FAT im Kernel aktiv?
= m bedeutet als Modul eingebunden

localhost / # zgrep -e FAT -e DOS /proc/config.gz | sort -r
CONFIG_VFAT_FS=m
CONFIG_MSDOS_PARTITION=y
CONFIG_MSDOS_FS=m
CONFIG_FAT_FS=m
CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_EXFAT_FS=m
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
# end of DOS/FAT/EXFAT/NT Filesystems
# DOS/FAT/EXFAT/NT Filesystems
# CONFIG_FAT_DEFAULT_UTF8 is not set

localhost /boot/efi # mkfs /dev/sdb1
mke2fs 1.46.5 (30-Dec-2021)
/dev/sdb1 contains a vfat file system
Proceed anyway? (y,N) y
Discarding device blocks: done
Creating filesystem with 5242880 4k blocks and 1310720 inodes
Filesystem UUID: df12d378-6f0f-4787-8589-1a657e4f81a6
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done


localhost /boot/efi # mount /dev/sdb1 /mnt/  
.keep       daten/      gentoo-alt/ 
localhost /boot/efi # mkdir /mnt/efi       
localhost /boot/efi # mount /dev/sdb1 /mnt/efi/
localhost /boot/efi # cd /mnt/efi/
localhost /mnt/efi # ls
lost+found
localhost /mnt/efi # mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=1775837,mode=755,inode64)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev/sdb2 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,inode64)
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)
rdma on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
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/0 type tmpfs (rw,nosuid,nodev,relatime,size=1422380k,nr_inodes=355595,mode=700,inode64)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1422380k,nr_inodes=355595,mode=700,uid=1000,gid=1000,inode64)
/dev/sr0 on /run/media/michi/ISOIMAGE type iso9660 (ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048,uid=1000,gid=1000,dmode=500,fmode=400,iocharset=utf8,uhelper=udisks2)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdb1 on /mnt/efi type ext2 (rw,relatime)
localhost /mnt/efi # 

localhost /mnt/efi # ls -all
total 28
drwxr-xr-x  4 root root  4096 Jan  1 12:31 .
drwxr-xr-x  5 root root  4096 Jan  1 12:28 ..
lrwxrwxrwx  1 root root    20 Jan  1 12:31 linux -> linux-5.15.80-gentoo
drwxr-xr-x 16 root root  4096 Jan  1 12:32 linux-5.15.80-gentoo
drwx------  2 root root 16384 Jan  1 12:24 lost+found
localhost /mnt/efi # 

# grub-mkconfig
# 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
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 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='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  f24c114f-f71c-4834-8aa3-357788352a2f
else
  search --no-floppy --fs-uuid --set=root f24c114f-f71c-4834-8aa3-357788352a2f
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 [ 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 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f24c114f-f71c-4834-8aa3-357788352a2f' {
	load_video
	if [ "x$grub_platform" = xefi ]; then
		set gfxpayload=keep
	fi
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  f24c114f-f71c-4834-8aa3-357788352a2f
	else
	  search --no-floppy --fs-uuid --set=root f24c114f-f71c-4834-8aa3-357788352a2f
	fi
	echo	'Loading Linux 5.15.80-gentoo-x86_64 ...'
	linux	/boot/vmlinuz-5.15.80-gentoo-x86_64 root=UUID=f24c114f-f71c-4834-8aa3-357788352a2f ro  
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initramfs-5.15.80-gentoo-x86_64.img
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-f24c114f-f71c-4834-8aa3-357788352a2f' {
	menuentry 'Gentoo GNU/Linux, with Linux 5.15.80-gentoo-x86_64' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.80-gentoo-x86_64-advanced-f24c114f-f71c-4834-8aa3-357788352a2f' {
		load_video
		if [ "x$grub_platform" = xefi ]; then
			set gfxpayload=keep
		fi
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  f24c114f-f71c-4834-8aa3-357788352a2f
		else
		  search --no-floppy --fs-uuid --set=root f24c114f-f71c-4834-8aa3-357788352a2f
		fi
		echo	'Loading Linux 5.15.80-gentoo-x86_64 ...'
		linux	/boot/vmlinuz-5.15.80-gentoo-x86_64 root=UUID=f24c114f-f71c-4834-8aa3-357788352a2f ro  
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-5.15.80-gentoo-x86_64.img
	}
	menuentry 'Gentoo GNU/Linux, with Linux 5.15.80-gentoo-x86_64 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.80-gentoo-x86_64-recovery-f24c114f-f71c-4834-8aa3-357788352a2f' {
		load_video
		if [ "x$grub_platform" = xefi ]; then
			set gfxpayload=keep
		fi
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  f24c114f-f71c-4834-8aa3-357788352a2f
		else
		  search --no-floppy --fs-uuid --set=root f24c114f-f71c-4834-8aa3-357788352a2f
		fi
		echo	'Loading Linux 5.15.80-gentoo-x86_64 ...'
		linux	/boot/vmlinuz-5.15.80-gentoo-x86_64 root=UUID=f24c114f-f71c-4834-8aa3-357788352a2f ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-5.15.80-gentoo-x86_64.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/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $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 ###
localhost /mnt/efi # grub-install
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

grub-install: error: /boot/efi doesn’t look like an EFI partition.

localhost /boot # grub-install --target=x86_64-efi --boot-directory=/boot --efi-directory=/boot/efi
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.

In diesem Fall erst einmal die Partitionierung anzeigen lassen. Zum Beispiel über cfdisk

#cfdisk /dev/sdb
Bitte beachten: die Angabe von /dev/sdb kann sich natürlich unterscheiden. Die erste Platte heisst /dev/sda und die 3. Platte /dev/sdc usw.

Ist der Ordner für die Installation angelegt?

localhost / # cd /boot/efi/
localhost /boot/efi # ls
localhost /boot/efi # ls -all
total 8
drwxr-xr-x 2 root root 4096 Jan  1 11:16 .
drwxr-xr-x 4 root root 4096 Jan  1 11:16 ..
localhost /boot/efi # 
localhost /boot/efi # grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.80-gentoo-x86_64
Found initrd image: /boot/initramfs-5.15.80-gentoo-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

localhost /boot/efi # grub-install --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

Tipp von Manfred unter http://www.gentooforum.de/artikel/22643/nur-grub-eingabepromt.html :

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

Reset eines Handys


Aufgrund eines Tipps habe ich nach der Anwendung adb gesucht. Aber sie war anscheinend Nicht vorhanden:

[ Results for search key : adb ]
Searching...

*  app-mobilephone/qtadb [ Masked ]
      Latest version available: 0.8.1-r1
      Latest version installed: [ Not Installed ]
      Size of files: 1079 KiB
      Homepage:      https://qtadb.wordpress.com
      Description:   Android phone manager via ADB
      License:       Apache-2.0

*  dev-db/mariadb
      Latest version available: 10.6.10
      Latest version installed: [ Not Installed ]
      Size of files: 94198 KiB
      Homepage:      https://mariadb.org/
      Description:   An enhanced, drop-in replacement for MySQL
      License:       GPL-2 LGPL-2.1+

*  dev-db/mariadb-connector-c
      Latest version available: 3.2.5
      Latest version installed: 3.2.5
      Size of files: 970 KiB
      Homepage:      https://mariadb.org/
      Description:   C client library for MariaDB/MySQL
      License:       LGPL-2.1

*  dev-db/mariadb-connector-odbc
      Latest version available: 3.1.14
      Latest version installed: [ Not Installed ]
      Size of files: 537 KiB
      Homepage:      https://downloads.mariadb.org/connector-odbc/
      Description:   MariaDB Connector/ODBC
      License:       LGPL-2.1

*  dev-lua/luadbi
      Latest version available: 0.7.2-r1
      Latest version installed: [ Not Installed ]
      Size of files: 36 KiB
      Homepage:      https://github.com/mwild1/luadbi
      Description:   A database interface library for Lua
      License:       MIT

*  dev-perl/DBD-MariaDB [ Masked ]
      Latest version available: 1.220.0
      Latest version installed: [ Not Installed ]
      Size of files: 177 KiB
      Homepage:      https://metacpan.org/release/DBD-MariaDB
      Description:   MariaDB and MySQL driver for the Perl5 Database Interface (DBI)
      License:       || ( Artistic GPL-1+ )

*  dev-perl/File-ReadBackwards
      Latest version available: 1.60.0
      Latest version installed: [ Not Installed ]
      Size of files: 10 KiB
      Homepage:      https://metacpan.org/release/File-ReadBackwards
      Description:   Read a file backwards by lines
      License:       || ( Artistic GPL-1+ )

*  dev-python/adblock
      Latest version available: 0.6.0
      Latest version installed: [ Not Installed ]
      Size of files: 18322 KiB
      Homepage:      https://github.com/ArniDagur/python-adblock
      Description:   Python wrapper for Brave's adblocking library, which is written in Rust
      License:       Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0

*  media-sound/deadbeef
      Latest version available: 1.9.2-r1
      Latest version installed: [ Not Installed ]
      Size of files: 4986 KiB
      Homepage:      https://deadbeef.sourceforge.io/
      Description:   DeaDBeeF is a modular audio player similar to foobar2000
      License:       GPL-2 LGPL-2.1 wavpack? ( BSD )

*  net-misc/icingadb [ Masked ]
      Latest version available: 1.1.0
      Latest version installed: [ Not Installed ]
      Size of files: 12748 KiB
      Homepage:      https://icinga.com/docs/icinga-db/
      Description:   Icinga configuration and state database supporting multiple environments
      License:       GPL-2

*  net-misc/mobile-broadband-provider-info
      Latest version available: 20221107
      Latest version installed: 20221107
      Size of files: 84 KiB
      Homepage:      https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband
      Description:   Database of mobile broadband service providers
      License:       CC-PD

*  sys-apps/lsadb [ Masked ]
      Latest version available: 0.1.3-r1
      Latest version installed: [ Not Installed ]
      Size of files: 7 KiB
      Homepage:      http://pbbuttons.berlios.de/projects/lsadb/
      Description:   Prints out information on all devices attached to the ADB bus
      License:       GPL-2

*  sys-libs/db
      Latest version available: 5.3.28-r8
      Latest version installed: [ Not Installed ]
      Size of files: 34268 KiB
      Homepage:      http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html
      Description:   Oracle Berkeley DB
      License:       Sleepycat

*  www-apps/icingadb-web [ Masked ]
      Latest version available: 1.0.2
      Latest version installed: [ Not Installed ]
      Size of files: 2244 KiB
      Homepage:      https://icinga.com/docs/icinga-db-web/
      Description:   UI for Icinga DB
      License:       GPL-2

[ Applications found : 14 ]

Doch sie ist vorhanden. Nur heisst sie unter Portage Android Tools:
https://packages.gentoo.org/packages/dev-util/android-tools

!!! The ebuild selected to satisfy „media-libs/libmediaart“ has unmet requirements.

!!! The ebuild selected to satisfy "media-libs/libmediaart" has unmet requirements.

In diesem Fall muss in einer Datei angegeben werden das entweder -qt5 oder -gtk verwendet wird. Das hängt oft von der grafischen Oberfläche ab. gtk ist eher Gnome.

Eine Datei mit gewünschten Namen unter /etc/portage/package.use anlegen (ich nannte sie libmediaart)

nano -w /etc/portage/package.use/libmediaart 
#Inhalt der Datei in meinem Fall:

media-libs/libmediaart -qt5

ERROR: Failed to mount set bootdir ‚/boot‘!

ERROR: Failed to mount set bootdir ‚/boot‘!
localhost /home/michi # genkernel –menuconfig all

  • Gentoo Linux Genkernel; Version 4.3.1
  • Using genkernel configuration from ‚/etc/genkernel.conf‘ …
  • Running with options: –menuconfig all
  • Working with Linux kernel 6.1.1-gentoo for x86_64
  • Using kernel config file ‚/usr/share/genkernel/arch/x86_64/generated-config‘ …
    • Note: The version above is subject to change (depends on config and status of kernel sources).
  • ERROR: Failed to mount set bootdir ‚/boot‘!
  • Please consult ‚/var/log/genkernel.log‘ for more information and any
  • errors that were reported above.
    • Report any genkernel bugs to bugs.gentoo.org and
  • assign your bug to genkernel@gentoo.org. Please include
  • as much information as you can in your bug report; attaching
  • ‚/var/log/genkernel.log‘ so that your issue can be dealt with effectively.
    • Please do not report kernel compilation failures as genkernel bugs!

In diesem Fall muss das Verzeichnis von boot gefunden und gemounted werden.

Warning: os-prober will not be executed to detect other bootable partitions.

localhost / # grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.59-gentoo-x86_64
Found initrd image: /boot/initramfs-5.15.59-gentoo-x86_64.img
Found linux image: /boot/vmlinuz-5.15.59-gentoo-x86_64.old
Found initrd image: /boot/initramfs-5.15.59-gentoo-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Manipulieren von Konfigurationsskripten

Einige Merkmale oder Funktionalitäten können nur genutzt werden, indem die Konfigurationsskripte geändert werden. Um beispielsweise Dual-Booting mit FreeBSD zu unterstützen, muss die folgende Manipulation vorgenommen werden.
Der OS-Prober sucht nach anderen Betriebssystemen. Er muss erst installiert werden und dann kann er ausgeführt werden.
#emerge -av os-prober
#os-prober

Partitionierung anzeigen lassen:

/dev/sda2 = UEFI System-Partition (ESP)
Diese Partition muss bootfähig sein

Einhängepunkt

Ein Eintrag in /etc/fstab wird zum Booten nicht benötigt, kann aber zum manuellen Mounten des ESP hilfreich sein.

DATEI /etc/fstab

Konfigurieren des ESP-Mountpoints

/dev/sda2 /boot vfat noauto,noatime 0

(masked by: ~amd64 keyword)

localhost /home/michi #emerge -av alsa-mixer

 * IMPORTANT: 13 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "alsa-mixer" have been masked.
!!! One of the following masked packages is required to complete your re
- dev-haskell/alsa-mixer-0.3.0::gentoo (masked by: ~amd64 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Um ein Paket mit der Use Flag amd64 kompilieren zu können muss dies in der /etc/portage/make.conf hinterlegt werden. Der erforderlich Eintrag:

ACCEPT_KEYWORDS="~amd64"

Die USE-Flags wirken sich darauf aus, welche Abhängigkeiten erforderlich sind, und im Allgemeinen darauf, welche optionalen Funktionen beim Kompilieren in ein bestimmtes Programm integriert werden.