LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-05-2023, 01:23 AM   #1
Deb_Poindexter_x86
LQ Newbie
 
Registered: Feb 2023
Posts: 2

Rep: Reputation: 0
Debian Install Failing to Boot


Hey Forum, first time posting here, really hope you can help me out.

I installed a Debian distro on my Dell laptop about a year ago. It was the latest distro at that time.

I spent ages getting the network drivers to work and have subsequently configured a load of software packages inside it.

I Didn't use it for about 6 months. Then it wouldn't boot. No error, just a black screen after POST and it power cycles again.

I almost gave up on it and went to erase the disc with an Ubuntu installer but noticed all the partitions are still intact. This has happened to me many times and its about time I learned how to correct this situation rather than blow away the OS and start again every time it happens.

Can someone please advise me in detail what steps I should take to reinstall / rebuild the GRUB loader? Im pretty good with linux but I have a big knowledge gap when it comes to booting it.

Really appreciate your help.
 
Old 02-05-2023, 03:59 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,577

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
Is Debian the only OS installed on that computer? If not, what other OS is installed? If there is another OS, does it boot? Do you know if the system is UEFI or Legacy/CSM boot? Is it actually a blank screen or do you see a grub prompt in the upper left (grub>)? Have you read the pages at the Debian site linked below? The first link is for an EFI install and the second is for a Legacy/CSM, make sure you get the correct one. If you have problems post back.

https://wiki.debian.org/GrubEFIReinstall

https://wiki.debian.org/GrubLegacyRecover
 
Old 02-05-2023, 07:06 AM   #3
Deb_Poindexter_x86
LQ Newbie
 
Registered: Feb 2023
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the quick response. Yep its the only OS. All partitions were removed before I installed Deb.

It has been running on UEFI...

Yep totally black screen. Nothing at all, it just boot loops. It doesn't take long enough during a loop to even try to boot. It just sees nothing. The laptop is fine as the ubuntu installed runs OK and I can get into a USB OS with shell access etc. I just don't know what to do in that shell.

I just having a look around in the BIOS setting now. In boot sequence I see nothing. Completely empty.

There is an option to add boot option. When I click that the add boot option dialogue box contains:

-Boot option name
-File System List
-File Name (with a radio button)

When I click the radio button I see under directories an EFI option which I can browse then in there I see a kali folder and in that is grubx64.efi which I assume is the file it should be pointing at to boot?

So I selected it and BOOM! She boots once more.

Last edited by Deb_Poindexter_x86; 02-05-2023 at 09:59 AM.
 
Old 02-05-2023, 09:53 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,398

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
Quote:
Yep its the only OS. All partitions were removed before I installed Deb.

I have set it to legacy boot just to make life easier.

Yep totally black screen. Nothing at all, it just boot loops. It doesn't take long enough during a loop to even try to boot. It just sees nothing. The laptop is fine as the ubuntu installed runs OK and I can get into a USB OS with shell access etc. I just don't know what to do in that shell.
This doesn't make any sense. You say it is the only os, but later you say the ubunut installed runs okay.

Quote:
I can get into a USB OS with shell access etc.
is the debian install on a usb?

Quote:
I have set it to legacy boot just to make life easier
Was this before or after the install? Sometimes this will make things worst.

Last edited by colorpurple21859; 02-05-2023 at 10:05 AM.
 
Old 02-05-2023, 03:14 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,398

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
Quote:
When I click the radio button I see under directories an EFI option which I can browse then in there I see a kali folder and in that is grubx64.efi which I assume is the file it should be pointing at to boot?

So I selected it and BOOM! She boots once more.
Do you have to do this every time or does it now boot like it should?
 
Old 02-05-2023, 04:28 PM   #6
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Since its a Dell, you can run the diagnostic test in the BIOS which will check for common hardware errors. Once that is ruled out then other more complex testing can be done.
 
Old 02-06-2023, 11:11 PM   #7
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by colorpurple21859 View Post
This doesn't make any sense. You say it is the only os, but later you say the ubunut installed runs okay.
Not to mention selecting the Kali EFI entry boots something, is it Debian Ubuntu or Kali?

Best way to fix non-booting Debian or Kali is to boot the install medium (net CD or whatever was used to install it), select Graphical rescue mode, go through the questions, select the root partition, accept the suggestion to also mount the EFI partition (since it appears install was done in UEFI mode), then select "Reinstall Grub" and reboot.
 
Old 02-07-2023, 07:32 AM   #8
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,154

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Quote:
I just having a look around in the BIOS setting now. In boot sequence I see nothing. Completely empty.
Drive may be shot. Hope you have backups. There should always be something in the boot sequence.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failing to boot up due to failing to acces the GRUB spenot09 Linux - Software 7 10-19-2015 10:56 AM
compiz failing, GLcore.so failing to load Schrambo Linux - Desktop 4 02-23-2008 06:13 PM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 02:37 PM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration