Results 1 to 4 of 4

Thread: Boot Kali Linux live with Windows 8 (UEFI) - USB?

  1. #1
    Join Date
    2014-Feb
    Posts
    1

    Boot Kali Linux live with Windows 8 (UEFI) - USB?

    Im trying to install Linux on my personal Windows 8 laptop (Sony Vaio Flip 15).
    To my knowledge there are currently only two distributions of Linux that support Windows 8 (Ubuntu and Fedora)
    I have tried Ubuntu with no errors running the distro live.(I did not try installing it)
    However, for the tasks I’m trying to accomplish I need Back track5 r3 (or *preferably) Kali


    I have currently installed Kali Linux on a USB flash drive using:
    Universal USB Installer (http://www.pendrivelinux.com/univers...easy-as-1-2-3/)

    At this point, I have configured my laptop to boot from an external device before booting form the internal hard drive. I understand Windows 8 uses Unified Extensible Firmware Interface (UEFI) and not BIOS. Therefore, I have disabled secure boot and created the following directory in my USB flash drive root.

    /EFI/BOOT
    Within this directory I have copied (Bootx64.efi & Grubx64.efi) from Ubuntu; additionally, I have created a Grub.cfg file, which consists of the following:

    # Config file for GRUB2 - The GNU GRand Unified Bootloader
    # /boot/grub/grub.cfg

    # DEVICE NAME CONVERSIONS
    #
    # Linux Grub
    # -------------------------
    # /dev/fd0 (fd0)
    # /dev/sda (hd0)
    # /dev/sdb2 (hd1,2)
    # /dev/sda3 (hd0,3)
    #
    # root=UUID=dc08e5b0-e704-4573-b3f2-cfe41b... persistent

    set menu_color_normal=yellow/blue
    set menu_color_highlight=blue/yellow

    function load_video {insmod efi_gop
    insmod efi_uga
    insmod video_bochs
    insmod video_cirrus
    insmod all_video}

    load_video
    set gfxpayload=keep

    # Timeout for menu
    set timeout=5

    # Set default boot entry as Entry 0
    set default=0
    set color_normal=yellow/blue

    menuentry "Kali - Boot Non Persistent Mode" {set root=(hd0,1)
    linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali
    initrdefi /live/initrd.img}

    menuentry "Kali - Boot Persistent" {set root=(hd0,1)
    linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali persistence
    initrdefi /live/initrd.img}

    menuentry "Kali Failsafe" {set root=(hd0,1)
    linuxefi /live/vmlinuz boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal
    initrdefi /live/initrd.img}

    menuentry "Kali Forensics - No Drive or Swap Mount" {set root=(hd0,1)
    linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali noswap noautomount
    initrdefi /live/initrd.img}

    menuentry "Kali Graphical Install" {set root=(hd0,1)
    linuxefi /install/gtk/vmlinuz video=vesa:ywrap,mtrr vga=788 initrdefi /install/gtk/initrd.gz}

    menuentry "Kali Text Install" {
    set root=(hd0,1)
    linuxefi /install/vmlinuz video=vesa:ywrap,mtrr vga=788
    initrdefi /install/initrd.gz}






    ***the above script can be found at:
    (https://forums.kali.org/showthread.p...all-Kali-Linux)
    As of now I have been able to either
    1). Boot into GRUB shell – Unfortunately I do not know how to boot Kali from the shell
    When I attempt command boot (error: you need to load the kernel first)
    2). Boot kali install menu – when I attempt to run the distribution live it encounters the following errors:
    Error: Disk ‘hd0,1’ not found
    Error: You need to load the kernel first



    I have changed the hd0,1 to 'hd1,1' as my usb is currently listed as disk 1 (under windows management)

    After changing the hd the grub recognizes the HD but can not find:
    /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali




    So basically (im assuming) im still not booting the correct hd? because the usb contains the live folder and has vmlinuz file in it!

    IS THERE ANY WAY TO ENSURE THE CORRECT (hd0,1) or (hd1,1) or (hd?,?)
    Also, whats with grub saying i need to boot the kernel first (aren't i trying to do that?)



    Additional resources/information can be found at:
    (http://docs.kali.org/installation/ka...ve-usb-install)
    (http://ankitsinghaniyaz.wordpress.co...a-uefi-system/)

  2. #2
    Join Date
    2014-Mar
    Posts
    1

    Me too

    I'm having the same issue, I used the grub script from

    http://linuxhow2s.blogspot.co.uk/201...based.html?m=1

    And made my live usb with unetbootin usingt Kali iso from the official sites. Been struggling with it for days now

  3. #3
    Join Date
    2014-Mar
    Posts
    2
    The same issue for me.

    I followed the method to which xxKeefer refers.

    Need help
    Last edited by aliok; 2014-04-04 at 13:53.

  4. #4
    Join Date
    2015-Mar
    Posts
    1
    Ok I have tried that and I still cannot get it to boot from USB. I select to boot from USB and I see the screen flash black and then it boots right into windows 8

Similar Threads

  1. Dual boot Windows 10 & Kali Linux 2016.2 UEFI
    By stevo4mkd in forum How-To Archive
    Replies: 6
    Last Post: 2017-04-06, 16:55
  2. UEFI Dual Boot Kali Linux 1.0.9 with Windows 8.1
    By kingoking in forum Installing Archive
    Replies: 10
    Last Post: 2016-09-10, 21:43
  3. Problem with Kali Live Usb UEFI(Dual boot Kali and Windows 8.1)
    By Moonninja in forum Installing Archive
    Replies: 2
    Last Post: 2016-01-21, 17:59
  4. Dual Boot Kali Linux with Windows 8.1 (UEFI and SECURE BOOT)
    By sentostv in forum Installing Archive
    Replies: 2
    Last Post: 2015-01-01, 02:53

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •