Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Enough free disk space in my / to upgrade Debian?

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
ant
Posts: 355
Joined: 2011-11-09 00:15

Enough free disk space in my / to upgrade Debian?

#1 Post by ant »

Hello.

Does my current old Debian desktop PC's 115 GB SSD have enough room in its / partition? I believe this has my /boot stuff.

Code: Select all

$ df
Filesystem     1K-blocks      Used Available Use% Mounted on
/dev/sda1         944120    678436    200508  78% /
udev               10240         0     10240   0% /dev
tmpfs             411588     34204    377384   9% /run
/dev/sda8       49851100   6860664  40435044  15% /usr
tmpfs            1028964        68   1028896   1% /dev/shm
tmpfs               5120        12      5108   1% /run/lock
tmpfs            1028964         0   1028964   0% /sys/fs/cgroup
/dev/sda5         944120      1304    877640   1% /tmp
/dev/sda6        4673664   1985364   2427848  45% /var
/dev/sda9       49882844   4336848  42989020  10% /home
tmpfs             205796         8    205788   1% /run/user/1000
...
It doesn't seem like I can resize my / partition too as shown in gparted: http://s11.postimg.org/c4pyttash/gparted.gif ... Does that mean I need to redo the drive to fix it? :(

Thank you in advance. :)

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Enough free disk space in my / to upgrade Debian?

#2 Post by Wheelerof4te »

Please read:

http://forums.debian.net/viewtopic.php?f=30&t=47078

EDIT: That's a really small root partition. No, there is not enough space. You need at least 3-5 GB, depending on DE.

ant
Posts: 355
Joined: 2011-11-09 00:15

Re: Enough free disk space in my / to upgrade Debian?

#3 Post by ant »

Wheelerof4te wrote:Please read:

http://forums.debian.net/viewtopic.php?f=30&t=47078

EDIT: That's a really small root partition. No, there is not enough space. You need at least 3-5 GB, depending on DE.
My DE isn't in /. It seems like / has my boot stuff.

User avatar
orythem27
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: Enough free disk space in my / to upgrade Debian?

#4 Post by orythem27 »

ant wrote:/dev/sda1 944120 678436 200508 78% /
/dev/sda6 4673664 1985364 2427848 45% /var
One of the other considerations is /var, which has roughly 2.3 GiB left. Not sure if it's enough, you need a big enough /var/cache/apt/archives/ to temporarily hold the deb packages.

If the download size happens to be bigger than 2.3 GiB, you can temporarily mount a bigger external drive to /var/cache/apt/archives/. (copy the lock file and the partial folder, mind the permission bits.)
(I havn't tried this yet. Not sure if it'll work.)

ant
Posts: 355
Joined: 2011-11-09 00:15

Re: Enough free disk space in my / to upgrade Debian?

#5 Post by ant »

I did some clean ups in /root and wanted to see if I could resize my partitions with a bootable KNOPPIX v7.1.1 DVD's gparted. I resized my /tmp partition in half (did not apply yet -- also got a warning message -- safe to apply?), but I couldn't give its unallocated half to / as shown in my https://imgur.com/a/akaRr screen (shot/capture)s.

Post Reply