From 25a0ae76a7c432955fd2cb3a7439a6b121596f75 Mon Sep 17 00:00:00 2001 From: noobiangodd <75197196+noobiangodd@users.noreply.github.com> Date: Sat, 19 Oct 2024 14:26:41 +0100 Subject: [PATCH 1/3] Update manual-install-on-linux.md Added systemd boot, fixed missing flag from PC-mode in grub install --- Installation/manual-install-on-linux.md | 36 ++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/Installation/manual-install-on-linux.md b/Installation/manual-install-on-linux.md index 4704f6ae..7235a23b 100644 --- a/Installation/manual-install-on-linux.md +++ b/Installation/manual-install-on-linux.md @@ -26,7 +26,7 @@ menuentry "BlissOS (Intel) w/ FFMPEG" { menuentry "BlissOS PC-Mode (Default) w/ FFMPEG" { set SOURCE_NAME="blissos" search --set=root --file /$SOURCE_NAME/kernel - linux /$SOURCE_NAME/kernel quiet root=/dev/ram0 SRC=/$SOURCE_NAME + linux /$SOURCE_NAME/kernel PC_MODE=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME initrd /$SOURCE_NAME/initrd.img } @@ -49,6 +49,40 @@ Alternatively, one can use `truncate` truncate -s 8G data.img mkfs.ext4 -F -b 4096 -L "/data" data.img ``` +## Alternative using systemd-boot +This method assumes you already have systemd-boot used by your Linux installation, please refer to your distro's documentation if you wish to install it. +1. Extract initrd.img and kernel from the blissOS ISO to your EFI partition. (You may rename the files if they conflict with your current Linux installation just ensure you match the config files to the new filenames) +2. Create a /blissOS directory on a ext4 partition on the same disk. Copy system.sys and create a data directory inside the /blissOS directory. +2b. If you do not have an ext4 partition you can use FAT32 or NTFS with data.img file (see above, if using FAT32 the data.img file cannot be larger than 4GB). +3. Create entries for blissOS in /boot/loader/entries/ (or /efi/loader/entries, if you mounted your ESP parittion as /efi). Each entry should be a seperate .conf file. +blissos-default.conf +``` +title BlissOS +linux /kernel +initrd /initrd.img +options FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/blissos rw +``` +blissos-intel.conf +``` +title BlissOS +linux /kernel +initrd /initrd.img +options HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/blissos rw +``` +blissos-pcmode.conf +``` +title BlissOS +linux /kernel +initrd /initrd.img +options PC_MODE=1 quiet root=/dev/ram0 SRC=/blissos rw +``` +blissos-pcmode-intel.conf +``` +title BlissOS +linux /kernel +initrd /initrd.img +options PC_MODE=1 HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/blissos rw +``` Here are some additional tips for installing BlissOS on Linux: - Do not try to install Bliss OS on exotic linux filesystems such ZFS, XFS, BtrFS, currently not every filesystem has built-in support in the Bliss OS kernel, ext4 is supported. If you install it on an unsupported filesystem, it will be stuck at `Detecting Android-x86...`. You will probably have to compile your own kernel and use a modified initrd.img to boot from other filesystems. From e77cb14370f605705abbace44658bcc9d033c16a Mon Sep 17 00:00:00 2001 From: noobiangodd <75197196+noobiangodd@users.noreply.github.com> Date: Sat, 19 Oct 2024 14:33:32 +0100 Subject: [PATCH 2/3] Update manual-install-on-linux.md fix typo --- Installation/manual-install-on-linux.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Installation/manual-install-on-linux.md b/Installation/manual-install-on-linux.md index 7235a23b..7c53dc1f 100644 --- a/Installation/manual-install-on-linux.md +++ b/Installation/manual-install-on-linux.md @@ -55,6 +55,7 @@ This method assumes you already have systemd-boot used by your Linux installatio 2. Create a /blissOS directory on a ext4 partition on the same disk. Copy system.sys and create a data directory inside the /blissOS directory. 2b. If you do not have an ext4 partition you can use FAT32 or NTFS with data.img file (see above, if using FAT32 the data.img file cannot be larger than 4GB). 3. Create entries for blissOS in /boot/loader/entries/ (or /efi/loader/entries, if you mounted your ESP parittion as /efi). Each entry should be a seperate .conf file. + blissos-default.conf ``` title BlissOS From 5d71c2d80e3a6bc7cf929b4b08fb62a89ec1513d Mon Sep 17 00:00:00 2001 From: noobiangodd <75197196+noobiangodd@users.noreply.github.com> Date: Sat, 19 Oct 2024 14:44:58 +0100 Subject: [PATCH 3/3] Update manual-install-on-linux.md update ffmpeg flas --- Installation/manual-install-on-linux.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Installation/manual-install-on-linux.md b/Installation/manual-install-on-linux.md index 7c53dc1f..fc91b313 100644 --- a/Installation/manual-install-on-linux.md +++ b/Installation/manual-install-on-linux.md @@ -12,28 +12,28 @@ Create a directory at / as /blissos menuentry "BlissOS (Default) w/ FFMPEG" { set SOURCE_NAME="blissos" search --set=root --file /$SOURCE_NAME/kernel - linux /$SOURCE_NAME/kernel FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME + linux /$SOURCE_NAME/kernel FFMPEG_OMX_CODEC=1 FFMPEG_CODEC2_PREFER=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME initrd /$SOURCE_NAME/initrd.img } menuentry "BlissOS (Intel) w/ FFMPEG" { set SOURCE_NAME="blissos" search --set=root --file /$SOURCE_NAME/kernel - linux /$SOURCE_NAME/kernel HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME + linux /$SOURCE_NAME/kernel HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_OMX_CODEC=1 FFMPEG_CODEC2_PREFER=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME initrd /$SOURCE_NAME/initrd.img } menuentry "BlissOS PC-Mode (Default) w/ FFMPEG" { set SOURCE_NAME="blissos" search --set=root --file /$SOURCE_NAME/kernel - linux /$SOURCE_NAME/kernel PC_MODE=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME + linux /$SOURCE_NAME/kernel PC_MODE=1 FFMPEG_OMX_CODEC=1 FFMPEG_CODEC2_PREFER=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME initrd /$SOURCE_NAME/initrd.img } menuentry "BlissOS PC-Mode (Intel) w/ FFMPEG" { set SOURCE_NAME="blissos" search --set=root --file /$SOURCE_NAME/kernel - linux /$SOURCE_NAME/kernel PC_MODE=1 HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME + linux /$SOURCE_NAME/kernel PC_MODE=1 HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_OMX_CODEC=1 FFMPEG_CODEC2_PREFER=1 quiet root=/dev/ram0 SRC=/$SOURCE_NAME initrd /$SOURCE_NAME/initrd.img } ``` @@ -61,28 +61,28 @@ blissos-default.conf title BlissOS linux /kernel initrd /initrd.img -options FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/blissos rw +options FFMPEG_OMX_CODEC=1 FFMPEG_CODEC2_PREFER=1 quiet root=/dev/ram0 SRC=/blissos rw ``` blissos-intel.conf ``` title BlissOS linux /kernel initrd /initrd.img -options HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/blissos rw +options HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_OMX_CODEC=1 FFMPEG_CODEC2_PREFER=1 quiet root=/dev/ram0 SRC=/blissos rw ``` blissos-pcmode.conf ``` title BlissOS linux /kernel initrd /initrd.img -options PC_MODE=1 quiet root=/dev/ram0 SRC=/blissos rw +options PC_MODE=1 FFMPEG_OMX_CODEC=1 FFMPEG_CODEC2_PREFER=1 quiet root=/dev/ram0 SRC=/blissos rw ``` blissos-pcmode-intel.conf ``` title BlissOS linux /kernel initrd /initrd.img -options PC_MODE=1 HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_CODEC=1 FFMPEG_PREFER_C2=1 quiet root=/dev/ram0 SRC=/blissos rw +options PC_MODE=1 HWC=drm_minigbm_celadon GRALLOC=minigbm FFMPEG_OMX_CODEC=1 FFMPEG_CODEC2_PREFER=1 quiet root=/dev/ram0 SRC=/blissos rw ``` Here are some additional tips for installing BlissOS on Linux: