fein, mein System startet jetzt.
Meine /etc/fstab:
anfänglich hatte ich vergessen /dev/sda1 mit /boot einzubinden.
Es gab auch ein Problem mit dhcpcd:
https://bbs.archlinux.org/viewtopic.php?id=250397
Es gibt viele kleine Fallstricke, als trivial empfinde ich so eine Installation nicht.
Gibt es ein brtfs Standardsystem, was von dem btrfs empfohlen wird?
https://btrfs.wiki.kernel.org/index.php/Main_Page
Wie kann ich mir die verwendeten Mountoptionen (sdd usw.) anzeigen lassen?
Snapper, könnte interessant sein:
https://wiki.archlinux.org/index.php/Snapper
https://de.opensuse.org/SDB:Snapper
Grub Eintrag als Text, ohne Youtube und Sound aus Kommentar (https://www.youtube.com/watch?v=J9jaVH9DjTU):
https://pastebin.com/9nDpNN3n
Code:
parted -l
Nummer Anfang Ende Größe Typ Dateisystem Flags
1 1049kB 1050MB 1049MB primary ext4
2 1050MB 44,0GB 42,9GB primary btrfs
3 44,0GB 64,4GB 20,4GB primary linux-swap(v1)
Code:
df -Th
Dateisystem Typ Größe Benutzt Verf. Verw% Eingehängt auf
dev devtmpfs 3,9G 0 3,9G 0% /dev
run tmpfs 3,9G 512K 3,9G 1% /run
/dev/sda2 btrfs 40G 1,8G 38G 5% /
tmpfs tmpfs 3,9G 0 3,9G 0% /dev/shm
tmpfs tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
/dev/sda2 btrfs 40G 1,8G 38G 5% /home
/dev/sda2 btrfs 40G 1,8G 38G 5% /var/cache/pacman/pkg
/dev/sda2 btrfs 40G 1,8G 38G 5% /.snapshots
tmpfs tmpfs 3,9G 0 3,9G 0% /tmp
/dev/sda1 ext4 969M 55M 849M 6% /boot
tmpfs tmpfs 797M 0 797M 0% /run/user/0
Code:
btrfs subvolume list /
ID 257 gen 8 top level 5 path @
ID 258 gen 9 top level 5 path @home
ID 259 gen 72 top level 5 path @pkg
ID 260 gen 11 top level 5 path @snapshots
ID 263 gen 29 top level 5 path var/lib/portables
ID 264 gen 30 top level 5 path var/lib/machines
Meine /etc/fstab:
Code:
cat /etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2 UUID=dc21e622-e663-46e0-b675-ea85ccdaad28
LABEL=ROOT / btrfs rw,relatime,space_cache,subvolid=5,subvol=/ 0 0
# /dev/sda1 UUID=e8891039-e8c3-40a9-8c0e-8ac09c87a869
LABEL=BOOT /boot ext4 rw,relatime 0 2
# /dev/sda2 UUID=dc21e622-e663-46e0-b675-ea85ccdaad28
LABEL=ROOT /home btrfs rw,noatime,space_cache,subvolid=258,subvol=/@home,subvol=@home 0 0
# /dev/sda2 UUID=dc21e622-e663-46e0-b675-ea85ccdaad28
LABEL=ROOT /btrfs btrfs rw,noatime,space_cache,subvolid=5,subvol=/ 0 0
# /dev/sda2 UUID=dc21e622-e663-46e0-b675-ea85ccdaad28
LABEL=ROOT /.snapshots btrfs rw,noatime,space_cache,subvolid=260,subvol=/@snapshots,subvol=@snapshots 0 0
# /dev/sda2 UUID=dc21e622-e663-46e0-b675-ea85ccdaad28
LABEL=ROOT /var/cache/pacman/pkg btrfs rw,noatime,space_cache,subvolid=259,subvol=/@pkg,subvol=@pkg 0 0
# /dev/sda3 UUID=92f65913-a071-4213-b8fa-eef611c7c770
LABEL=SWAP none swap defaults 0 0
anfänglich hatte ich vergessen /dev/sda1 mit /boot einzubinden.
Es gab auch ein Problem mit dhcpcd:
https://bbs.archlinux.org/viewtopic.php?id=250397
Code:
+++dhcpcd iso Nov. 2019 Problem+++++++
pacstrap /mnt base base-devel linux linux-firmware nano btrfs-progs dhcpcd openssh mc --ignore dhcpcd
+++++++++
Es gibt viele kleine Fallstricke, als trivial empfinde ich so eine Installation nicht.
Gibt es ein brtfs Standardsystem, was von dem btrfs empfohlen wird?
https://btrfs.wiki.kernel.org/index.php/Main_Page
Wie kann ich mir die verwendeten Mountoptionen (sdd usw.) anzeigen lassen?
Snapper, könnte interessant sein:
https://wiki.archlinux.org/index.php/Snapper
https://de.opensuse.org/SDB:Snapper
Ich benutze kein openSUSE. Kann ich trotzdem Snapper verwenden ?
Wir bieten Snapper-Pakete für diverse Distributionen im openSUSE-build-service an:
Project
Downloads
Natürlich ist es auch möglich Snapper selbst zu kompilieren:
Entwicklung
Grub Eintrag als Text, ohne Youtube und Sound aus Kommentar (https://www.youtube.com/watch?v=J9jaVH9DjTU):
https://pastebin.com/9nDpNN3n
Code:
menuentry 'Arch Linux Xfce' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-75c8385c-0221-453f-af8f-e7c06cc44301' {
load_video
set gfxpayload=keep
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 9224ca20-f67e-44a0-b6bb-b7fdf08f7965
else
search --no-floppy --fs-uuid --set=root 9224ca20-f67e-44a0-b6bb-b7fdf08f7965
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=75c8385c-0221-453f-af8f-e7c06cc44301 rw rootflags=subvol=@snapshots/TESTING quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
menuentry 'Arch Linux Xfce Stable' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-75c8385c-0221-453f-af8f-e7c06cc44301' {
load_video
set gfxpayload=keep
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 9224ca20-f67e-44a0-b6bb-b7fdf08f7965
else
search --no-floppy --fs-uuid --set=root 9224ca20-f67e-44a0-b6bb-b7fdf08f7965
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux-stable root=UUID=75c8385c-0221-453f-af8f-e7c06cc44301 rw rootflags=subvol=@snapshots/STABLE quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-stable.img
}
usw
Zuletzt bearbeitet: