support icon indicating copy to clipboard operation
support copied to clipboard

šŸ› [BUG] - Bliss OS always freezes/gets stuck during installing.

Open CoderMaximus opened this issue 10 months ago • 45 comments

Description

When i click Install on Grub, It'll boot normally and then the ESP notice will pop up, i click enter and try to get to the Create/Modify partitions but then everything freezes, even if i don't click anything it still will, it happened to me with bliss OS 16.9.7 and 15.9.2.

Live Boot works on both.

I know this may be irrelevant, but I tried install Android Tv x86 and the installer works fine, so now I know that my USB and my PC have nothing to do with it.

Please Help and Thanks in Advance! Keep the great work going!

Reproduction steps

1. Go to 'Install Bliss OS'
2. Wait for the ESP Notice to pop up, either click enter, or if you wait it'll freeze/get suck as well.
3. Wait a couple of seconds, and voila! frozen/stuck screen.

Screenshots

No response

Logs

No response

Category

Bootup

OS Version

15.x

CoderMaximus avatar Dec 31 '24 19:12 CoderMaximus

Same here, I got freeze after entering the installation for a couple of seconds.

ThePumpkin0710 avatar Jan 08 '25 09:01 ThePumpkin0710

Description

When i click Install on Grub, It'll boot normally and then the ESP notice will pop up, i click enter and try to get to the Create/Modify partitions but then everything freezes, even if i don't click anything it still will, it happened to me with bliss OS 16.9.7 and 15.9.2.

Live Boot works on both.

I know this may be irrelevant, but I tried install Android Tv x86 and the installer works fine, so now I know that my USB and my PC have nothing to do with it.

Please Help and Thanks in Advance! Keep the great work going!

Reproduction steps

1. Go to 'Install Bliss OS'
2. Wait for the ESP Notice to pop up, either click enter, or if you wait it'll freeze/get suck as well.
3. Wait a couple of seconds, and voila! frozen/stuck screen.

Screenshots

No response

Logs

No response

Category

Bootup

OS Version

15.x

specs ?

hmtheboy154 avatar Jan 08 '25 17:01 hmtheboy154

OS: Windows 11 22H2 CPU: Intel i5 4200U GPU: Nvidia GeForce 740m SSD not HDD

Anything else

Sorry for the very late reply, my gmail didn't give me the notification that there was a reply to this post. Thanks.

CoderMaximus avatar Jan 30 '25 13:01 CoderMaximus

Did anyone found any solution ??

Adarshkunjunni avatar Jan 31 '25 17:01 Adarshkunjunni

Unfortunately No, are you experiencing the same issue?

CoderMaximus avatar Feb 01 '25 11:02 CoderMaximus

Yes, I got same problem on my Acer

ThePumpkin0710 avatar Feb 05 '25 13:02 ThePumpkin0710

Yes I tried installing older version but same issue šŸ˜•

Adarshkunjunni avatar Feb 05 '25 18:02 Adarshkunjunni

Same issue here, the installation freezes after 4 seconds and it is impossible to resume

ismaellarios avatar Mar 16 '25 16:03 ismaellarios

Exactly what's happening to me, do you think it might be a hardware issue?

CoderMaximus avatar Mar 24 '25 14:03 CoderMaximus

That might be a possibility, but we don't know which hardware cause it, maybe some related to graphics?

ThePumpkin0710 avatar Mar 25 '25 16:03 ThePumpkin0710

Maybe, but how come Androidx86 works fine? I know they are different but one is based on the other, maybe it's something in the kernel or the installer? šŸ¤·ā€ā™€ļø

CoderMaximus avatar Mar 26 '25 22:03 CoderMaximus

Maybe, but how come Androidx86 works fine? I know they are different but one is based on the other, maybe it's something in the kernel or the installer? šŸ¤·ā€ā™€ļø

I think it is a problem with the integrated graphics. My laptop has an Nvidia 820M and I think that's what creates conflict in the installer from what I've read on Telegram. Anyway in the end I managed to install it using the Windows installer.

https://docs.blissos.org/installation/using-the-windows-installer/

ismaellarios avatar Mar 30 '25 11:03 ismaellarios

Did it work? Also, you see, i have Linux installed now(Ubuntu 24.10) not windows, is there a linux installer?

CoderMaximus avatar Mar 31 '25 06:03 CoderMaximus

Maybe, but how come Androidx86 works fine? I know they are different but one is based on the other, maybe it's something in the kernel or the installer? šŸ¤·ā€ā™€ļø

I think it is a problem with the integrated graphics. My laptop has an Nvidia 820M and I think that's what creates conflict in the installer from what I've read on Telegram. Anyway in the end I managed to install it using the Windows installer.

https://docs.blissos.org/installation/using-the-windows-installer/

