Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2111  / 3 Years ago, mon, july 5, 2021, 1:12:43

I started to receive "Low Disk Space" message on my Ubuntu Oneiric 11.04 few days ago.
With GParted I see that my /dev/sda1 where is system is only 1,17 Gb! and this is obviously not enough. I have 3 more (needed) partitions with enough space and about 28 Gb of unalocated disk space on this phisical disk.
Now I can't turn on terminal with root privileges "Failed to run /usr/bin/x-terminal-emulator as user root." anymore because linux is "Unable to copy the user's Xauthorization file".



Question is: Can I increase my /dev/sda1 by adding this unallocated space and how to do this?
Preffered with GParted if possible.
I try to do this by myself but unsuccessfuly. This partition is of ntfs type and here is also system files for windows booting what I choose with grub at startup.



I am not linux guru so please explanation on "simple way".



Edit

The output of df -T is:





Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda7 ext4 113036984 107296076 0 100% /
udev devtmpfs 1987968 4 1987964 1% /dev
tmpfs tmpfs 798356 1184 797172 1% /run
none tmpfs 5120 0 5120 0% /run/lock
none tmpfs 1995888 3736 1992152 1% /run/shm
/dev/sda3 fuseblk 16383996 9103384 7280612 56% /media/sda3
/dev/sdc1 vfat 312492320 49250336 263241984 16% /media/usb0


Additionally, this thead is not duplicate of any other thread in ask ubuntu!



Sorry, I am new here and dont know with this forum yet!



I emptyed trash already!
Then get some more access to my root... thank you!



But I see GParted LiveCD is for x86 machines.
Forgot to say I use 64bit machine and OS.
Is this OK for me?



Sure, I get useful and nice answers here and I will vote as soon I register.
Someone put me here automatically from "stack-overflow" and I am forbidden to give votes unregistered. Sorry.


More From » 11.10

 Answers
3

  1. To gain access to the root-reserved space, change the size from 5% to 0,5%. As you are not on a server, it won't hurt anybody.



    sudo tune2fs -m 0.5 /dev/sda7

  2. Resize with an ubuntu liveCD/liveUSB or with Gparted LiveCD. It can move, shrink, grow partitions. But keep in mind, that you must one task at a time (eg. first shrink, then move ...).



[#41125] Tuesday, July 6, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eving

Total Points: 162
Total Questions: 102
Total Answers: 112

Location: Trinidad and Tobago
Member since Thu, Dec 1, 2022
1 Year ago
eving questions
;