2
Trying to create Kali Linux live USB persistance. Split the usb like this:
|| first part FAT for data || second part FAT for LINUX || third part for persistance||
Then set "bootable" flag in gparted on /dev/sdb2
Format: mkfs.vfat -n linux /dev/sdb2
Then trying to copy kali linux files, like this:
`dd if=kali-linux-1.0.9a-amd64.iso of=/dev/sdb2 bs=512k`
Now, I reboot my laptop, select Flash Drive as boot-able device, and have this:
grub error: File not found... grub entering rescue mode grub rescue>
Then, I tried out things mentioned in the following links:
bbs.archlinux.org/viewtopic.php?id=169650
adw0rd.com/2010/4/5/grub-rescue/
askubuntu.com/questions/142300/fixing-grub-error-error-unknown-filesystem
and nothing helps!
grub rescue> ls hd0, (hd0,msdos3), (hd0,msdos1), (hd0,msdos2), (hd1,msdos4), (hd1,msdos3), (hd1,msdos1), (hd1,msdos2), hd1 grub rescue> set prefix=(hd0,msdos2)/boot/grub root=(hd0,msdos2)
I have already spent 3 days to solve this problem and can't find a solution.
P.S. fdisk shows for /dev/sdb2
Command (m for help): p
Disk /dev/sdb2: 4294 MB, 4294967296 bytes
193 heads, 32 sectors/track, 1358 cylinders, total 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0a9a1b1a
Device Boot Start End Blocks Id System
/dev/sdb2p1 * 64 6324223 3162080 17 Hidden HPFS/NTFS
/dev/sdb2p2 6324224 6485375 80576 1 FAT12
Are it's normal partition table for Kali Linux?
I partly solve the problem by reformatting partition /dev/sdb2 and reinstall grub on it.
Now. I have new problem. Can't start kali linux from grub. – Михаил Загурский – 2015-08-27T09:21:18.183