About

Welcome to netzgewitter.

This site is about various personal experiences in the field of software engineering, programming, operating systems and much more. Even though I live in Austria, which is a beautiful country with gorgeous mountains and luscious green fields, I spend a lot of time in the country of bits and bytes, which has no boundaries at all. If it can be programmed or hacked, I am interested in it.

You will find various topics that have concerned myself on this site. Sometimes those are just bits of information. Other times it’s about professional or private projects that I am working on. Instead of keeping everything to myself, I decided to share my findings with the world. If somebody stumbles over my site and find some bits and peaces useful – that would make my day. And I am always happy about feedback. Either leave a comment here on my site or at ng AT netzgewitter DOT com.

PS: netzgewitter is German. It basically means thunder storm on the net.


3 Comments

  1. Nicholas F. Sacca says:

    Hello: I have a 100GB vdisk for my Back Track 5, but my FileSystem is only showing 498MB available. Is there an application I can download that will automatically expand my free space in my FileSystem. I am operating VMWare Workstation V7.X on a Linux Guest Operating System. Can anyone help? Thank you!

    • norbert says:

      Hi Nicholas.
      First, you would need to determine if it's only the file system which is to small or if the whole partition your file system is on is too small.

      Find out on which partition your file system is on. Type in "mount":

      root@bt:~# mount
      /dev/sda1 on / type ext4 (rw,errors=remount-ro)
      ...
      ...

      In my case the root file system ("/") is on /dev/sda1.

      Now check the size of the partition. Use fdisk -l or parted -l:

      root@bt:~# fdisk -l

      Disk /dev/sda: 17.2 GB, 17179869184 bytes
      255 heads, 63 sectors/track, 2088 cylinders
      Units = cylinders of 16065 * 512 = 8225280 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk identifier: 0x000e1ca6

      Device Boot Start End Blocks Id System
      /dev/sda1 * 1 2037 16361178+ 83 Linux
      /dev/sda2 2038 2089 414720 f W95 Ext'd (LBA)
      /dev/sda5 2038 2089 413696 82 Linux swap / Solaris

      This gives you a lot of information. You can see that the whole disk has 17.2 GB (should by 100GB for you) and that the partition /dev/sda1 has 16361178 blocks, which is 15977MB or roughly 16GB (you need to divide the blocks by 1024 to get the MB). If the partition is the size you want it to be (about the 100GB) then you're fine. You'd only need to enlarge the file system. Check out step 3 in Resizing a Linux Partition (Running in VirtualBox).

      If the partition is too small as well, then you need to enlarge the partition first. I can't give you a general recipe here, because it depends on how the partitions were lay out. Maybe the file system partition is too small and the rest of the drive is unused. Then you only need to enlarge the partition. But maybe other partitions were created as well and you need to remove those first. Basically you can do all that with parted. See Step 2 in Resizing a Linux Partition (Running in VirtualBox). But be careful. Create a backup if you have sensitive data on your file system. It's really easy to screw up the file system when messing with the partition table.

  2. Daniel Brice says:

    Accidental duplicate comment, my apologies, feel free to remove.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*