[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1034095: steps to duplicate



These instructions work on Debian 11 with firmware-11.6.0-amd64-netinst.iso.
But they fail to produce a working image using debian-bookworm-DI-rc1-amd64-netinst.iso

- boot iso and select advanced and then expert install.
- follow the process as normal until Partitioning disk. 
- create new gpt partition table
- create 500MB EFI System Partition
- create the rest of the drive as BTRFS mounted as /
- I didn't create a swap since I use zramswap later.
- write to disk all changes.

Before proceeding with the next step of Installing base system do the following:
- CTRL F2 to bring up console

df -h              to check drive device names and mount points.
umount /target/boot/efi
umount /target
mount /dev/nvme0n1p2 /mnt
mv @rootfs @
btrfs su cr @home
mount -o noatime,compress=zstd,space_cache,ssd,discard=async,subvol=@ /dev/nvme0n1p2 /target
mkdir -p /target/boot/efi
mkdir /target/home
mount -o noatime,compress=zstd,space_cache,ssd,discard=async,subvol=@home /dev/nvme0n1p2 /target/home
mount /dev/nvme0n1p1 /target/boot/efi


Now edit /target/etc/fstab and line for / to include:
noatime,compress=zstd,space_cache,ssd,discard=async,subvol=@
instead of default and subvol=@rootfs

add similar line with same UUID for /home with options as above except use @home.

save and exit out of fstab edits.
Crtl-d to exit console and CRTL-F1 to get back to install and proceed with installing base system.

All of this works correctly from appearance except on Debian 12 the boot console is full of systemd-timesync type messages that all fail.  In Cinnamon, it never makes it to a login window but you get a login prompt on the console but it's slow and not much works.



Reply to: