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]

Ask for help with issues regarding the Installations of the Debian O/S.
Message
Author
debian-no
Posts: 33
Joined: 2021-08-04 14:08

Boot Fails Before Login After New Install [SOLVED]

#1 Post by debian-no »

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.
Attachments
6..png
6..png (35.57 KiB) Viewed 4629 times
5..png
5..png (50.47 KiB) Viewed 4628 times
3..png
3..png (39.1 KiB) Viewed 4629 times
Last edited by debian-no on 2021-08-05 21:10, edited 3 times in total.

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: Boot Fails Before Login After New Install

#2 Post by mm3100 »

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.

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#3 Post by debian-no »

What are the ACPI BIOS ERRORS ? I'll try this on another machine.

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: Boot Fails Before Login After New Install

#4 Post by mm3100 »

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.

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#5 Post by debian-no »

Idk how … start terminal when ?
$ sudo sysctl acpi=0 ?

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#6 Post by debian-no »

I checked the first box during the install. Desktop someting, Gnome interface checked, and last box also checked Network ?. Unchecked Printer and web.

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: Boot Fails Before Login After New Install

#7 Post by mm3100 »

Code: Select all

sudo nano /etc/default/grub
Then add acpi=off to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

So it looks like

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
Press ctrl+O to save, ctrl+X to exit. Then to finish run:

Code: Select all

sudo update-grub2
If all is well, it shouldn't return error or warnings, unless there is missing firmware. As for missing firmware it should be in journalctl.

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#8 Post by debian-no »

Tnx alot ! I'll try all of this !

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#9 Post by debian-no »

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 ?
Attachments
ubuntu install.png
ubuntu install.png (74.02 KiB) Viewed 4567 times
log debian.png
log debian.png (63 KiB) Viewed 4567 times

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: Boot Fails Before Login After New Install

#10 Post by mm3100 »

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/

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#11 Post by debian-no »

On It !

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#12 Post by debian-no »

Should I enable secure boot ? I saw people use it but it makes problems right ?

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#13 Post by debian-no »

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.

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: Boot Fails Before Login After New Install

#14 Post by mm3100 »

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

Code: Select all

journalctl -b -p4 > ~/Desktop/save.txt
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.

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: Boot Fails Before Login After New Install

#15 Post by mm3100 »

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

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install

#16 Post by debian-no »

I'll try all that.

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: Boot Fails Before Login After New Install [SOLVED]

#17 Post by mm3100 »

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
Last edited by mm3100 on 2021-08-05 21:35, edited 1 time in total.

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install [SOLVED]

#18 Post by debian-no »

su root was used because I didn't figure it out. I'll try to save the log from the recovery mode somewhere.

debian-no
Posts: 33
Joined: 2021-08-04 14:08

Re: Boot Fails Before Login After New Install [SOLVED]

#19 Post by debian-no »

It was the wrong log I want to get the one from the recovery mode

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: Boot Fails Before Login After New Install [SOLVED]

#20 Post by mm3100 »

No need to get anything from recovery mode, it won't say anything more.

Post Reply