Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Boot Fails Before Login After New Install [SOLVED]
Boot Fails Before Login After New Install [SOLVED]
Hey,
I'm trying to install the operating system from a cd onto a old hard drive.
The hard drive makes a few old noises but I could install Windows 7 and it ran.
My mainboard is a msi z170-a pc mate with a bios update from 2018 and it should be the latest available.
The secure boot is disabled. And I install with uefi which becomes available after you enable Windows 8.1/10 something in the bios. After that you cannot select it and it cannot be set back to legacy/uefi.
The installation process goes fine with both net installer and the offline install option which I tried.
But I end up with the same result. Which is shown in the Pictures.
I'm trying to install the operating system from a cd onto a old hard drive.
The hard drive makes a few old noises but I could install Windows 7 and it ran.
My mainboard is a msi z170-a pc mate with a bios update from 2018 and it should be the latest available.
The secure boot is disabled. And I install with uefi which becomes available after you enable Windows 8.1/10 something in the bios. After that you cannot select it and it cannot be set back to legacy/uefi.
The installation process goes fine with both net installer and the offline install option which I tried.
But I end up with the same result. Which is shown in the Pictures.
- Attachments
-
- 6..png (35.57 KiB) Viewed 4629 times
-
- 5..png (50.47 KiB) Viewed 4628 times
-
- 3..png (39.1 KiB) Viewed 4629 times
Last edited by debian-no on 2021-08-05 21:10, edited 3 times in total.
Re: Boot Fails Before Login After New Install
You are probably missing some firmware so it can't start graphical session. Switch to new terminal with ctrl+alt+F1, or some other F number. There log in and run sudo journalctl -b -p4, and post here what you get. It could be few pages, but hopefully not, for that just scroll with arrow keys. It will tell us what firmware is missing, and if there are other issues.
Re: Boot Fails Before Login After New Install
What are the ACPI BIOS ERRORS ? I'll try this on another machine.
Re: Boot Fails Before Login After New Install
Device manufactures design their devices to generally work well with Windows, not Linux. So there tends to be some firmware issues. But that doesn't mean you can't run Linux on it. ACPI is power interface used by system to detect and configure devices and that alone could be reason why your device is not running well, I had several devices with rather bad ACPI reading and managed to get them to work.
You could try to start it with acpi=off kernel parameter just to see if there are difference. If it still has same issue with not starting graphical session then it is missing firmware that you need to install.
You could try to start it with acpi=off kernel parameter just to see if there are difference. If it still has same issue with not starting graphical session then it is missing firmware that you need to install.
Re: Boot Fails Before Login After New Install
Idk how … start terminal when ?
$ sudo sysctl acpi=0 ?
$ sudo sysctl acpi=0 ?
Re: Boot Fails Before Login After New Install
I checked the first box during the install. Desktop someting, Gnome interface checked, and last box also checked Network ?. Unchecked Printer and web.
Re: Boot Fails Before Login After New Install
Code: Select all
sudo nano /etc/default/grub
So it looks like
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
Code: Select all
sudo update-grub2
Re: Boot Fails Before Login After New Install
Here is the log. I tried to install Ubuntu too. The install did not start to begin with and gave me this.
What are the dates at the end of the error information ?
What are the dates at the end of the error information ?
- Attachments
-
- ubuntu install.png (74.02 KiB) Viewed 4567 times
-
- log debian.png (63 KiB) Viewed 4567 times
Re: Boot Fails Before Login After New Install
Can you try to install using non-free image. Here is link to non-free live iso for Debian 11 which will be released in 9 days. Can you try to install with that, also from log you can see that you are missing firmware for amd GPU. That should be in non-free image and it should install it automatically for you.
https://cdimage.debian.org/images/unoff ... so-hybrid/
https://cdimage.debian.org/images/unoff ... so-hybrid/
Re: Boot Fails Before Login After New Install
Should I enable secure boot ? I saw people use it but it makes problems right ?
Re: Boot Fails Before Login After New Install
I had secure boot enabled during the install after it needed to be disabled because of a black screen.
The log comes soon because there was still the acpi error that appeared for Ubuntu, Debian 10.10 and Debian 11.
Debian 11 Worked !!! Tnx kindly ! I could log in after the install ! I like this alot !! Tnx kind sir !
I will post the log too.
The log comes soon because there was still the acpi error that appeared for Ubuntu, Debian 10.10 and Debian 11.
Debian 11 Worked !!! Tnx kindly ! I could log in after the install ! I like this alot !! Tnx kind sir !
I will post the log too.
Re: Boot Fails Before Login After New Install
Secure boot is supported as of Debian 10, so no need to disable it during or after installation. As for logs, it could still be handy to check them. But this time copy paste from system rather then taking picture. Just add them to code block in the comment. I am not sure if non-free installer will install microcode for cpu. Also we could check those errors and google them to see if they are something dangerous or if something can be done about them
Just run
That will save output to save.txt on your desktop, so you can easily copy it here. Also, since original problem is solved, can you edit your first post and add [SOLVED] to the title.
Just run
Code: Select all
journalctl -b -p4 > ~/Desktop/save.txt
Re: Boot Fails Before Login After New Install
Did you create root account? As then sudo is not enabled for your user. Check if you are in sudo group, for that just run groups. From logs it seems you are not in sudoers file. To add your user to it first log in as root.
sudo -i
Then run
adduser username sudo
Just place name of your user in there. Then you need to log out from session and log back in, check groups again to see if you are in sudo group. After that you should be able to use sudo normally. I am unsure now if sudo installed if you enable root account, post back if you manage to add your user.
Seems that your drive has some issues, check it with smartmontools. Just so you know the state of it.
https://www.xmodulo.com/check-hard-disk ... tools.html
sudo -i
Then run
adduser username sudo
Just place name of your user in there. Then you need to log out from session and log back in, check groups again to see if you are in sudo group. After that you should be able to use sudo normally. I am unsure now if sudo installed if you enable root account, post back if you manage to add your user.
Seems that your drive has some issues, check it with smartmontools. Just so you know the state of it.
https://www.xmodulo.com/check-hard-disk ... tools.html
Re: Boot Fails Before Login After New Install [SOLVED]
Also did you delete a reply, as I am sure I saw your reply, but now can't see it any more? The one with log file.
Also I don't think you can log in as sudo -i when you don't have sudo right. My mistake there, sorry about that. Log in as root with
su -
Then run
adduser username sudo
Also I don't think you can log in as sudo -i when you don't have sudo right. My mistake there, sorry about that. Log in as root with
su -
Then run
adduser username sudo
Last edited by mm3100 on 2021-08-05 21:35, edited 1 time in total.
Re: Boot Fails Before Login After New Install [SOLVED]
su root was used because I didn't figure it out. I'll try to save the log from the recovery mode somewhere.
Re: Boot Fails Before Login After New Install [SOLVED]
It was the wrong log I want to get the one from the recovery mode