<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation Guide</title><link>https://sourceforge.net/p/minderiaos/wiki/Installation%2520Guide/</link><description>Recent changes to Installation Guide</description><atom:link href="https://sourceforge.net/p/minderiaos/wiki/Installation%20Guide/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 17 Apr 2026 04:43:49 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/minderiaos/wiki/Installation%20Guide/feed" rel="self" type="application/rss+xml"/><item><title>Installation Guide modified by JaysonProject</title><link>https://sourceforge.net/p/minderiaos/wiki/Installation%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to using the MinderiaOS system. This system is semi-open-box, so you still need to enter commands and copy files during the installation process, but you can also copy the commands to the terminal and execute them to install.&lt;br/&gt;
The Live system automatically enters the desktop.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the terminal and update the time&lt;br/&gt;
Press Ctrl+Alt+T to open the terminal&lt;br/&gt;
Enter "timedatectl set-ntp true" and press Enter&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Hard disk partitioning&lt;br/&gt;
Enter "fdisk -l" and press Enter&lt;br/&gt;
If your hard disk partition (such as /dev/nvme0n1pX or /dev/sdaX) is outputted, please enter cfdisk /dev/nvme0nX or cfdisk /dev/sdX&lt;br/&gt;
Select GPT and press Enter (if UEFI is not available, please select MBR)&lt;br/&gt;
Then, select "Free Space" from the bottom menu and click "New". First, create an EFI partition (512M). From the bottom menu, select "Type" and choose the EFI System partition type. (It is not necessary to create an EFI partition on an old computer.)&lt;br/&gt;
 Next, we will create a swap partition (optional). Now let's use the same process to create a swap partition. Select the remaining free space again and click "New".&lt;br/&gt;
