mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-08-24 21:41:15 +00:00
trying out to generalize lvm to work with any disk capacity
This commit is contained in:
parent
0f948711f6
commit
9a87cc6222
@ -87,9 +87,9 @@ clearpart --all --initlabel --drives=vda
|
|||||||
# Will create an efi partitition of 128 MiB, a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root.
|
# Will create an efi partitition of 128 MiB, a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root.
|
||||||
part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi
|
part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi
|
||||||
part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot
|
part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot
|
||||||
part pv.122 --fstype="lvmpv" --ondisk=vda --grow
|
part pv.122 --fstype="lvmpv" --ondisk=vda --grow --encrypted
|
||||||
volgroup system --pesize=1024 pv.122
|
volgroup system --pesize=1024 pv.122
|
||||||
logvol / --fstype="ext4" --size=8192 --label="root" --name=root --vgname=system
|
logvol / --fstype="ext4" --grow --label="root" --name=root --vgname=system
|
||||||
|
|
||||||
# System timezone
|
# System timezone
|
||||||
timezone Europe/Paris --utc
|
timezone Europe/Paris --utc
|
||||||
@ -156,23 +156,23 @@ localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be p
|
|||||||
|
|
||||||
# dnf update -y # Update the system
|
# dnf update -y # Update the system
|
||||||
|
|
||||||
systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd
|
# systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd
|
||||||
|
#
|
||||||
dnf install -y gnome-shell gnome-terminal nano # Minimal GNOME shell or desktop environment plus the text nano editor
|
# dnf install -y gnome-shell gnome-terminal nano # Minimal GNOME shell or desktop environment plus the text nano editor
|
||||||
dnf install -y nautilus gnome-terminal-nautilus # Default File explorer for GNOME and its integration with gnome-shell
|
# dnf install -y nautilus gnome-terminal-nautilus # Default File explorer for GNOME and its integration with gnome-shell
|
||||||
dnf install -y gedit # The official gnome text editor
|
# dnf install -y gedit # The official gnome text editor
|
||||||
dnf install -y firefox # Internet browser
|
# dnf install -y firefox # Internet browser
|
||||||
dnf install -y nextcloud-client nextcloud-client-nautilus # The Nextcloud client and its integration with gnome-shell
|
# dnf install -y nextcloud-client nextcloud-client-nautilus # The Nextcloud client and its integration with gnome-shell
|
||||||
dnf install -y libreoffice-writer # The rich and open text editor
|
# dnf install -y libreoffice-writer # The rich and open text editor
|
||||||
dnf install -y spice-vdagent # Try to install spice-vdagent after the installation is done
|
# dnf install -y spice-vdagent # Try to install spice-vdagent after the installation is done
|
||||||
dnf install -y dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in gnome-terminal.
|
# dnf install -y dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in gnome-terminal.
|
||||||
dnf install -y elementary-wallpapers-gnome.noarch # Gorgeous wallpapers
|
# dnf install -y elementary-wallpapers-gnome.noarch # Gorgeous wallpapers
|
||||||
dnf install -y wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager.
|
# dnf install -y wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager.
|
||||||
dnf remove -y gnome-tour # We don't want GNOME-tour to open at launch so we delete it
|
# dnf remove -y gnome-tour # We don't want GNOME-tour to open at launch so we delete it
|
||||||
|
#
|
||||||
sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds.
|
# sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds.
|
||||||
|
#
|
||||||
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
|
# grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
|
||||||
|
|
||||||
reboot # Reboot the installer (doesn't work (tm))
|
reboot # Reboot the installer (doesn't work (tm))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user