PDA

View Full Version : Installing Kali Linux- Attempting to create persistence on Live USB following Docs returning error



candy
2020-08-02, 02:15
Hello. I am attempting to create persistence on my USB drive. It has 64 GB of space and the only thing on it is Kali (flashed using Etcher).
I have followed steps 1 and 2 on https://www.kali.org/docs/usb/kali-linux-live-usb-persistence/, however, when trying to do step 3, I am returned the following:
kali@kali:~$ sudo su
root@kali:/home/kali# mkfs.ext3 -L persistence /dev/sdb3
mke2fs 1.45.6 (20-Mar-2020)/dev/sdb3: Not enough space to build proposed filesystem while setting up superblockroot@kali:/home/kali#
I don't understand how there is not enough space to build it, as doing fdisk -l tells me this:
Disk /dev/sdb: 58.61 GiB, 62914560000 bytes, 122880000 sectors
Disk model: USB Flash Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xfb0b3988
It has 58.61 GiB free. Is that not enough space?

peter415mars
2020-08-03, 10:34
Hello. I am attempting to create persistence on my USB drive. It has 64 GB of space and the only thing on it is Kali (flashed using Etcher).
I have followed steps 1 and 2 on https://www.kali.org/docs/usb/kali-linux-live-usb-persistence/, however, when trying to do step 3, I am returned the following:
kali@kali:~$ sudo su
root@kali:/home/kali# mkfs.ext3 -L persistence /dev/sdb3
mke2fs 1.45.6 (20-Mar-2020)/dev/sdb3: Not enough space to build proposed filesystem while setting up superblockroot@kali:/home/kali#
I don't understand how there is not enough space to build it, as doing fdisk -l tells me this:
Disk /dev/sdb: 58.61 GiB, 62914560000 bytes, 122880000 sectors
Disk model: USB Flash Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xfb0b3988
It has 58.61 GiB free. Is that not enough space?
i had the same error too, i used fdisk -l and saw that it had like 35 kb of space
i couldnt figure out how to fix it through the terminal commands and when i created additional partitions they were the right size.
but i did fix it by flashing the usb with rufus, which gives you an option in the flasher to begin with persistent mode.