Widespread Augmented Reality

Widespread Augmented Reality
Click on the image to get the Android Augmented Reality Heads up Display

Wednesday, September 6, 2023

Kali Linux Dual Boot on Lenovo Desktop

SigintOS in dual boot keeps failing. Will see if 2013 desktop hardware accepts Kali dual boot

Use Windows Disk Management, to shrink C volume to allow at least 100GB of free space after the Windows partion. I call it D: Linux
I could format it as ext4 and label it D: Linux, but the Linux installer will likely not recognize it anyway and I'll have to set up a / root partion and swap during the Linux install.
I do this anyway: There is now a C: Windows and D: Linux
Download smaller installer boot image from https://www.kali.org/get-kali/#kali-platforms
Create bootable USB with https://rufus.ie/en/
Turn on Lenovo desktop while holding or tapping F1 to access BIOS
In BIOS, disable Secure Boot, disable CSM, change boot priority to UEFI
Insert bootable USB and restart with F2 or F12 keys held down to ensure booting from USB.
With USB booted, select graphical install.
Install in contiguous free space, but installer does not see the ext4 set up earlier.
So select manual install and partition the free space as / and swap
The following is covered in https://www.section.io/engineering-education/setting-up-kali-linux-for-dual-boot/ and here https://www.kali.org/docs/installation/dual-boot-kali-with-linux/:
partition disks, erase disks, write changes to disk, install base system
The manual partition of D: Linux resulted in immediate fail of "Install the base system"
Using partitioning to delete my Linux partitions created with Windows.
Now it is free space
Select partition and select automatic partition
Now "Install the base system" is proceeding with a progress bar
After a long while of progress, the install fails on busybox
Go back and recreate bootable USB with larger "installer-everything" image
Do not select all in one partition but rather select "/home, /temp et. al." option Install the base system Select and install software If fail, abort installation, delete ext4 partitions, reboot. Select automatic partition with one / Select only default tools and top 10 Install the base system Select and install software

Installation complete - success after several fails seems to be due to installing off the larger Kali Linux, selecting fewer tools to install.
But now GRUB does not load. Need to go back into BIOS, disable CSM, enable UEFI boot. When hitting F12 during start up I see Kali option.
Can I live with this?

Also dual boot worked for me a couple years ago on a 2016 laptop. Search this blog for "dual boot"


Immediately install these:
sudo apt install hackrf
sudo apt install realtek-rtl88xxau-dkms
https://www.briansantacruz.me/2019/07/27/how-to-install-alfa-awus1900-on-kali-linux/
Boot from USB
Start desktop machine with F1 to enter BIOS
Under Startup, enable CSM and set Boot Priority to [Legacy first]
Turn off desktop machine and then turn on with F12 to boot SigintOS USB
Adjust Text Entry settings to make English keyboard versus Turkish

No comments:

Post a Comment