Install Kali Linux 2.0 (Sana) in UEFI Mode (Dual Boot Windows 8/8.1/10)
HTML-код
- Опубликовано: 25 авг 2015
- If you think this video is helpful, you can encourage me to make more of these videos by helping me at www.paypal.me/nehaljwani
Inner Light (9:36) by Kevin MacLeod is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
Source: incompetech.com/music/royalty-...
Artist: incompetech.com/
Smooth Sailing (with Guitar) (5:36) by Audionautix is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
Artist: audionautix.com/
This is a tiny tutorial for dual booting Kali Linux 2.0 Sana with Windows 8/8.1/10 in UEFI Mode.
Step 1. Make some space in Windows for installing Kali LInux.
Step 2. Create Bootable Installation Media (Use Win32 DiskImager in Windows or use dd in Linux) I used the disk: cdimage.kali.org/kali-2.0/kali...
Step 3. Boot using this media in LEGACY BIOS/CSM mode. I know, that Kali Linux 2.0 claims to support UEFI, but for me, it didn't work. Even the hypervisors Qemu and VMWare segfaulted.
Step 4. Create at least two partitions (I created swap and one for /). DO NOT create any bios_grub partition and DO NOT setup any boot loader. Continue with the installation, but skip setting up boot loader.
Step 5. Create Bootable Installation Media for any Linux Distribution, which is UEFI compatible, and supports live mode. I prefer System Rescue Disk: sourceforge.net/projects/syst... . You can also use Ubuntu Installation Media.
Step 6. Boot using this media in UEFI mode. Make sure it is UEFI, otherwise it won't work. Once booted, fire up a terminal and type [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS to confirm.
Step 7. Use gdisk to figure out which partition contains your Kali Linux installation. For me, it was /dev/sda4. Might be different for you. Type gdisk -l /dev/sda to figure it out.
Step 8. Mount the Kali Linux partition to /mnt. Also mount (in bind mode) /dev /dev/pts /proc /sys
Step 9. Create the directory /mnt/boot/efi
Step 10. Mount the EFI partition to the newly created directory. Use gdisk -l /dev/sda to figure that out. For me, it was /dev/sda1
Step 11. Chroot into /mnt.
Step 12. Add sana repository, using the command: echo "deb http.kali.org/kali sana main non-free contrib" | tee /etc/apt/sources.list
NOTE: If you are using Kali Roling, then using the command: echo "deb http.kali.org/kali kali-rolling main contrib non-free" | tee -a /etc/apt/sources.list
Step 13. Update apt-get. apt-get update
Step 14. Install grub-efi package. apt-get install -y grub-efi
Step 15. Setup grub. grub-mkconfig -o /boot/grub/grub.cfg ; grub-install /dev/sda
Step 16. Reboot, boot into Kali, and run grub-mkconfig -o /boot/grub/grub.cfg again
Tada! Done!
Note: If you get 'unable to resolve' errors, please type:
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
Some machines have weird UEFI implementation, and grub-install doesn't work from under a chroot environment, because it throws the error:
efibootmgr: Skipping unreadable variable "Boot0005": Input/output error
efibootmgr: Could not prepare boot variable: Input/output error
In such cases, after you do grub-mkconfig -o /boot/grub/grub.cfg , just come out of chroot by typing exit, and then type:
efibootmgr -c -d /dev/sda -p 1 -l /EFI/kali/grubx64.efi -L "KaliLinux" #Replace 1 with the partition number of the EFI partition.
If you have an Acer Laptop, please go through:
forums.kali.org/showthread.ph... Хобби
Pure Gold. Thankyou.
as newbie to linux, i just followed your instructions step by step and everything works like a charm. many thanks, geat job!
+Martin Carda Thanks for the comment! Glad to be of help! :)
Thanks man it works now! I appreciate your help!
+byExtinction :)
you are awsome man. struggling with this for the past one year. finally with your help i got it right
+mayank yadav Cool! :)
Now that i have my windows 10 and kali in dual boot with grub... Can i hibernate windows without any problem,or will i have to shut it down every time?
If you choose to hibernate Windows, them make sure you don't mount any of Windows partitions in Kali in write mode.
+Nehal J Wani sorry for the noob doubt but how exactly do i mount partitions in write mode in kali if i wanted to. is their any command for the same. Thank you for the prompt reply ☺
I won't spoon feed. Read the man page for the command mount. Also read about /etc/fstab.
Thank you for sharing this! I've been working to figure this out for a few days and this helped me get through it with no problems. :)
+ARACD08 Glad to be of help! :)
The best ! I was trying a week to find a solution! Thank you very much!
Glad to be of help! :-)
Thank you Nehal J Wani.Very precise command lines.
+Victor Rafael Ravagnani Glad to be of help! :)
Dude, thank you, thank you, THANK YOU! I had a different scenario, with kali already installed but not being able to boot directly into it and this fixed it. You're awesome
Glad to be of help! :-)
Thank you it worked! I love you man
+Netzon Glad to be of help! :)
man thanks a lot for the tutorial, i had difficulties because of a new lenovo helix, and man followed your tutorial, installed kali-rolling which is rolling like a charm. thank you again.
Thank you for the feedback! :-)
Thank you very much for the tutorial. Finally i managed to install dual boot.
+xevi farres Glad to be of help! :)
Thanks! Your video help me install Kali on my Laptop. I've been stuck on it for hours. A million likes for you.
Glad to be of help! :-)
Ty really much ^^ solved my problem, i spent hours trying to find a solution, thx again ;) +1 sub
+biicho997 Glad to be of help :-)
+Nehal J Wani Hey again, so everything went really fine till i booted the Windows with the Windows Boot Loader. Grub dissapeared from the bios... Do you know why this happened? and i guess i will to mount all the files again and at least generate the config file again.
Ty in advance and like i said yesterday, you do a very good job ;)
+Nehal J Wani I fixed it ^^ had to generate the config file again.
+biicho997 I am glad you fixed it yourself :)
thanks... your video was the one who helped me. perfect!
+Weiller Crdoso :)
Thank you, worked 100%
+Ruan Beeld :)
Very nice video, Thanks man
+Sultan Alharbi :)
thanks this tutorial helped alot!
+broot ownz :)
Thanks this helped me a lot
+NIK HIL Glad to he of help! :)
you da man.. this works great.. thanks!!!!
Thanks for the feedback! Glad to be of help! :-)
Ty mate, great help
Glad to be of help! :-)
Thank you so much for your help!!!
Glad to be of help!
Spot on man.. i can confirm success on the 2015 razer blade you must follow directions very carefully pay attention to upper and lowercase letters after the tacks "-" and it will work nicely. thnx
Glad to be of help :-)
THANK U MAN U R THE BEST :)
:-)
woo, thanks sir ! problem solved !! GENIUS :D
Glad to be of help! :-)
Thanks for sharing this! UEFI Mode and Dual booting Kali has been pissing me off for a couple days now haha.
+Adam Thomas Glad to be of help :)
Thank you sir. you are awesome!
:-)
tried it again and it worked!!!
Boot into Kali Linux then edit the file /etc/default/grub and edit the parameter: 'GRUB_CMDLINE_LINUX' and append the 'nouveau.modeset=0 rd.driver.blacklist=nouveau nomodeset' to it's value inside the quotes. Then type:
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda
And then reboot. It should be persistent.
grub-install/dev/sda didn't play but it still works fine now. THANK YOU SO MUCH FOR YOUR TIME>
There is a space between grub-install and /dev/sda :)
Thank you! I had a terrible BIOS setup and there was no way to make a dual-boot w10 with kali until I see this video!
5 hours spent, though haha
Glad to be of help! :-)
My fault it works now THANK YOU I've been trying to do a dual boot for nearly 2 months
Sorry for the late response, but I'm glad that your problem is solved :)
you saved meeeeeee. thanks a lot, i was so depressed with the whole thing.. and you became my messiah
+archaggelos1 :)
great tutorial
+rijo raju :)
Thanks a lot. great solution for me
Thanks for the feedback! :-)
It's nice video. xD
I love Kali Linux more than other linux distoribution.
I love kali ///
xD
+Nehal J Wani
Thank you for replying. :)
I have always love Kali linux since Back Track 5. lol
And, I love Wani's video too. XD
Thanks for your compliment!
I will try that later. thank you.
thanks a lot my problem solved this video very nice and helpfull and it worked for asus n46jv
+Haske Courents :)
Tnx man work perfect. Having trouble with ubuntu live on step 12 (sana repositrory) but with System Rescue Disk having no trouble.
Thanks for the feedback. But Sana is going to get old now. You should use the Kali rolling repository.
Thanks a lot man! This tutorial helped me a lot!
+Install Gentoo :)
thanks for this
+Hisaki :)
Thank You :)
:-)
Thank u it'working in external hd as well , no need to add any repo in 2016.2
:-)
thnx for your assistance its working thnx very much............
Hey, thanks for this tutorial.
Using Acer ES1-431-C6WA, Win10 x64 & Kali 2016.1
Followed what you did in the video and works fine in me but it still continue booting in windows.
Second attempt with your instruction in the comment:
boot back from into the Kali Live media in UEFI mode, and type the following commands:
apt-get update
apt-get install -y efibootmgr
efibootmgr -B -b 002
mount /dev/sda7 /mnt
mount -B /dev /mnt/dev
mount -B /dev/pts /mnt/dev/pts
mount -B /proc /mnt/proc
mount -B /sys /mnt/sys
mount -B /run /mnt/run
mkdir -p /mnt/boot/efi
mount /dev/sda2 /mnt/boot/efi
chroot /mnt
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda
Ended up in this error:
efibootmgr: Skipping unreadable variable "Boot0000": Input/output error
efibootmgr: Could not prepare boot variable: Input/output error
Command to fix:
efibootmgr -c -d /dev/sda -p 1 -l /EFI/kali/grubx64.efi -L "KaliLinux"
Output:
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000, 2001, 0003, 2002, 2003
Boot0001* USB HDD: SanDisk Cruzer Force
Boot0002* Unknown Device:
Boot0003* Windows Boot Manager
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
Boot0000* KaliLinux
But still continue booting in Windows. Wew!
Oh You have Acer. In that case, please follow: forums.kali.org/showthread.php?28918-Acer-Aspire-v11-Dual-Booting-Kali-Linux-in-UEFI-Mode
Also, you had to use -p 2 instead of -p 1 since your EFI partition is sda2 and not sda1. In any case, follow the Kali Linux Forum Link which I pasted in the previous link. That will create the required EFI entry.
Hey, it works! When Kali is selected in Boot Menu option, the GRUB menu follows.
Thank you very much! No need to use -p 2 since my EFI partition is in sda1. :)
So, The Kali Linux Forum Link (Posted By Me) helped you, or the entry for Kali was already there?
The forum link. Your instruction in the BIOS is the fix to show Kali in Boot Menu option.
What I did is to set Kali as the first boot device so that when booting it goes directly to GRUB which also has Windows Boot Manager included.
thanks for the quick reply in the last vid, have to delete my partition as I feel like I messed up towards the end. .
+steven coto Well, there is nothing to lose, my friend :) You can always start over.
so do you continue in kali after "finish install" I took out the USB Bootable kali drive after that part around 5:30 in the vid, but now I'm lost to this whole disk image part...is there a vid where you're doing this.
+steven coto After finish install, I boot again, using a bootable media like system rescue disk in UEFI mode. You can follow ruclips.net/video/8iqZuCmM2fg/видео.html to create a bootable system rescue media.
Thanks :)
Follow instructions carefully! 100% working! :)
Thanks for the super useful tutorial! Very appreciated, I was stuck there for some time now.
Side note: those two cursors are distracting like hell
Thanks for the feedback. I have figured out a solution to remove the 2nd pointer. I will be having only single pointers from now on.
one thing to mention... in my case the internet didnt work in chroot though it worked before it. To get this done before going to mounted directory (before chroot) we should type this in terminal
mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
(double dash in bind)
this actually dynamically links the connection to mounted one... before it the symlink doesnot get the correct configuration... thats all.. hope it helps
I have the same problem, but using the command you gave here did not solve it for me :( what's wrong ?
Sorry i understand each and every thing thank you so much
i commented from Newbs perspective like one is asking question to me right now i can handle and awsome nice step by step tutorial thanks and sorry for a joke
+Zuhaib Ashraf Ask away what you don't understand. Don't discourage others from trying by leaving such comments.
+Nehal J Wani and u got sub for caring about comments thanks man nice work keep it up thumbs up
Very nice (Y)
thanks thanks thanks sir
:-)
Thanks thanks thanks !!! 😉😉😉
:-)
Thank you for this usefull tutorial, everything went well and I'm happy about my dual boot now.
Is there any chance that you will create a tutorial for dual boot with Windows >7 and a full encrypted kali setup?
+Maxim Steinpreis I may, in the future, you may have to subscribe to find out :)
Hi Nehal, thank you for the video. can you please elaborate on the third step (i.e., create bootable media with system rescue disk...), specifically are you using the same disk used to install Kali? how did you get to the "welcome to grub screen"? do I load GRUB on a bootable media disk? thank you so much for your help
+Fady Tadrous Create Bootable Installation Media for any Linux Distribution, which is UEFI compatible, and supports live mode. I prefer System Rescue Disk: nchc.dl.sourceforge.net/project/systemrescuecd/sysresccd-x86/4.5.4/systemrescuecd-x86-4.5.4.iso (ruclips.net/video/8iqZuCmM2fg/видео.html) . You can also use Ubuntu Installation Media.
work in toshiba Satellite-S845-SP4336TL 100% thanks Nehal J Wani. XD
you did a good thing by not installing grub to the master boot record
:-)
YEEEEAAAH in 32bit don't work but in 64 bit it's very good THX
Yup, this hasn't been tested on 32 bit system.
Hi bro, first I want to thank you for your time and help. Second, Im crazy, I do exactly what the video says, no errors and still can't dual boot.
To enter Kali I need to go to Advanced startup in Windows and enter as it was a "device" in the Windows boot menu.
I have a Toshiba Satellite, with Windows 8.1 with BitLocker enabled.
Thanks for your help.
yes it does. it's a amd radeon. laptop actually.
As soon as you turn on computer and reach the Grub boot menu, press e to go into edit mode. Then I want you edit the line which starts with the word linux and append:
nouveau.modeset=0 rd.driver.blacklist=nouveau nomodeset
and then boot by pressing ctrl + x
How do I make this permanent please?
Thanks for the detail video..
Man, I wish you were in Boston, I need to do this to my machine and is killing me (I am not an expert yet). my notebook has multiple drives and I get totally lost. I would pay a few dollars to someone that can help me in person.
+Pablo Coste Where are you stuck?
+Nehal J Wani, first thank you for taking the time to answer.
I just purchased a new model MSI notebook: 2 HD - 1SSD and 1 TB drive. Windows 10 and 32gb of ram, a great notebook! but some of the drivers are not available for linux yet and the installation is being difficult for a newbie like me.
+Pablo Coste Please explain a bit more by what you mean when you say some of the drivers are not available in Linux. How did you come to that conclusion?
+Nehal J Wani My macine is this one us.msi.com/product/notebook/GT72S-Dominator-Pro-G-6th-Gen-GTX-980M.html#hero-overview -- raid DH and "Killer network card". good stuff.
I don't care much about Windows 10, I want to run Kali only and a VM for Windows. Since I am new, this is giving me a really hard time because the drivers for NIC are in the distribution you get from Kali (got around that by buying a cheap usb card to finish the install and get online).
When installing, I cannot see the SSD where Windows is installed so I can overwrite it, only see the the data drive.
I tried to follow your commands in the command line and got lost (remember, I am not an expert) and ended up having to restore the machine to the original configuration to start again.
You are great for responding to this, your contributions make a huge difference for people like me! Thanks again.
+Pablo Coste If I am not wrong, your killer card is basically "Atheros Qualcomm Killer N1525 Wireless". For whch, drivers in any linux distribution are available, but sometimes one has to compile from source and install. github.com/kvalo/ath10k-firmware Anyway, in the video I assume you have only one HDD, but yes, I also provide comments to show what exactly I am doing. So tell me this, if I am following you correctly, you were stuck at the system rescue disk part, right? You had already installed Kali in Legacy Mode?
I am using Ubuntu live. when I try to mount using "sudo for i in /dev /dev/pts..." at 8:31 I get an error saying "unexpected token 'do'". I don't know what the Ubuntu alternative would be to complete this command
nvm, fixed it by putting the command in single quotes, and adding "sudo sh -c" in front of it
+Zach Hixson If you are using Ubuntu, then either perform a sudo su and then write all the commands, or for the for loop, type: for i in /dev /dev/pts /proc /sys /run ; do sudo mount -B $i /mnt/$i ; done
I used Rufus for both the system rescue disk and Kali
bro 1 more question...
can i add repository or update apt after installing kali linux??
Yeah, you can. But make sure it is compatible.
It would be great if you make a video on how to enable secure boot for kali.
Hi Nehal, in system Information (msinfo32) is written: BIOS mode: UEFI
(done according to your tutorial "Convert Win10 installation from Legacy to UEFI")
Booting via USB (Kali Rolling 2016.2) in GRUB I got:
root@sysresccd /root % [ -d /sys/firmware/efi ] && echo UEFI || echo Legacy
UEFI
Here is the link of Win Disk Management snapshot:
picpaste.com/del/gkTAem0X/Disk_Management__UEFI_or_Legacy__Capture.PNG
You gave me the delete link for the picture. Also, if it says UEFI for you when you boot from USB, then you are lucky and go for the install as shown in the video and don't skip bootloader installation. And you can skip the second half of the video.
it does support UEFI. and yes I have disabled secure boot.
What method did you use to create the bootable media for system-rescue-cd or ubuntu or any other UEFI bootable Linux media?
Please help me after I type apt-get install -y grub-efi I got warning EFI variable are not supported on this system
and WARNING: Device /dev/sda not initialized in udev database even after waiting 10000000 microseconds
@@CHEABCHET Hi, does the directory /sys/firmware/efi exist? If not, you haven't booted in UEFI mode.
Hi, I have a Windows 10 tablet but the bios doesn't have any option to change from UEFI to legacy mode, but it has a mode to boot from the usb, the problem is that when I select that option it doesn't do anything, just returns me to the bios (I think it's because it's still in UEFI mode). Is there any way to boot from my usb without change to legacy?
Well, Kali Installation media was never bootable for me in UEFI Mode. I would recommend you to try a different Linux distro. Example: Ubuntu or Fedora.
in this process which os should install first kali linux or windows ??
+saswat jethi Windows.
you can use rufus as a DO image not ISO image, it works for me, both Ubuntu and, Parrot OS. In Parrot OS, nouveau gives the error, same thing in Ubuntu grapihicial error at boot screen, I solved all of error using a DO Image option at rufus. (for UEFİ bugs )
+Furkan ÜNAL What's the full form of DO?
+Nehal J Wani i haven't more idea but it seems like this.
i.imgur.com/wUvLYL5.png
+Furkan ÜNAL Oh, I understand what you mean. That is equivalent to DD mode. You can also use Win32 DiskImager to do that.
I am not able to understand what you did after 5:42 . How did you get that grub boot loader working without installation and what is the screen we see at 5:50?
+Shri J Read Step5 in the video description. This is the system rescue disk, which I have booted. To create a bootable USB for it, follow: ruclips.net/video/8iqZuCmM2fg/видео.html and then boot from it.
Nehal J Wani oh sorry forgot about the description part. btw that file is supposed to be 400+ MB? also an iso?
+Shri J The ISO file which I have is 438MB in size.
ok thanks for prompt reply! I subd to your channel! :)
+Shri J Glad to be of help! :)
+Nehal J Wani I followed all of your steps till the part where you added the repository (10:19), for some strange reason those commands don't get executed. Any other way of manually adding the repository? Thanks for the great video
Please share the exact error when you try to add the repository. May be you are typing the command wrong? See the description of the video for the right syntax with spaces and all.
Okey I managed to add the repository, but the apt-get update doesn't work. It fails to connect to any of the repositories, I get errors such as "unable to connect"
+Marno Loubser Did you do echo "nameserver 8.8.8.8" > /etc/resolv.conf ?
Thanks man that worked. Keep up the good work!
+Marno Loubser Networks 101! You need a nameserver to resolve a domain name :D
Thanks for the compliment :D
Hi man im having a problem with the repsitory. When i write the directrion it doesnt do nothing so when i try to install grub it says error
dude ur vid is awsome.... can you add signiture tu kali for secure boot?
Thanks for the comment, you will probably have to ask the Kali Linux developers to add the signature.
Oh ok... 👍
ran into an issue where a dual boot ruined my EFI partition. Nehal walked me right through it. You can do this from recovery media. You can download it or follow this guide here to create one from another pc of the same OS www.tenforums.com/tutorials/4200-recovery-drive-create-windows-10-a.html go into a command prompt and enter the following. (">" is for enter)
Diskpart > list disk > sel disk 0(or where your OS is) > list vol > list par > sel par 2(where your efi partition is mine was 100mb) > del par override > create par efi > format fs = fat32 quick > assign letter = b: > exit > bcdboot C:Windows /l en-us /s b: /f all > exit > then reboot!
+Andrew Haraldstad Glad to be of help! :-) Your EFI partition was ruined, so the commands are a bit specific to your setup. But essentially, we recreated it and then copied the boot files into it.
I have Kali already installed .. but then I installed windows 10 .. and now it isn't being able to boot kali .. how can I again use both by making any changes on my windows 10???
Does the 2016.1 release still need this procedure?
Although the Kali Linux Guys claimed that 2016 release had fixed it, it didn't work for me. This method works anyway, whichever release you have.
Ok
that article about acer do you set up the boot loader?
We actually mark the grub boot loader as trusted. Where are you stuck?
at setting up the boot loader in ESP
from the article
Send a chat request to me on hangouts.google.com and I'll try to assist you there.
how do you set up the loader in the ESP (FAT32 EFI partition)
You have to follow the article after following this video.
I am having a problem with the chroot command. i typed it in exactly as you did, but it says "chroot: failed to run command '/bin/bash' : no such file or directory. when i go to /bin there IS a file called bash. im not sure what to do.
+Zachary Lucis It seems that you have mounted the wrong partition at /mnt. Are you sure it is the partition in which Linux is installed? Please share the output for the commands:
mount | grep /mnt
ls /mnt
gdisk -l /dev/sda
+Nehal J Wani I figured out what the problem was. i had mounted 2 partitions to /mnt. Thanks for your help!
I also tried skipping the stage but when I try to get grub it says it has been replaced should I download the replacement?
I have never seen this. Could you please take a screenshot of this, upload it on picpaste.com and share the link here as a comment?
are this tutorial working for install dual boot win10 and elementary OS freya on GPT HD and UEFI mode?
+Rafi Neskar Follow: ruclips.net/video/WulgG1GeJ4U/видео.html
Hi sir, so if I want to mount kali's efi partition to the same one as win 10, what can i do? just mount it directly?
+[TW] Nate Lo Yes.
+Nehal J Wani BTW, can we boot kali directly in UEFI now? Or we still have to do it in your way? Since there are several updates I am wondering if the boot problem is fixed.
When I checked with the 2016 image in February, it didn't work for me.
+Nehal J Wani Ok thx for the information :D Nice videos :)
What is that boot manage at 5:53?
That is the boot menu which appears on pressing some key on the keyboard as soon as the computer boots.
Hey, I wanted to know how could i run a command to manually boot kali, i dont want to use grub but with windows bootloader.
I don't know how to boot Kali with Windows Boot Loader.
I ducking love you my son
:-)
Great video!! Totally work for me, but I've a problem. After months using dual boot, one day suddendly the computer went directly to windows 8, without the kali-grub screen. ¿Do u know anything about this? I can no longer get into kali...
Thanks!
What is your computer make/model? Manufacturer?
I'm gonna try doing it all over again if I get the same error ill send you a picture of it.
I just uninstalled it thanks for the uninstallation video by the way.
u saved ma fucking life man
+Omar A Amer :)
+Nehal J Wani genius ;)
+Nehal J Wani hello, i need ur help man plz... i have done everything and everythin was ok.. i have seen the bootloader with two options kali and windows .. but now after 3 hours maybe i did a restart from windows to enter kali linux but i havent seen the bootloader menu(grub) what is the prob? thx in advance :)
Disable fast startup in Windows
+Nehal J Wani how can i? thx
Dude, when I press "graphic install" it doesn't do anything, the same happen with any other option, do you know why?
Try recreating the installation media.
I have 2 Hard drives in my laptop, I got Windows 10 running on the SSD, is it possible to install Kali on the other Hard drive with these steps?
Yes, it is possible. But be careful in the post installation steps as you will have two disks, sda and sdb. The efi partition will probably be on sda and Linux partition on sdb.
When I try "apt-get remove grub-*" after hitting yes on continue I get an error right after "Processing triggers for man-db (2.7.5-1)" saying "GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files" .
Please help.
Also note I have mounted /run.
You can ignore that error.
Thanks. I went ahead, but it occured again during apt-get update. Can i still proceed?
Yeah, you can.
Hi Nehal, at 7:43 at your tutorial: Lets fix the bootloader
gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1
I got the folowing:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
-------------------------------
Found invalid GPT and valid MBR: converting MBR to GPT format in memory
------------------------------
It means I got the Partition table of my USB disk, instead of hard disk!
The question is how to boot from hard disk if USB disk should be present?
(If USB is disconnected the Windows pop up instead of Kali Linux)
I have Lenovo Ideapad 700-15ISK, with Win10 installed, Secure boot disabled, boot in UEFI
Could you help me?
You have an MBR partition table... Probably Windows is installed in Legacy mode. So you can just go ahead and install Kali Linux in Legacy mode. No need to follow this video, just make sure that you don't skip bootloader installation. If you want me to further confirm whether or not your Windows is installed in Legacy mode, please boot into Windows, open Disk Management, take a screenshot, upload it on picpaste.com and share the link here.
when i try to install, "failed to add i915 component master (-19)" comes up and i cannot proceed further.
Read this: askubuntu.com/a/747769/95343
If that doesn't help you, then try adding: i915.modeset=0 to the grub command line.
secure boot Kali !! :)
+Akshay K :)
+Moshe Kuby You must have made a syntax error while typing the command. You need to type:
for i in /dev /dev/pts /proc /sys ; do mount -B $i /mnt/$i ; done
Please mind the space and ';'
+Nehal J Wani
still dont work
did you mean ':' or ';" ?
Semi colon ';'
+Nehal J Wani
so its not working for me
how important is to mount all ?
Instead of writing the for loop, write the following commands:
mount -B /dev /mnt/dev
mount -B /dev/pts /mnt/dev/pts
mount -B /proc /mnt/proc
mount -B /sys /mnt/sys
+Nehal J Wani
thank you very much !
Thank you for the tutoriel ! I have a problem with apt-get install grub-efi, it said failed to fetch some archives. Thank you
Nevermind i messed up by putting sana instead of rolling :) thanks a lot
What will happen if I install that GRUB boot loader because it says it will be able to provide options when system is started.So What should i Do ??
sir i am unable to make Rescue Disk and as u said to any uefi live installation media
i booted ubuntu 64x new version and able to boot in uefi mode and after that i try to follow command but some command are not working in ubuntu so what to do sir ?
If I haven't legacy support mod, only uefi?
What I should to do?
This video deals with uefi mode. What trouble are you facing?
I've been trying for so long to figure out how to do this with Kali Linux 2016.1, I followed all of your instructions (except for the sana repos, did the kali-rolling one). Whenever I go to install it tells me I am missing two firmware files for ethernet/wifi adapters or something, i'm not sure. I researched it and apparently I would need to install a realtek-firmware or firmware-realtek package which leads me to my next problem. Whenever I boot into SystemRescueCd and get to the part where you do "apt-get update", it always fails to download and install the packages and says it cant fetch them, or cant resolve the repository. Any ideas? The amount of time i've spent trying to figure this out is absolutely frustrating lol.
+2CrazieDude After you add the repositories in sources.list file, type the command:
echo "nameserver 8.8.8.8" > /etc/resolv.conf
And the do apt-get update. I have written this in the video description.
+Nehal J Wani Oh thanks i'll try it out today lol
:P