Input 4G, and then press the Enter key. (Usually, the swap partition should be twice the size of your memory, and it is recommended to use 4G to 16G.)&lt;br/&gt;
Then, select "Type" from the bottom menu and choose the "Linux swap" partition type.&lt;br/&gt;
Next, we move to the root (/) partition. Select the remaining Free Space again and click New. As for the size of the root partition, it means all the remaining available space. Simply press Enter&lt;br/&gt;
Then, select "Type" from the bottom menu and choose the "Linux filesystem" partition type&lt;br/&gt;
Next, let's write the changes to the hard drive. Select "Write" from the bottom menu and press Enter&lt;br/&gt;
Input "yes" and press Enter&lt;br/&gt;
Alright, you have completed the hard disk partitioning step. Simply select Quit or press Ctrl+C (terminate) to exit&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a file system.&lt;br/&gt;
Okay, you have completed the hard disk partitioning. Now you need to create a file system. However, we need to view the partition table summary&lt;br/&gt;
Input "fdisk -l" and press Enter&lt;br/&gt;
You will see partitions like /dev/nvme0n1p1, /dev/nvme0n1p2, /dev/nvme0n1p3, or /dev/sda1, /dev/sda2, /dev/sda3.&lt;br/&gt;
Assuming the root partition is /dev/nvme0n1p3 (UEFI) or /dev/nvme0n1p2 (BIOS), EFI is /dev/nvme0n1p1, and Swap is /dev/nvme0n1p2.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 id="h-format-efi-uefi-only"&gt;Format EFI (UEFI only)&lt;/h1&gt;
&lt;p&gt;mkfs.fat -F32 /dev/nvme0n1p1&lt;/p&gt;
&lt;h1 id="h-format-the-root-partition"&gt;Format the root partition&lt;/h1&gt;
&lt;p&gt;mkfs.ext4 /dev/nvme0n1p3  # or your root partition&lt;/p&gt;
&lt;h1 id="h-format-and-enable-swap-optional"&gt;Format and enable Swap (optional)&lt;/h1&gt;
&lt;p&gt;mkswap /dev/nvme0n1p2&lt;br/&gt;
swapon /dev/nvme0n1p2&lt;/p&gt;
&lt;p&gt;Alright, we have completed the step of creating the file system.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Attach the hard drive and install the operating system&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 id="h-mount-the-root-partition-to-mnt"&gt;Mount the root partition to /mnt&lt;/h1&gt;
&lt;p&gt;mount /dev/nvme0n1p3 /mnt&lt;/p&gt;
&lt;h1 id="h-uefi-only-create-a-directory-and-mount-the-efi-partition"&gt;(UEFI only) Create a directory and mount the EFI partition&lt;/h1&gt;
&lt;p&gt;mkdir -p /mnt/boot/efi&lt;br/&gt;
mount /dev/nvme0n1p1 /mnt/boot/efi&lt;/p&gt;
&lt;h1 id="h-copy-system-files"&gt;Copy system files&lt;/h1&gt;
&lt;p&gt;cp -rp /usr/share/minderiaos-base/* /mnt/&lt;br/&gt;
It may take a while to copy system files. Please be patient.&lt;br/&gt;
After it's completed, we will repair the system&lt;br/&gt;
Fix ownership: chown -R root:root /mnt&lt;br/&gt;
Next, we will fix the directory permissions&lt;br/&gt;
All directories must have 755 (rwxr-xr-x) permissions to be accessible.&lt;br/&gt;
find /mnt -type d -exec chmod 755 {} \;&lt;br/&gt;
Then fix the file permissions.&lt;br/&gt;
First, set all files to 644 (rw-r--r--)&lt;br/&gt;
find /mnt -type f -exec chmod 644 {} \;&lt;br/&gt;
Fix executable permission:&lt;br/&gt;
chmod -R +x /mnt/bin&lt;br/&gt;
chmod -R +x /mnt/usr/bin&lt;br/&gt;
chmod -R +x /mnt/sbin&lt;br/&gt;
chmod -R +x /mnt/usr/sbin&lt;br/&gt;
Check immutable attributes: lsattr -R /mnt/bin/bash. If you see the 'i' flag, execute chattr -i -R /mnt (usually not necessary, but for safety)&lt;/p&gt;
&lt;p&gt;Once everything is ready, we will generate the fstab and chroot&lt;/p&gt;
&lt;h1 id="h-generate-fstab-file"&gt;Generate fstab file&lt;/h1&gt;
&lt;p&gt;genfstab -U /mnt &amp;gt;&amp;gt; /mnt/etc/fstab&lt;/p&gt;
&lt;h1 id="h-mount-the-virtual-file-system-to-prepare-for-chroot"&gt;Mount the virtual file system to prepare for chroot&lt;/h1&gt;
&lt;p&gt;mount --bind /dev /mnt/dev&lt;br/&gt;
mount --bind /proc /mnt/proc&lt;br/&gt;
mount --bind /sys /mnt/sys&lt;br/&gt;
mount --bind /run /mnt/run  # if it exists&lt;/p&gt;
&lt;p&gt;Check the mount options: mount -o remount,rw,exec /mnt&lt;br/&gt;
Then set the key directories to 755&lt;br/&gt;
Enter "chmod -R 755 /mnt/bin /mnt/lib /mnt/usr"&lt;/p&gt;
&lt;h1 id="h-chroot-into-system"&gt;chroot into system&lt;/h1&gt;
&lt;p&gt;arch-chroot /mnt /bin/bash&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Configure the system&lt;br/&gt;
We have successfully chrooted into MinderiaOS installed on your hard drive. Next, we will set the hostname, install the OOBE (Out-of-Box Experience) part, and enable the service&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 id="h-set-hostname"&gt;Set hostname&lt;/h1&gt;
&lt;p&gt;echo "The hostname you want to set" &amp;gt; /etc/hostname&lt;/p&gt;
&lt;h1 id="h-install-the-oobe-component-enable-the-service-and-configure-pacman"&gt;Install the oobe component, enable the service, and configure pacman&lt;/h1&gt;
&lt;p&gt;useradd -m -G wheel -s /bin/bash 你的用户名&lt;/p&gt;
&lt;h1 id="h-set-user-password"&gt;Set user password&lt;/h1&gt;
&lt;p&gt;passwd your username&lt;/p&gt;
&lt;h1 id="h-add-the-created-user-to-the-wheel-group"&gt;Add the created user to the wheel group&lt;/h1&gt;
&lt;p&gt;Input "visudo" and press Enter&lt;br/&gt;
Find the line with "wheel" and remove the hash symbol (#) before it:&lt;/p&gt;
&lt;h1 id="h-wheel-allallall-all"&gt;%wheel ALL=(ALL:ALL) ALL&lt;/h1&gt;
&lt;p&gt;Translated to: %wheel ALL=(ALL:ALL) ALL&lt;br/&gt;
Save and Exit&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Fix sudo permissions and install oobe&lt;br/&gt;
chown root:root /usr/bin/sudo&lt;br/&gt;
chmod 4755 /usr/bin/sudo&lt;br/&gt;
chown root:root /usr/lib/sudo/sudoers.so&lt;br/&gt;
chmod 4755 /usr/lib/sudo/sudoers.so&lt;br/&gt;
su your username&lt;br/&gt;
yay -S plasma-login-manager-git&lt;br/&gt;
yay -S plasma-setup-git&lt;br/&gt;
After installation, we switch back to the root user&lt;br/&gt;
Input "exit" and press Enter&lt;br/&gt;
Next, it's time for us to remove the user.&lt;br/&gt;
userdel -r your_username&lt;br/&gt;
Next, we will enable the login manager, network, and Bluetooth services&lt;br/&gt;
systemctl enable iwd.service&lt;br/&gt;
systemctl enable systemd-resolved.service&lt;br/&gt;
systemctl enable bluetooth.service&lt;br/&gt;
systemctl enable NetworkManager&lt;br/&gt;
systemctl enable dhcpcd&lt;br/&gt;
systemctl enable plasmalogin&lt;br/&gt;
systemctl enable plasma-setup&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Install GRUB bootloader&lt;br/&gt;
Install GRUB to the hard disk (compatible with UEFI and MBR)&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 id="h-devnvme0n1-is-an-entire-hard-disk-not-a-partition"&gt;/dev/nvme0n1 is an entire hard disk, not a partition&lt;/h1&gt;
&lt;p&gt;grub-install /dev/nvme0n1&lt;br/&gt;
Then generate the grub configuration file&lt;br/&gt;
grub-mkconfig -o /boot/grub/grub.cfg&lt;br/&gt;
Then, configure and directly enter the system&lt;br/&gt;
nano /boot/grub/grub.cfg&lt;br/&gt;
Input these contents:&lt;br/&gt;
set root=(hd0,gpt3)&lt;br/&gt;
In Linux, set the root partition in &lt;code&gt;/boot/vmlinuz-linux&lt;/code&gt; to your root partition (e.g., &lt;code&gt;/dev/nvme0n1p3&lt;/code&gt; or &lt;code&gt;/dev/sda3&lt;/code&gt;)&lt;br/&gt;
initrd /boot/initramfs-linux.img&lt;br/&gt;
boot&lt;/p&gt;
&lt;p&gt;Then press Ctrl+O, then press Enter to write the content, and press Ctrl+X to exit&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Restart your computer and enter your new system&lt;br/&gt;
Enter "exit" to exit the chroot environment&lt;br/&gt;
Then enter "umount -R /mnt" and press Enter to unmount all mount points&lt;br/&gt;
 Input "reboot", or click the start menu in the lower left corner, click "Restart", and press the Enter key to restart.&lt;br/&gt;
Remember to unplug the USB drive or CD~&lt;br/&gt;
Then wait for the system to load, and you will enter the oobe stage. After completing the oobe stage, enter the password you set to enter the desktop. Although the login interface is still in English, the desktop is in Chinese.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JaysonProject</dc:creator><pubDate>Fri, 17 Apr 2026 04:43:49 -0000</pubDate><guid>https://sourceforge.netfc4f465ee29f846b9d0f2285b7ae84d62af7ff9a</guid></item></channel></rss>