I have an Nvidia 740M.... but from what i managed to do i tried the manual linux install guide here: https://docs.blissos.org/installation/manual-install-on-linux/ and it worked, but this doesn't give you the option to have a RW system, which is something i do need rn so i can edit the init.sh file to get HDMI audio, ik this is a little off-topic but anyone might know a solution to this?

EDIT: I used root browser and tried to edit the file, but i didn't try to SAVE it, idk if it works yet

CoderMaximus avatar Apr 04 '25 13:04 CoderMaximus

Maybe, but how come Androidx86 works fine? I know they are different but one is based on the other, maybe it's something in the kernel or the installer? šŸ¤·ā€ā™€ļø

I think it is a problem with the integrated graphics. My laptop has an Nvidia 820M and I think that's what creates conflict in the installer from what I've read on Telegram. Anyway in the end I managed to install it using the Windows installer. https://docs.blissos.org/installation/using-the-windows-installer/

I have an Nvidia 740M.... but from what i managed to do i tried the manual linux install guide here: https://docs.blissos.org/installation/manual-install-on-linux/ and it worked, but this doesn't give you the option to have a RW system, which is something i do need rn so i can edit the init.sh file to get HDMI audio, ik this is a little off-topic but anyone might know a solution to this?

EDIT: I used root browser and tried to edit the file, but i didn't try to SAVE it, idk if it works yet

On our documentation: https://docs.blissos.org/knowledgebase/troubleshooting/remount-system-as-read-write/#remount-system-as-readwrite

Xtr126 avatar Apr 04 '25 14:04 Xtr126

Great, but how do i know which /dev/block/sd(x) i use?

EDIT: I tried sda2 cuz that's the only one there is, and afterwards i can't cd into /src bcs it says it doesn't exist....

CoderMaximus avatar Apr 04 '25 16:04 CoderMaximus

Same thing for me... it shows the 6 second thing and then freezes if I use bios mode it just freezes and enters a black log thingy

Abi8829 avatar May 09 '25 10:05 Abi8829

I have the exact same problems. The suspicious common thing is having an nVidia GPU (GTX 720M in my case).

The installer didn't show any errors before the UI popped up so I ran the debug option from GRUB (the one with DEBUG=2). This showed me errors. The last one before the freeze was nvidiafb: Device ID: xxx.

I tried troubleshooting it with ChatGPT, we tried many options (nomodeset, video=, vga=, acpi=off, noapic, etc.), mostly tried blacklisting the nvidiafb kernel module (modprobe.blacklist=nvidiafb) but it never worked and it always froze right after it was loaded (within a few seconds of getting to the debug prompt).

The solution was to remove the nvidiafb.ko file from the system.img inside the system.sfs which is a long process. Probably about as long as doing a manual install.

Why did the blacklisting not work?

This is the output when I run the debug mode. It freezes like this.

Image

mik13ST avatar May 25 '25 17:05 mik13ST

I have the exact same problems. The suspicious common thing is having an nVidia GPU (GTX 720M in my case).

The installer didn't show any errors before the UI popped up so I ran the debug option from GRUB (the one with DEBUG=2). This showed me errors. The last one before the freeze was nvidiafb: Device ID: xxx.

I tried troubleshooting it with ChatGPT, we tried many options (nomodeset, video=, vga=, acpi=off, noapic, etc.), mostly tried blacklisting the nvidiafb kernel module (modprobe.blacklist=nvidiafb) but it never worked and it always froze right after it was loaded (within a few seconds of getting to the debug prompt).

The solution was to remove the nvidiafb.ko file from the system.img inside the system.sfs which is a long process. Probably about as long as doing a manual install.

Why did the blacklisting not work?

This is the output when I run the debug mode. It freezes like this.

Image

On mine I didn't try nvidiafb, but removing nouveau.ko worked and the system booted. modprobe.blacklist must be not recognized by Android's modprobe although it works in other Linux distros. module_blacklist=nvidiafb or adding a line blocklist nvidiafb (not blacklist) to /data/vendor/modules.blocklist should work instead of deleting files. module_blacklist is Linux kernel's own method for blacklisting modules, it works in both Linux and Bliss.

Xtr126 avatar May 25 '25 19:05 Xtr126

I found another solution: I switched to v15.8.6 instead of v14.10.3. The freeze no longer happens now.

Also, 14.10.3 was failing to set up GRUB with UEFI or legacy BIOS and 15.8.6 solves that too.

mik13ST avatar May 26 '25 19:05 mik13ST

I have the exact same problems. The suspicious common thing is having an nVidia GPU (GTX 720M in my case).

The installer didn't show any errors before the UI popped up so I ran the debug option from GRUB (the one with DEBUG=2). This showed me errors. The last one before the freeze was nvidiafb: Device ID: xxx.

