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...
  • ХоббиХобби

Комментарии • 1,7 тыс.

  • @mrwrlucas
    @mrwrlucas 8 лет назад +3

    Pure Gold. Thankyou.

  • @martincarda1756
    @martincarda1756 8 лет назад

    as newbie to linux, i just followed your instructions step by step and everything works like a charm. many thanks, geat job!

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Martin Carda Thanks for the comment! Glad to be of help! :)

  • @real016
    @real016 8 лет назад

    Thanks man it works now! I appreciate your help!

  • @mankyification
    @mankyification 8 лет назад

    you are awsome man. struggling with this for the past one year. finally with your help i got it right

    • @NehalJWani
      @NehalJWani  8 лет назад

      +mayank yadav Cool! :)

    • @mankyification
      @mankyification 8 лет назад

      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?

    • @NehalJWani
      @NehalJWani  8 лет назад

      If you choose to hibernate Windows, them make sure you don't mount any of Windows partitions in Kali in write mode.

    • @mankyification
      @mankyification 8 лет назад

      +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 ☺

    • @NehalJWani
      @NehalJWani  8 лет назад

      I won't spoon feed. Read the man page for the command mount. Also read about /etc/fstab.

  • @ARACD08
    @ARACD08 8 лет назад

    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. :)

    • @NehalJWani
      @NehalJWani  8 лет назад

      +ARACD08 Glad to be of help! :)

  • @gatos4840
    @gatos4840 8 лет назад

    The best ! I was trying a week to find a solution! Thank you very much!

  • @vikdoofausbr
    @vikdoofausbr 8 лет назад

    Thank you Nehal J Wani.Very precise command lines.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Victor Rafael Ravagnani Glad to be of help! :)

  • @sinnick007
    @sinnick007 7 лет назад

    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

  • @netzi8430
    @netzi8430 8 лет назад

    Thank you it worked! I love you man

    • @NehalJWani
      @NehalJWani  8 лет назад +1

      +Netzon Glad to be of help! :)

  • @rabahcorleone
    @rabahcorleone 7 лет назад

    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.

    • @NehalJWani
      @NehalJWani  7 лет назад +1

      Thank you for the feedback! :-)

  • @xevifarres
    @xevifarres 8 лет назад

    Thank you very much for the tutorial. Finally i managed to install dual boot.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +xevi farres Glad to be of help! :)

  • @khominhvi
    @khominhvi 7 лет назад

    Thanks! Your video help me install Kali on my Laptop. I've been stuck on it for hours. A million likes for you.

  • @biicho997
    @biicho997 8 лет назад

    Ty really much ^^ solved my problem, i spent hours trying to find a solution, thx again ;) +1 sub

    • @NehalJWani
      @NehalJWani  8 лет назад +1

      +biicho997 Glad to be of help :-)

    • @biicho997
      @biicho997 8 лет назад

      +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 ;)

    • @biicho997
      @biicho997 8 лет назад

      +Nehal J Wani I fixed it ^^ had to generate the config file again.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +biicho997 I am glad you fixed it yourself :)

  • @fiswac
    @fiswac 8 лет назад

    thanks... your video was the one who helped me. perfect!

  • @Shnotball
    @Shnotball 8 лет назад

    Thank you, worked 100%

  • @SultanAlharbii
    @SultanAlharbii 8 лет назад

    Very nice video, Thanks man

  • @brootownz1274
    @brootownz1274 8 лет назад

    thanks this tutorial helped alot!

  • @nikhilsharma8005
    @nikhilsharma8005 8 лет назад

    Thanks this helped me a lot

    • @NehalJWani
      @NehalJWani  8 лет назад

      +NIK HIL Glad to he of help! :)

  • @manilaboy1vic
    @manilaboy1vic 8 лет назад

    you da man.. this works great.. thanks!!!!

    • @NehalJWani
      @NehalJWani  8 лет назад

      Thanks for the feedback! Glad to be of help! :-)

  • @supermitel
    @supermitel 8 лет назад

    Ty mate, great help

  • @johnmcclainzeroxtreme5484
    @johnmcclainzeroxtreme5484 8 лет назад

    Thank you so much for your help!!!

  • @spyderhex
    @spyderhex 8 лет назад

    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

  • @josegalvez1214
    @josegalvez1214 7 лет назад

    THANK U MAN U R THE BEST :)

  • @ErvinSiagian
    @ErvinSiagian 7 лет назад

    woo, thanks sir ! problem solved !! GENIUS :D

  • @neosporinme
    @neosporinme 8 лет назад

    Thanks for sharing this! UEFI Mode and Dual booting Kali has been pissing me off for a couple days now haha.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Adam Thomas Glad to be of help :)

  • @chandramoulij3408
    @chandramoulij3408 7 лет назад

    Thank you sir. you are awesome!

  • @benten111
    @benten111 8 лет назад

    tried it again and it worked!!!

    • @NehalJWani
      @NehalJWani  8 лет назад

      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.

    • @benten111
      @benten111 8 лет назад

      grub-install/dev/sda didn't play but it still works fine now. THANK YOU SO MUCH FOR YOUR TIME>

    • @NehalJWani
      @NehalJWani  8 лет назад

      There is a space between grub-install and /dev/sda :)

  • @alexisferrer8439
    @alexisferrer8439 8 лет назад +1

    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

  • @nathanrand4346
    @nathanrand4346 7 лет назад

    My fault it works now THANK YOU I've been trying to do a dual boot for nearly 2 months

    • @NehalJWani
      @NehalJWani  7 лет назад

      Sorry for the late response, but I'm glad that your problem is solved :)

  • @archaggelos1
    @archaggelos1 8 лет назад

    you saved meeeeeee. thanks a lot, i was so depressed with the whole thing.. and you became my messiah

  • @rjrijo
    @rjrijo 8 лет назад

    great tutorial

  • @jasonlee1240
    @jasonlee1240 7 лет назад

    Thanks a lot. great solution for me

    • @NehalJWani
      @NehalJWani  7 лет назад

      Thanks for the feedback! :-)

  • @gmaiI.com.
    @gmaiI.com. 9 лет назад +1

    It's nice video. xD
    I love Kali Linux more than other linux distoribution.
    I love kali ///

    • @NehalJWani
      @NehalJWani  9 лет назад

      xD

    • @gmaiI.com.
      @gmaiI.com. 9 лет назад

      +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

    • @NehalJWani
      @NehalJWani  9 лет назад

      Thanks for your compliment!

  • @benten111
    @benten111 8 лет назад

    I will try that later. thank you.

  • @nomootv
    @nomootv 8 лет назад

    thanks a lot my problem solved this video very nice and helpfull and it worked for asus n46jv

  • @matijaperhoc
    @matijaperhoc 8 лет назад

    Tnx man work perfect. Having trouble with ubuntu live on step 12 (sana repositrory) but with System Rescue Disk having no trouble.

    • @NehalJWani
      @NehalJWani  8 лет назад

      Thanks for the feedback. But Sana is going to get old now. You should use the Kali rolling repository.

  • @Oskuarts
    @Oskuarts 8 лет назад

    Thanks a lot man! This tutorial helped me a lot!

  • @HisakiDthml
    @HisakiDthml 8 лет назад

    thanks for this

  • @gerardomattiapalmiotto9218
    @gerardomattiapalmiotto9218 8 лет назад

    Thank You :)

  • @jamalamouz5663
    @jamalamouz5663 7 лет назад

    Thank u it'working in external hd as well , no need to add any repo in 2016.2

  • @vishalgoyal3311
    @vishalgoyal3311 8 лет назад

    thnx for your assistance its working thnx very much............

  • @einexists.5128
    @einexists.5128 8 лет назад

    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!

    • @NehalJWani
      @NehalJWani  8 лет назад

      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

    • @NehalJWani
      @NehalJWani  8 лет назад

      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.

    • @einexists.5128
      @einexists.5128 8 лет назад

      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. :)

    • @NehalJWani
      @NehalJWani  8 лет назад

      So, The Kali Linux Forum Link (Posted By Me) helped you, or the entry for Kali was already there?

    • @einexists.5128
      @einexists.5128 8 лет назад

      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.

  • @stevencoto834
    @stevencoto834 8 лет назад

    thanks for the quick reply in the last vid, have to delete my partition as I feel like I messed up towards the end. .

    • @NehalJWani
      @NehalJWani  8 лет назад

      +steven coto Well, there is nothing to lose, my friend :) You can always start over.

    • @stevencoto834
      @stevencoto834 8 лет назад

      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.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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.

  • @saeedghiassy6468
    @saeedghiassy6468 8 лет назад

    Thanks :)

  • @diliphegde1
    @diliphegde1 7 лет назад

    Follow instructions carefully! 100% working! :)

  • @janbulusek6172
    @janbulusek6172 8 лет назад

    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

    • @NehalJWani
      @NehalJWani  8 лет назад

      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.

  • @sagararyal9846
    @sagararyal9846 8 лет назад

    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

    • @bahabaghdadi5067
      @bahabaghdadi5067 7 лет назад

      I have the same problem, but using the command you gave here did not solve it for me :( what's wrong ?

  • @Zuhaibashraf
    @Zuhaibashraf 8 лет назад

    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

    • @NehalJWani
      @NehalJWani  8 лет назад +1

      +Zuhaib Ashraf Ask away what you don't understand. Don't discourage others from trying by leaving such comments.

    • @Zuhaibashraf
      @Zuhaibashraf 8 лет назад

      +Nehal J Wani and u got sub for caring about comments thanks man nice work keep it up thumbs up

  • @MohamedHasanokmh18
    @MohamedHasanokmh18 8 лет назад

    Very nice (Y)

  • @dakshkotian7212
    @dakshkotian7212 7 лет назад

    thanks thanks thanks sir

  • @charlypec4948
    @charlypec4948 6 лет назад

    Thanks thanks thanks !!! 😉😉😉

  • @MxmPOV
    @MxmPOV 8 лет назад

    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?

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Maxim Steinpreis I may, in the future, you may have to subscribe to find out :)

  • @fadytadrous6968
    @fadytadrous6968 8 лет назад

    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

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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.

  • @HimmblerToledo
    @HimmblerToledo 8 лет назад +1

    work in toshiba Satellite-S845-SP4336TL 100% thanks Nehal J Wani. XD

  • @nomadicfish
    @nomadicfish 8 лет назад

    you did a good thing by not installing grub to the master boot record

  • @Victest100
    @Victest100 8 лет назад

    YEEEEAAAH in 32bit don't work but in 64 bit it's very good THX

    • @NehalJWani
      @NehalJWani  8 лет назад

      Yup, this hasn't been tested on 32 bit system.

  • @allanvargas89
    @allanvargas89 7 лет назад

    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.

  • @benten111
    @benten111 8 лет назад

    yes it does. it's a amd radeon. laptop actually.

    • @NehalJWani
      @NehalJWani  8 лет назад +1

      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

    • @benten111
      @benten111 8 лет назад

      How do I make this permanent please?

  • @gonza411
    @gonza411 8 лет назад

    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.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Pablo Coste Where are you stuck?

    • @gonza411
      @gonza411 8 лет назад

      +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.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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?

    • @gonza411
      @gonza411 8 лет назад

      +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.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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?

  • @ZachHixsonTutorials
    @ZachHixsonTutorials 8 лет назад

    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

    • @ZachHixsonTutorials
      @ZachHixsonTutorials 8 лет назад +1

      nvm, fixed it by putting the command in single quotes, and adding "sudo sh -c" in front of it

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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

  • @joaofranca2411
    @joaofranca2411 8 лет назад

    I used Rufus for both the system rescue disk and Kali

  • @sciencefiction3984
    @sciencefiction3984 7 лет назад

    bro 1 more question...
    can i add repository or update apt after installing kali linux??

    • @NehalJWani
      @NehalJWani  7 лет назад

      Yeah, you can. But make sure it is compatible.

  • @malemmutum5049
    @malemmutum5049 7 лет назад

    It would be great if you make a video on how to enable secure boot for kali.

  • @miljenkoplesnik4703
    @miljenkoplesnik4703 7 лет назад

    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

    • @NehalJWani
      @NehalJWani  7 лет назад

      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.

  • @benten111
    @benten111 8 лет назад

    it does support UEFI. and yes I have disabled secure boot.

    • @NehalJWani
      @NehalJWani  8 лет назад

      What method did you use to create the bootable media for system-rescue-cd or ubuntu or any other UEFI bootable Linux media?

  • @CHEABCHET
    @CHEABCHET 5 лет назад

    Please help me after I type apt-get install -y grub-efi I got warning EFI variable are not supported on this system

    • @CHEABCHET
      @CHEABCHET 5 лет назад

      and WARNING: Device /dev/sda not initialized in udev database even after waiting 10000000 microseconds

    • @NehalJWani
      @NehalJWani  5 лет назад

      @@CHEABCHET Hi, does the directory /sys/firmware/efi exist? If not, you haven't booted in UEFI mode.

  • @david_rodarte
    @david_rodarte 7 лет назад +1

    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?

    • @NehalJWani
      @NehalJWani  7 лет назад +1

      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.

  • @saswatjethi3402
    @saswatjethi3402 8 лет назад

    in this process which os should install first kali linux or windows ??

  • @furkanunal977
    @furkanunal977 8 лет назад

    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 )

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Furkan ÜNAL What's the full form of DO?

    • @furkanunal977
      @furkanunal977 8 лет назад

      +Nehal J Wani i haven't more idea but it seems like this.
      i.imgur.com/wUvLYL5.png

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Furkan ÜNAL Oh, I understand what you mean. That is equivalent to DD mode. You can also use Win32 DiskImager to do that.

  • @s.j.3247
    @s.j.3247 8 лет назад

    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?

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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.

    • @s.j.3247
      @s.j.3247 8 лет назад

      Nehal J Wani oh sorry forgot about the description part. btw that file is supposed to be 400+ MB? also an iso?

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Shri J The ISO file which I have is 438MB in size.

    • @s.j.3247
      @s.j.3247 8 лет назад

      ok thanks for prompt reply! I subd to your channel! :)

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Shri J Glad to be of help! :)

  • @marnoloubser7542
    @marnoloubser7542 8 лет назад

    +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

    • @NehalJWani
      @NehalJWani  8 лет назад

      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.

    • @marnoloubser7542
      @marnoloubser7542 8 лет назад

      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"

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Marno Loubser Did you do echo "nameserver 8.8.8.8" > /etc/resolv.conf ?

    • @marnoloubser7542
      @marnoloubser7542 8 лет назад

      Thanks man that worked. Keep up the good work!

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Marno Loubser Networks 101! You need a nameserver to resolve a domain name :D
      Thanks for the compliment :D

  • @sebas15689
    @sebas15689 5 лет назад

    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

  • @adolfomedina1774
    @adolfomedina1774 8 лет назад

    dude ur vid is awsome.... can you add signiture tu kali for secure boot?

    • @NehalJWani
      @NehalJWani  8 лет назад

      Thanks for the comment, you will probably have to ask the Kali Linux developers to add the signature.

    • @adolfomedina1774
      @adolfomedina1774 8 лет назад

      Oh ok... 👍

  • @Andrew-ep6bf
    @Andrew-ep6bf 8 лет назад

    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!

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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.

  • @ShahriarAzizAakash
    @ShahriarAzizAakash 8 лет назад +1

    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???

  • @kernel_data_inpage_error
    @kernel_data_inpage_error 8 лет назад

    Does the 2016.1 release still need this procedure?

    • @NehalJWani
      @NehalJWani  8 лет назад

      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.

  • @nathanrand4346
    @nathanrand4346 7 лет назад

    Ok

  • @adnanyahya5583
    @adnanyahya5583 7 лет назад

    that article about acer do you set up the boot loader?

    • @NehalJWani
      @NehalJWani  7 лет назад

      We actually mark the grub boot loader as trusted. Where are you stuck?

    • @adnanyahya5583
      @adnanyahya5583 7 лет назад

      at setting up the boot loader in ESP
      from the article

    • @NehalJWani
      @NehalJWani  7 лет назад

      Send a chat request to me on hangouts.google.com and I'll try to assist you there.

    • @adnanyahya5583
      @adnanyahya5583 7 лет назад

      how do you set up the loader in the ESP (FAT32 EFI partition)

    • @NehalJWani
      @NehalJWani  7 лет назад

      You have to follow the article after following this video.

  • @elischaaf7411
    @elischaaf7411 8 лет назад

    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.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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

    • @elischaaf7411
      @elischaaf7411 8 лет назад

      +Nehal J Wani I figured out what the problem was. i had mounted 2 partitions to /mnt. Thanks for your help!

  • @nathanrand4346
    @nathanrand4346 7 лет назад

    I also tried skipping the stage but when I try to get grub it says it has been replaced should I download the replacement?

    • @NehalJWani
      @NehalJWani  7 лет назад

      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?

  • @rafineskar1049
    @rafineskar1049 8 лет назад

    are this tutorial working for install dual boot win10 and elementary OS freya on GPT HD and UEFI mode?

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Rafi Neskar Follow: ruclips.net/video/WulgG1GeJ4U/видео.html

  • @mmartin20tw
    @mmartin20tw 8 лет назад

    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?

    • @NehalJWani
      @NehalJWani  8 лет назад +1

      +[TW] Nate Lo Yes.

    • @mmartin20tw
      @mmartin20tw 8 лет назад

      +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.

    • @NehalJWani
      @NehalJWani  8 лет назад +1

      When I checked with the 2016 image in February, it didn't work for me.

    • @mmartin20tw
      @mmartin20tw 8 лет назад

      +Nehal J Wani Ok thx for the information :D Nice videos :)

  • @TheVenom-jh3pu
    @TheVenom-jh3pu 7 лет назад

    What is that boot manage at 5:53?

    • @NehalJWani
      @NehalJWani  7 лет назад

      That is the boot menu which appears on pressing some key on the keyboard as soon as the computer boots.

  • @hamzaumair7909
    @hamzaumair7909 7 лет назад

    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.

    • @NehalJWani
      @NehalJWani  7 лет назад

      I don't know how to boot Kali with Windows Boot Loader.

  • @Chris-di3us
    @Chris-di3us 7 лет назад

    I ducking love you my son

  • @lucasfernandez5299
    @lucasfernandez5299 7 лет назад

    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!

    • @NehalJWani
      @NehalJWani  7 лет назад

      What is your computer make/model? Manufacturer?

  • @nathanrand4346
    @nathanrand4346 7 лет назад

    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.

  • @OmarAAmer32
    @OmarAAmer32 8 лет назад

    u saved ma fucking life man

    • @NehalJWani
      @NehalJWani  8 лет назад

      +Omar A Amer :)

    • @OmarAAmer32
      @OmarAAmer32 8 лет назад

      +Nehal J Wani genius ;)

    • @OmarAAmer32
      @OmarAAmer32 8 лет назад

      +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 :)

    • @NehalJWani
      @NehalJWani  8 лет назад

      Disable fast startup in Windows

    • @OmarAAmer32
      @OmarAAmer32 8 лет назад

      +Nehal J Wani how can i? thx

  • @camiloenmoto8430
    @camiloenmoto8430 4 года назад

    Dude, when I press "graphic install" it doesn't do anything, the same happen with any other option, do you know why?

    • @NehalJWani
      @NehalJWani  4 года назад

      Try recreating the installation media.

  • @SpeedoEdoo
    @SpeedoEdoo 8 лет назад

    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?

    • @NehalJWani
      @NehalJWani  8 лет назад

      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.

  • @popstaravex
    @popstaravex 7 лет назад +1

    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.

    • @NehalJWani
      @NehalJWani  7 лет назад

      You can ignore that error.

    • @popstaravex
      @popstaravex 7 лет назад

      Thanks. I went ahead, but it occured again during apt-get update. Can i still proceed?

    • @NehalJWani
      @NehalJWani  7 лет назад

      Yeah, you can.

  • @miljenkoplesnik4703
    @miljenkoplesnik4703 7 лет назад

    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?

    • @NehalJWani
      @NehalJWani  7 лет назад

      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.

  • @karthikakula6644
    @karthikakula6644 7 лет назад

    when i try to install, "failed to add i915 component master (-19)" comes up and i cannot proceed further.

    • @NehalJWani
      @NehalJWani  7 лет назад

      Read this: askubuntu.com/a/747769/95343
      If that doesn't help you, then try adding: i915.modeset=0 to the grub command line.

  • @akshaynk130
    @akshaynk130 8 лет назад

    secure boot Kali !! :)

  • @NehalJWani
    @NehalJWani  9 лет назад

    +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 ';'

    • @moshekuby3537
      @moshekuby3537 9 лет назад

      +Nehal J Wani
      still dont work
      did you mean ':' or ';" ?

    • @NehalJWani
      @NehalJWani  9 лет назад

      Semi colon ';'

    • @moshekuby3537
      @moshekuby3537 9 лет назад

      +Nehal J Wani
      so its not working for me
      how important is to mount all ?

    • @NehalJWani
      @NehalJWani  9 лет назад +2

      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

    • @moshekuby3537
      @moshekuby3537 9 лет назад

      +Nehal J Wani
      thank you very much !

  • @karlmounzer6678
    @karlmounzer6678 7 лет назад

    Thank you for the tutoriel ! I have a problem with apt-get install grub-efi, it said failed to fetch some archives. Thank you

    • @karlmounzer6678
      @karlmounzer6678 7 лет назад

      Nevermind i messed up by putting sana instead of rolling :) thanks a lot

  • @THEBATMANFROMMUMBAI
    @THEBATMANFROMMUMBAI 8 лет назад

    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 ??

  • @virendash4399
    @virendash4399 8 лет назад

    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 ?

  • @skynet7584
    @skynet7584 5 лет назад

    If I haven't legacy support mod, only uefi?
    What I should to do?

    • @NehalJWani
      @NehalJWani  5 лет назад

      This video deals with uefi mode. What trouble are you facing?

  • @TurtleMountain
    @TurtleMountain 8 лет назад

    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.

    • @NehalJWani
      @NehalJWani  8 лет назад

      +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.

    • @TurtleMountain
      @TurtleMountain 8 лет назад

      +Nehal J Wani Oh thanks i'll try it out today lol

    • @NehalJWani
      @NehalJWani  8 лет назад

      :P