Kali bare metal install stuck black screen

TomTK

New Member
Joined
Mar 2, 2022
Messages
5
Reaction score
0
Credits
51
Hello,

Sorry for the vague title but I'm not sure how to describe what terminal I'm looking at. It's named GNU Grub version 2.04. See image. Im a noob at bare metal, I usually boot from live usbs but this is my first bare metal installation.

20220302_214241.jpg


20220302_214514.jpg


Its my intention to install on partition(4) of my windows notebook.

From what I've already gathered from the Web, I need to change the boot device from this grub menu to the partition I want. When I search help for Grub I get lots of GUI installs and I can't even get that far.

Useful information:
Intel celeron platform
SanDisk 128gb usb 3.1 usb
Kali-linux-2022.1-installer-amd64
Used etcher and validated drive
Used rufus
Safe mode off
Changed boot order
After laptop splash screen I hit this black screen

*it's on a dual boot system, not intended for a daily driver. I've been using kali on and off for a few months and even have a alfa card that can run in monitor mode.

I'm studying for my CompTIA CySA+ exam, next Sept time is my goal, this would really help me in having a portable kali rather than on my server rack and remoting in.

Please help, I'll really appreciate it.
 
Last edited:


N

NorthWest

Guest
TomTK wrote:
Its my intention to install on partition(4)
According to the partition table in the image "Disk0, partition4" is 517MB which of course is insufficent for installation.
Presumably you wish to install Kali to "Disk 1".

Somehow you have installed grub and it has thrown you into the grub shell, but it is of no use to you if Kali is not installed.
I'm not familiar with the Kali installer, but normally, when installing a distribution from usb, the kernel on the usb boots you into the installer itself, and not into grub. During the installation after it's nearly completed, it usually asks you where you wish to install grub so that you can choose whether it's on the disk, on a partition or on removable media. Maybe grub has been put on your system from a failed attempt at installation, so it's showing up ... that's possible.

Usually after the installation of a linux distribution on a dual boot computer, you install grub to the disk, and grub will pick up that there's another installation which it will give you the choice of choosing when you boot up next from a menu that it presents.

The other aspect that occurs to me is the quality of the installation media. It needs to be checked to be okay.
 
Last edited by a moderator:

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,043
Reaction score
884
Credits
7,426
Another possibility is that of the Graphics card in that machine. Do you know what it is?
I assume your trying to install to the 27.62 Gb partition which is minimal for a linux install it should be 30 to 40 GB anyway. And if your going to add any software or files should be larger than that.
 
OP
T

TomTK

New Member
Joined
Mar 2, 2022
Messages
5
Reaction score
0
Credits
51
TomTK wrote:

According to the partition table in the image "Disk0, partition4" is 517MB which of course is insufficent for installation.
Presumably you wish to install Kali to "Disk 1".

Somehow you have installed grub and it has thrown you into the grub shell, but it is of no use to you if Kali is not installed.
I'm not familiar with the Kali installer, but normally, when installing a distribution from usb, the kernel on the usb boots you into the installer itself, and not into grub. During the installation after it's nearly completed, it usually asks you where you wish to install grub so that you can choose whether it's on the disk, on a partition or on removable media. Maybe grub has been put on your system from a failed attempt at installation, so it's showing up ... that's possible.

Usually after the installation of a linux distribution on a dual boot computer, you install grub to the disk, and grub will pick up that there's another installation which it will give you the choice of choosing when you boot up next from a menu that it presents.

The other aspect that occurs to me is the quality of the installation media. It needs to be checked to be okay.
I understand what you mean, I have installed Kali successfully once on another machine, I had no issues and proceeded to GUI as normal. In regards to what partition I wanted to install it on, That was an error, my apologies. I would of checked before I installed it of course.

I had an AMD machine and I was told that this was specific to issues with amd based processors, but now this issue has followed me over to Intel on different hardware.
 
OP
T

TomTK

New Member
Joined
Mar 2, 2022
Messages
5
Reaction score
0
Credits
51
Another possibility is that of the Graphics card in that machine. Do you know what it is?
I assume your trying to install to the 27.62 Gb partition which is minimal for a linux install it should be 30 to 40 GB anyway. And if your going to add any software or files should be larger than that.
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 605 (rev 06)

Yes, I have a soldered on memory chip in this notebook, its about 60gb total, I did want to bual boot this thing with 28gb windows partition and the rest kali. I have an SD hard and usb sticks to compensate for lack of onboard storage.
 
OP
T

TomTK

New Member
Joined
Mar 2, 2022
Messages
5
Reaction score
0
Credits
51
if you follow this thread , i show how to get kali with persistence onto a usb : https://linux.org/threads/usb-linux-boot-ventoy.29944/
I tried that and I can boot no problem. Its great.... however I seem to always freeze on usbs i use, I have tried 3 different USBs. I boot into the USB and make it into tbe desktop no problem, but about 10 seconds go by and I see that the ram and cpu indicators stop moving and I cannot move my mouse, I was told online that Its because I was doing apt install and upgrade and usbs don't like that. And that makes things difficult for me.
 
OP
T

TomTK

New Member
Joined
Mar 2, 2022
Messages
5
Reaction score
0
Credits
51
I have encountered a lot of these tutorials, but all of them seem to assume I already have installed Kali.

All I have done is flashed the installer on the usb and changed boot options. This screen shows up. Can't get into the installer options.

USB boots freezes and VM's are too demanding for my PC.
 

Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,772
Reaction score
1,183
Credits
13,201
When you boot your system, just stop at the Grub screen. If you don’t see this screen, keep holding down the Shift key at the boot time.

At the grub screen, press ‘E’ key to go into the editing mode.

Now, there are several ways you can try to disable these drivers. My favorite way is to disable all video/graphics card using nomodeset.

In the grub menu look for the line

linux /boot/vmlinuz-(your kernel number)-generic root= blah blah blah quiet splash $vt_handoff

here is where you add nomodeset after the quiet splash $vt_handoff

so it will look like

linux /boot/vmlinuz-(your kernel number)-generic root blah blah blah quiet splash $vt_handoff nomodeset

Hopefully you can login but don’t be too happy yet just because you are able to login to your system now. What you did was temporary and the next time you boot into your system, your system will still freeze because it will still try to load the graphics drivers.

What you can do here to change the grub configuration so that the Linux kernel will not try to load the graphics driver before the display server.

To do that, open the terminal (use Ctrl+Alt+T shortcut) and then use the following command to open the grub configuration file in text editor: Here I am using gedit for text editor yours may be different

Code:
sudo gedit /etc/default/grub

You’ll have to use your password to open this file. Once you have the text file opened, look for the line that contains: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash".

Change this line to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Save the file and update grub so that changes are taken into effect. Use this command:

Code:
sudo update-grub

Now you should be able to install Graphics drivers through the driver manager
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation


Top