Skip to content
This repository was archived by the owner on Jun 4, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions install-bliss-os/manual-install-on-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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