diff --git a/install-bliss-os/manual-install-on-linux.md b/install-bliss-os/manual-install-on-linux.md index 6bb75f4..cfa27d4 100644 --- a/install-bliss-os/manual-install-on-linux.md +++ b/install-bliss-os/manual-install-on-linux.md @@ -8,16 +8,21 @@ Create a directory at / as /blissos 1. Extract initrd.img, ramdisk.img, kernel and system.\* from your desired blissOS ISO into the /blissos directory. 2. Make a dir called /blissos/data (Only valid for android-pie, for higher versions you need data.img, can be created with make\_ext4fs) -3. Create a new grub entry with this the following code: +3. Create a new grub entry by pasting the below code into `/etc/grub.d/40_custom` file: `menuentry "BlissOS" { set SOURCE_NAME="blissos" search --set=root --file /$SOURCE_NAME/kernel `\ ` linux /$SOURCE_NAME/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86_64 androidboot.selinux=permissive acpi_sleep=s3_bios,s3_mode SRC=/$SOURCE_NAME `\ ` initrd /$SOURCE_NAME/initrd.img`\ `}` -### **Example for making a 8gb image:** +4. Run: + +`sudo grub-mkconfig -o /boot/grub/grub.cfg` + +### **Example for making data.img:** ``` -dd if=/dev/zero of=data.img bs=1024 count=0 seek=$[102410248] +dd if=/dev/zero of=data.img bs=1024 count=0 seek=$[1024*1024*8] sudo mkfs.ext4 -F data.img ``` +In the above command, `1024*1024*8`, here "8" represents size of data.img in GB. Which means that this command will make 8GB data.img, this can be changed according to needs