Diskussion:Install-Party/Linux Mint Debian Edition: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Neuer Abschnitt →LMDE 6 "anderes Dateisystem") |
|||
Zeile 105: | Zeile 105: | ||
* https://community.linuxmint.com/tutorial/view/2438 | * https://community.linuxmint.com/tutorial/view/2438 | ||
== LMDE 6 "anderes Dateisystem" == | |||
https://forums.linuxmint.com/viewtopic.php?t=100659 | |||
: <code>mkdir /mnt/target</code> | |||
: <code>mount -o subvol=@ /dev/mapper/lvmlmde-root /mnt/target</code> | |||
: <code>mkdir /mnt/target/home</code> | |||
: <code>mount -o subvol=home /dev/mapper/lvmlmde-root /mnt/target/home | |||
: <code>sudo rsync -avz /run/live/rootfs/filesystem.squashfs/ /mnt/target/</code> | |||
: <code>sudo mkdir /mnt/target/dev</code> | |||
: <code>sudo mount --bind /dev /mnt/target/dev</code> | |||
: <code>sudo mkdir /dev/pts /mnt/target/dev/pts</code> | |||
: <code>sudo mount --bind /dev/pts /mnt/target/dev/pts</code> | |||
: <code>sudo mkdir /mnt/target/dev/shm</code> | |||
: <code>sudo mount --bind /dev/shm /mnt/target/dev/shm</code> | |||
: <code>sudo mkdir /mnt/target/proc</code> | |||
: <code>sudo mount --bind /proc /mnt/target/proc</code> | |||
: <code>sudo mkdir /mnt/target/sys</code> | |||
: <code>sudo mount --bind /sys /mnt/target/sys</code> | |||
: <code>sudo mkdir /mnt/target/tmp</code> | |||
: <code>sudo mount --bind /tmp /mnt/target/tmp</code> | |||
: <code>sudo mkdir /mnt/target/</code> | |||
: <code>cp -f /etc/resolv.conf /mnt/target/etc/resolv.conf</code> | |||
: <code>chroot /mnt/target</code> |
Version vom 8. Oktober 2023, 20:50 Uhr
Installation mit Verschlüsselung
- Fail!
- LMDE 3 meets https://gitlab.com/pepa65/lmdescrypt/raw/master/lmdescrypt ?
(default) disk layout
- Calamares meets Btrfs
(nach der manuellen Partitionierung und) Angabe beim Programm für die Installation
cat /etc/fstab
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a device; this may # be used with UUID= as a more robust way to name devices that works even if # disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> UUID=8f303b38-b7e7-4781-aa8e-f1559b5504d2 /boot ext4 defaults,noatime 0 2 UUID=33436381-7031-48be-8785-a48061fcabd7 / btrfs subvol=@,defaults,noatime,space_cache,autodefrag 0 1 UUID=33436381-7031-48be-8785-a48061fcabd7 /home btrfs subvol=@home,defaults,noatime,space_cache,autodefrag 0 2 UUID=641494b3-d3a2-4c57-b022-cba4d00603f5 swap swap defaults,noatime 0 2
cat /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=641494b3-d3a2-4c57-b022-cba4d00603f5"
cat /etc/crypttab
# /etc/crypttab: mappings for encrypted partitions. # # Each mapped device will be created in /dev/mapper, so your /etc/fstab # should use the /dev/mapper/<name> paths for encrypted devices. # # See crypttab(5) for the supported syntax. # # NOTE: Do not list your root (/) partition here, it must be set up # beforehand by the initramfs (/etc/mkinitcpio.conf). The same applies # to encrypted swap, which should be set up with mkinitcpio-openswap # for resume support. # # <name> <device> <password> <options>
btrfs meets luks
cat /etc/fstab
####vb /dev/sda1 /boot btrfs defaults,errors=remount-ro 0 1 /dev/mapper/vg-lv--swap none swap sw 0 0 /dev/mapper/vg-lv--root / btrfs defaults,errors=remount-ro 0 1 /dev/mapper/vg-lv--home /home btrfs defaults,compress=lzo 0 1 ####ve # UNCONFIGURED FSTAB FOR BASE SYSTEM proc /proc proc defaults 0 0
cat /etc/crypttab
####vb k-ot UUID=8765dcba-ab12-cd34-ef56-123456abcdef none luks ####ve
https://www.howtoforge.com/a-beginners-guide-to-btrfs
cat /etc/default/grub
####vb #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash kopt=root=/dev/mapper/vg-lv--root" ####ve
sbin fehlt beim PATH
dpkg -i linux-UFRII-drv-v500-de/64-bit_Driver/Debian/cnrdrvcups-ufr2-uk_5.00-1_amd64.deb
Beachten Sie: PATH von root sollte normalerweise /usr/local/sbin, /usr/sbin und /sbin enthalten
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
LMDE 4 mit verschlüsselten Massenspeicher und btrfs subvolumes (möglichst noch als mirror von 2 Geräten für Massenspeicher)
- https://www.paritybit.ca/blog/debian-with-btrfs
- https://forum.manjaro.org/t/116534
- https://ghost.cloud3cola.com/linux-mint-18-3-with-btrfs-luks/
- https://mutschler.eu/linux/install-guides/pop-os-btrfs/
- https://gist.github.com/ansulev/7cdf38a3d387599adf9addd248b09db8
- https://forums.linuxmint.com/viewtopic.php?t=100659
- https://forums.linuxmint.com/viewtopic.php?t=67924
- https://forums.linuxmint.com/viewtopic.php?t=314829
LMDE 6 "anderes Dateisystem"
https://forums.linuxmint.com/viewtopic.php?t=100659
mkdir /mnt/target
mount -o subvol=@ /dev/mapper/lvmlmde-root /mnt/target
mkdir /mnt/target/home
mount -o subvol=home /dev/mapper/lvmlmde-root /mnt/target/home
sudo rsync -avz /run/live/rootfs/filesystem.squashfs/ /mnt/target/
sudo mkdir /mnt/target/dev
sudo mount --bind /dev /mnt/target/dev
sudo mkdir /dev/pts /mnt/target/dev/pts
sudo mount --bind /dev/pts /mnt/target/dev/pts
sudo mkdir /mnt/target/dev/shm
sudo mount --bind /dev/shm /mnt/target/dev/shm
sudo mkdir /mnt/target/proc
sudo mount --bind /proc /mnt/target/proc
sudo mkdir /mnt/target/sys
sudo mount --bind /sys /mnt/target/sys
sudo mkdir /mnt/target/tmp
sudo mount --bind /tmp /mnt/target/tmp
sudo mkdir /mnt/target/
cp -f /etc/resolv.conf /mnt/target/etc/resolv.conf
chroot /mnt/target