Resizing partition...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    Resizing partition...

    This is my partition layout

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda11 487M 442M 20M 96% /
    /dev/sda6 487M 19M 443M 4% /boot
    tmpfs 467M 0 467M 0% /dev/shm
    /dev/sda9 4.8G 3.1G 1.5G 68% /home
    /dev/sda8 8.6G 7.9G 222M 98% /usr
    /dev/sda7 9.5G 2.6G 6.5G 29% /var

    my problem is with / partition...
    I want to compile new kernel..
    New modules goes in /lib/module directory..
    Here space is very little..
    My admin has screwed up this linux disk..

    Is there any way to increase the size...
  • micmast
    New Member
    • Mar 2008
    • 144

    #2
    you could try to resize the partitions, but you might lose all your data. Another suggestion would be to place the content of / on a bigger disk and reconfigure the bootloader in the /boot partition
    also take a look at the /etc/fstab file, reboot and try it out, otherwhise you could always go back to your original partition. It does require some free space or a new hard drive. But that is what I would try (had some bad experience with resizing)

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      If you end up having to shuffle the disk space around though, I recommend using gparted as its a really useful and good tool for this kind of thing.

      Regards,

      Jeff

      Comment

      • ashitpro
        Recognized Expert Contributor
        • Aug 2007
        • 542

        #4
        Important thing is I don't want to lose data...
        Does gparted provide this assurance?
        And important thing is I have some free space after sda11 partition...
        ....gparted should love this....

        Comment

        • Nepomuk
          Recognized Expert Specialist
          • Aug 2007
          • 3111

          #5
          No tool for resizing partitions will ensure this, as far as I know. They all say, that probably nothing will happen, but you should really make a backup of your data, just to be on the safe side.

          By the way, gparted (and other tools like qtparted) all use the command line tool parted, which you can find out more about via man parted. Which frontend you use is completely your choice. I personally prefer qtparted over gparted, but that's a personal and emotional choice, not a rational one.

          Greetings,
          Nepomuk

          Comment

          • Banderasky
            New Member
            • Mar 2009
            • 1

            #6
            Backup before you partition

            Originally posted by ashitpro
            Important thing is I don't want to lose data...
            Does gparted provide this assurance?
            And important thing is I have some free space after sda11 partition...
            ....gparted should love this....
            If you want to resize the partiton without data loss, which nobody could make assurance to you, you should backup those important files first in case of data loss after partitioning.

            Comment

            Working...