Announcement

Collapse
No announcement yet.

I can't resize/move the root partition using Kubuntu Live!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] I can't resize/move the root partition using Kubuntu Live!

    Hey, everyone!

    I shrank my /home partition to resize root, then I started Kubuntu Live in order to use Gparted, but when I try to resize/move the root partition, there's no space available to do it, even having another Non allocated partition to that purpose. How should I proceed?

    Thanks in advance!

    #2
    A couple things come to mind, which file system did you install with?
    show us the output of terminal command
    Code:
    df -Th
    This tutorial though for Ubuntu will still work for Kubuntu. Use the gparted one.
    https://www.howtogeek.com/114503/how...tu-partitions/





    Dave Kubuntu 20.04 Registered Linux User #462608

    Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

    Comment


      #3
      Originally posted by alex7779 View Post
      Hey, everyone!

      I shrank my /home partition to resize root, then I started Kubuntu Live in order to use Gparted, but when I try to resize/move the root partition, there's no space available to do it, even having another Non allocated partition to that purpose. How should I proceed?

      Thanks in advance!
      You shrank it, but you also might need to move it over, so that the free space is between / and /home, if you haven't done so already.
      A screenshot of your layout from KDE Partition Manager or Gparted might help.

      Comment


        #4
        Click image for larger version

Name:	Gparted.png
Views:	475
Size:	43.7 KB
ID:	665660
        As you can see, the unallocated space that I want to use is right after the /home partition. Maybe that's why I can't expand sdb1?

        Comment


          #5
          Originally posted by kc1di View Post
          A couple things come to mind, which file system did you install with?
          show us the output of terminal command
          Code:
          df -Th
          This tutorial though for Ubuntu will still work for Kubuntu. Use the gparted one.
          https://www.howtogeek.com/114503/how...tu-partitions/
          Code:
          $ df -Th
          Filesystem Type Size Used Avail Use% Mounted on
          tmpfs tmpfs 1.6G 1.7M 1.6G 1% /run
          /dev/sdb1 ext4 79G 42G 33G 57% /
          tmpfs tmpfs 7.8G 26M 7.8G 1% /dev/shm
          tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
          tmpfs tmpfs 1.6G 72K 1.6G 1% /run/user/1000
          /dev/sdb3 ext4 98G 35G 58G 38% /media/alejandro/bdc6f254-4fff-4fcc-940a-5ef7ce68ec3e
          /dev/sda2 ext4 196G 14G 173G 8% /run/timeshift/backup
          /dev/sda1 fuseblk 732G 397G 335G 55% /media/alejandro/BACKUP

          Comment


            #6
            You need to move both sdb3 and your swap over, so that the empty space is next to the first partition

            You do not have a separate /home partition.
            /media/alejandro/bdc6f254-4fff-4fcc-940a-5ef7ce68ec3e is not the same thing as /home/alejandro at all. it is just a partition that has been auto-mounted. The common location for this is usually /media/your-username/some-label

            You can make it your $HOME if you want, by adding it properly to your fstab
            This page may be old, and you have done most of the work already, but the directions are still quite valid today:
            https://www.howtogeek.com/116742/how...alling-ubuntu/
            backup everything beforehand, of course.

            Your / is more than big enough if you do that, 20-30Gb is usually more than big enough

            Comment


              #7
              In fact, I think what I should do is add the sdb3 partition to fstab, and then change the settings on VirtualBox in order to have the Default Machine Folder on /media/alejandro/bdc6f254-4fff-4fcc-940a-5ef7ce68ec3e. What do you think?

              This is what I have:
              Code:
              # /etc/fstab: static file system information.
              #
              # Use 'blkid' to print the universally unique identifier for a
              # device; this may be used with UUID= as a more robust way to name devices
              # that works even if disks are added and removed. See fstab(5).
              #
              # <file system> <mount point>   <type>  <options>       <dump>  <pass>
              # / was on /dev/sdb1 during installation
              UUID=063696a2-4159-4a0a-82dc-fc1ef5809a1d /               ext4    errors=remount-ro 0       1
              # swap was on /dev/sdb2 during installation
              UUID=264c1d88-d967-4f36-8522-7ed467420e91 none            swap    sw              0       0​

              Comment


                #8
                Originally posted by claydoh View Post
                This page may be old, and you have done most of the work already, but the directions are still quite valid today:
                https://www.howtogeek.com/116742/how...alling-ubuntu/
                I did that, and now sdb3 is mounted as /home. Thanks!
                By the way, I'd like to save that article as pdf. Do you know a way to do it? Should I have to create another topic? Should I just Google it?

                EDIT: St. Google told me that, in Chrome, going to File>Print I can set to 'Save to PDF', but the document keeps all blank spaces and stuff too... Maybe copying it manually and paste it into LibreOffice Writer could do the trick.
                Last edited by alex7779; Oct 04, 2022, 10:52 AM.

                Comment


                  #9
                  Originally posted by alex7779 View Post
                  EDIT: St. Google told me that, in Chrome, going to File>Print I can set to 'Save to PDF', but the document keeps all blank spaces and stuff too... Maybe copying it manually and paste it into LibreOffice Writer could do the trick.
                  Just create a Bookmark in Chrome.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment

                  Working...
                  X