Results 1 to 2 of 2

Thread: Kali 2016.2 ISO live booting through Grub4DOS not working

  1. #1
    Join Date
    2016-Nov
    Posts
    2

    Question Kali 2016.2 ISO live booting through Grub4DOS not working

    Hello,

    I have been at this for a few hours and can't seem to get it to work properly.
    I have placed Kali ISO in my HDD, in an NTFS partition, and am trying to load it from there through Grub4DOS but I'm encountering errors during boot, specifically:

    Code:
    FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystems will be case sensitive!
    ...
    (initramfs) Unable to find a medium containing a live file system
    Here is my Grub menu.lst entry for Kali:

    Code:
    title Kali
    find --set-root=/iso
    map /kali.iso (0xff) && map --hook && root (0xff)
    kernel /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali
    initrd /live/initrd.img

    So far the only way I got it to boot properly was by placing the /live/ folder in the root of my NTFS partition, and it must be exactly on the root, anywhere else and the boot process will fail with the error(s) mentioned above.

    Anyone has any idea how to get around this?

    Thanks.

  2. #2
    Join Date
    2016-Nov
    Posts
    2
    This has been solved, see bellow:

    Code:
    title Kali
    set ISO=/iso/kali-linux-2016.2-i386.iso
    find --set-root %ISO%
    uuid () && call set UUID=%^?%
    map %ISO% (0xff) && map --hook
    root (0xff)
    kernel /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali live-media-path=live fromiso=/dev/disk/by-uuid/%UUID%%ISO% live-config.locales=fr_FR.utf-8 live-config.keyboard-layouts=us,fr live-config.keyboard-options=grp:ctrl_shift_toggle persistence rw #toram=filesystem.squashfs
    initrd /live/initrd.img
    "toram" argument transfers the ISO to RAM and mounts the source disk as read/write.
    Persistence mode, as explained here, can be enabled by creating an ext3/ext4 primary type partition with label 'persistence', then create in that partition a file named 'persistence.conf' with the following content: / union
    Last edited by ner0; 2016-11-15 at 10:01.

Similar Threads

  1. GPU not working when booting live from sdcard
    By Yamau in forum Installing Archive
    Replies: 3
    Last Post: 2017-08-10, 04:52
  2. Kali 2016.2 usb 3g modem not working, on kali 2016.1 work without problems
    By einsteinb0y in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-11-10, 10:02
  3. Replies: 2
    Last Post: 2016-06-23, 13:33
  4. Kali Linux on a Multiboot USB Stick with Grub4dos
    By Gismor in forum General Archive
    Replies: 1
    Last Post: 2016-03-22, 17:58

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
  •