Results 1 to 12 of 12

Thread: Using all available space on USB

  1. #1
    Mikey Guest

    Using all available space on USB

    Hi
    I recently installed Kali Linux onto a 16GB USB stick and ran it on a Samsung Mini laptop. All went well until I tried to update and upgrade. I was unable to do this because the USB didn't have enough free space for the downloaded data. I expect the upgrade was trying to write the data to the space where Kali Linux had been installed to (2GB) and not the rest of the USB (a little over 13GB).

    Is there any way to use the rest of the space on the USB for updates and upgrades or am I stuck with just the Kali Linux in the 2GB of space.

    As you may see by my questions I'm pretty new to Kali Linux, but I've got to start somewhere so bare with me on this.

    I'd be grateful for any help with this problem.

    Thanks a lot.

    Michael .

  2. #2
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    Have you configured the USB stick for persistence? If not, https://docs.kali.org/downloading/ka...sb-persistence can help you set that up. When configuring, be sure to use all available space for the ext3 file system. That should let you upgrade Kali.

  3. #3
    Mikey Guest
    Thanks a lot grid

    That page was just what I needed, I may be spending more time here over the next couple of months as I start to learn Kali.

    But with help like this its going to be less of a pain.

    Thanks again.

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Have you installed kali filesystem or made bootable kali live? There is a difference. Kali filesystem acquires at least 16GB of space after installation whereas kali live just needs 4GB.

  5. #5
    Mikey Guest
    Hi
    I made a Kali live as I'm **** at the dual boot thing, so its easier to boot from the USB stick rather than take the risk of installing Kali to the whole laptop. It works well for me as I've just bought one of those mini laptops (10.1in screen with Windows 7 starter).

    I've still got to look at that page you showed me grid.

    Do it tomorrow.

    Thanks every one.

  6. #6
    Join Date
    2017-Sep
    Posts
    22
    I had the same problem and I could not get Kali's disk manager to format or partition the unused space on the USB it kept saying that the "file system was incorrect" I tired every single type but it would not format in any system.

    I went into Windows 10 disk manager that allowed me to format the unused space as FAT so I was able to use it to download driver files in WIndows10 that would be needed in the Kali install.

    I even tried writing the image to the USB using Kali but with the same result, it was not possible to use the unused space on the drive with Kali's disk manager, only Windows 10 could recognize and make use of the unused space. But Kali would recognize the partition and volume that Windows created so all ended well, just weird that Kali creates partitions that it cant later deal with.

  7. #7
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    No problem, hope it works for you

  8. #8
    Mikey Guest
    Hi
    Well things didn't go as planned and I'm stuck at mounting /dev/sdb3

    I followed the instruction to the letter, but every time (7 in all) it always comes out the same "umount: mnt/usb: not mounted"

    I'd be most grateful if you could have a look at the screenshot and tell me whats wrong.


  9. #9
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    Don't see anything obvious in the screenshot. I'd try removing the USB stick, clearing dmesg, then plugging the USB stick back in. If there's something going on with the USB stick, errors should show up in dmesg, or in /var/log.

  10. #10
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Typing error. There is a difference between my__usb and my_usb.

    my_usb does not exist in /mnt

  11. #11
    Mikey Guest
    OH dear
    I wiggled it, I rubbed it, I even blew in to it and still I couldn't get it to work. So like an idiot, I decided to install Kali on the whole drive, well its just a second hand mini laptop after all.

    Any way I got over half way and the software demanded I plug in the original disc which was already running in the external DVD drive (the mini laptop doesn't have a DVD drive).

    After several tries I gave up and low and behold I can't run windows any more. It will still boot from my usb drive. So not all is lost.

    Any suggestions other than "****** idiot" would be most helpful.

    Thanks a lot.

  12. #12
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    There was a typing mistake in your previous commands. You created a directory /mnt/my__usb and in your later commands you were typing the directory name as /mnt/my_usb which doesn't exist. You are typing incorrect name.

    Everything was going smooth then why did you delete the partition when you could have easily fixed your mistake?

Similar Threads

  1. Space utilization - keep running out of space
    By ntryptio in forum Kali Linux TroubleShooting
    Replies: 0
    Last Post: 2023-06-21, 18:28
  2. When updating get error 28, no space left on device when I know I have space
    By SamaraMorgan in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2021-07-20, 23:18
  3. There's not enough space at /
    By thatsme in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-05-23, 17:46
  4. Not enough space on tmp
    By itanon in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2017-01-14, 10:43
  5. Space
    By konez90 in forum ARM Archive
    Replies: 1
    Last Post: 2013-04-09, 03:47

Posting Permissions

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