I tried troubleshooting it with ChatGPT, we tried many options (nomodeset, video=, vga=, acpi=off, noapic, etc.), mostly tried blacklisting the nvidiafb kernel module (modprobe.blacklist=nvidiafb) but it never worked and it always froze right after it was loaded (within a few seconds of getting to the debug prompt).

The solution was to remove the nvidiafb.ko file from the system.img inside the system.sfs which is a long process. Probably about as long as doing a manual install.

Why did the blacklisting not work?

This is the output when I run the debug mode. It freezes like this.

Image

We have something almost in common i have a newer gpu tho, i have a gtx860m so maybe its with the gtx xxx series

Abi8829 avatar May 29 '25 17:05 Abi8829

I wish someone makes a patcher for this issue so its done automatically because for now i dont wanna spend minutes if not hours repairing something

Abi8829 avatar May 29 '25 17:05 Abi8829

https://tested.blissos.org/hardware/gpus/nvidia/ This page mentions the support for nVidia cards is not great with BlissOS and that it should be using the nouveau driver, but that's not the case.

I wouldn't make a patcher, I would instead investigate why is the nvidiafb driver included in the first place.

mik13ST avatar May 29 '25 18:05 mik13ST

https://tested.blissos.org/hardware/gpus/nvidia/ This page mentions the support for nVidia cards is not great with BlissOS and that it should be using the nouveau driver, but that's not the case.

I wouldn't make a patcher, I would instead investigate why is the nvidiafb driver included in the first place.

Hmmm maybe i could make a script that removes the file without being annoying, maybe .sh or .batch or .ps1 or something c++ related but ofcourse with chatgpt cus i dont know anything about coding

Abi8829 avatar May 30 '25 10:05 Abi8829

@Xtr126 I think modprobe doesnt work in android-x86 hence why it does nothing in bliss because bliss is heavily built off of androidx86

Abi8829 avatar May 30 '25 10:05 Abi8829

@Xtr126 chatgpt said to do this: module_blacklist=nvidiafb,nouveau

Abi8829 avatar May 30 '25 10:05 Abi8829

Ok so ill try this script made by gpt: (havent tested yet)

PowerShell script to extract system.img or system.sfs, delete nvidiafb.ko, and repackage it

$ErrorActionPreference = "Stop"

function Download-7Zip { $zipUrl = "https://www.7-zip.org/a/7zr.exe" $zipExe = "$PSScriptRoot\7zr.exe" if (-Not (Test-Path $zipExe)) { Write-Host "Downloading 7-Zip CLI..." Invoke-WebRequest -Uri $zipUrl -OutFile $zipExe } return $zipExe }

function Extract-SystemImage { param ( [string]$imagePath, [string]$outputDir, [string]$zipExe ) Write-Host "Extracting system image..." & $zipExe x "$imagePath" -o"$outputDir" | Out-Null }

function Delete-KO { param ( [string]$rootPath ) Write-Host "Searching and deleting nvidiafb.ko..." Get-ChildItem -Path $rootPath -Recurse -Filter "nvidiafb.ko" | ForEach-Object { Write-Host "Deleting: $($.FullName)" Remove-Item -Force $.FullName } }

function Repack-SystemImage { param ( [string]$folder, [string]$outputFile, [string]$zipExe ) Write-Host "Repacking into new system.img..." Push-Location $folder & $zipExe a -tzip "$outputFile" * | Out-Null Pop-Location }

----- MAIN -----

$imagePath = Read-Host "Enter path to system.img or system.sfs" if (-Not (Test-Path $imagePath)) { Write-Error "File not found: $imagePath" exit 1 }

$baseName = [System.IO.Path]::GetFileNameWithoutExtension($imagePath) $workDir = "$PSScriptRoot$baseName-contents" $outputImage = "$PSScriptRoot$baseName-cleaned.zip"

$zipExe = Download-7Zip Extract-SystemImage -imagePath $imagePath -outputDir $workDir -zipExe $zipExe Delete-KO -rootPath $workDir Repack-SystemImage -folder $workDir -outputFile $outputImage -zipExe $zipExe

Write-Host "`nāœ… Done! Cleaned image saved to: $outputImage"

Abi8829 avatar May 30 '25 10:05 Abi8829

heres the script :D (not tested) https://www.mediafire.com/file/snjpvjleoq9fqt5/script.ps1/file

Abi8829 avatar May 30 '25 10:05 Abi8829

SCRIPT DOESNT WORK BECAUSE 7ZIP DOESNT SUPPORT SFS FIXING RN

Abi8829 avatar May 30 '25 10:05 Abi8829

I give up. if u wannna fix the script ask me for the new updated link

Abi8829 avatar May 30 '25 11:05 Abi8829