Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190270 > unrolled thread

Out of root partition space

Started bySarah Johnson <sarah-johnson-1990@list.ru>
First post2017-12-26 03:10 +0100
Last post2018-01-03 18:10 +0100
Articles 7 — 7 participants

Back to article view | Back to linux.debian.user


Contents

  Out of root partition space Sarah Johnson <sarah-johnson-1990@list.ru> - 2017-12-26 03:10 +0100
    Re: Out of root partition space Doug <dmcgarrett@optonline.net> - 2017-12-26 05:10 +0100
      Re: Out of root partition space john doe <johndoe65534@mail.com> - 2017-12-26 07:40 +0100
        Re: Out of root partition space David Baron <dbaron770@gmail.com> - 2017-12-26 08:40 +0100
    Re: Out of root partition space Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-26 10:30 +0100
      Re: Out of root partition space Felix Miata <mrmazda@earthlink.net> - 2017-12-26 11:00 +0100
    Re: Out of root partition space Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-01-03 18:10 +0100

#190270 — Out of root partition space

FromSarah Johnson <sarah-johnson-1990@list.ru>
Date2017-12-26 03:10 +0100
SubjectOut of root partition space
Message-ID<v0MQO-3W4-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi,
I ran out of root partition disk space and can't install or remove any more packages or even login gui window manager anymore

i spent few good hours researching for solutions and found that i can resize root and home partitions using resize2fs and lvresize tools but they are not even installed on my system

so is it safe to resize debian root and other partitions using windows machine partitioning tool ?
knowing that my debian installation is on a USB stick

Thanks
-- 
Sarah Johnson

[toc] | [next] | [standalone]


#190273

FromDoug <dmcgarrett@optonline.net>
Date2017-12-26 05:10 +0100
Message-ID<v0OIV-5hQ-3@gated-at.bofh.it>
In reply to#190270
On 12/25/2017 08:44 PM, Sarah Johnson wrote:
> Hi,
> I ran out of root partition disk space and can't install or remove any 
> more packages or even login gui window manager anymore
>
> i spent few good hours researching for solutions and found that i can 
> resize root and home partitions using resize2fs and lvresize tools but 
> they are not even installed on my system
>
> so is it safe to resize debian root and other partitions using windows 
> machine partitioning tool ?
> knowing that my debian installation is on a USB stick
>
> Thanks
> -- 
> Sarah Johnson 
Why not download GParted--the version that runs off a CD, and burn 
it--and use that? At least it's Linux, and has a lot of capability, like 
changing partition sizes, making new ones, moving existing ones, etc.

--doug

[toc] | [prev] | [next] | [standalone]


#190274

Fromjohn doe <johndoe65534@mail.com>
Date2017-12-26 07:40 +0100
Message-ID<v0R45-6Pw-3@gated-at.bofh.it>
In reply to#190273
On 12/26/2017 5:04 AM, Doug wrote:
> 
> On 12/25/2017 08:44 PM, Sarah Johnson wrote:
>> Hi,
>> I ran out of root partition disk space and can't install or remove any 
>> more packages or even login gui window manager anymore
>>
>> i spent few good hours researching for solutions and found that i can 
>> resize root and home partitions using resize2fs and lvresize tools but 
>> they are not even installed on my system
>>
>> so is it safe to resize debian root and other partitions using windows 
>> machine partitioning tool ?
>> knowing that my debian installation is on a USB stick
>>
>> Thanks
>> -- 
>> Sarah Johnson 
> Why not download GParted--the version that runs off a CD, and burn 
> it--and use that? At least it's Linux, and has a lot of capability, like 
> changing partition sizes, making new ones, moving existing ones, etc.
> 

Rescue mode seems a good choise to start with.
I wouldn't use windows for that unless you have some spare time! :)
Maybe backing up your home partition might be a good idea.

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#190275

FromDavid Baron <dbaron770@gmail.com>
Date2017-12-26 08:40 +0100
Message-ID<v0S09-7sa-1@gated-at.bofh.it>
In reply to#190274

[Multipart message — attachments visible in raw view] — view raw

Isn't the Debian I installed wonderful!
I ended up putting in an additional drive and repartitioning to solve this.

On Tue, Dec 26, 2017, 8:34 AM john doe <johndoe65534@mail.com> wrote:

> On 12/26/2017 5:04 AM, Doug wrote:
> >
> > On 12/25/2017 08:44 PM, Sarah Johnson wrote:
> >> Hi,
> >> I ran out of root partition disk space and can't install or remove any
> >> more packages or even login gui window manager anymore
> >>
> >> i spent few good hours researching for solutions and found that i can
> >> resize root and home partitions using resize2fs and lvresize tools but
> >> they are not even installed on my system
> >>
> >> so is it safe to resize debian root and other partitions using windows
> >> machine partitioning tool ?
> >> knowing that my debian installation is on a USB stick
> >>
> >> Thanks
> >> --
> >> Sarah Johnson
> > Why not download GParted--the version that runs off a CD, and burn
> > it--and use that? At least it's Linux, and has a lot of capability, like
> > changing partition sizes, making new ones, moving existing ones, etc.
> >
>
> Rescue mode seems a good choise to start with.
> I wouldn't use windows for that unless you have some spare time! :)
> Maybe backing up your home partition might be a good idea.
>
> --
> John Doe
>
>

[toc] | [prev] | [next] | [standalone]


#190276

FromPascal Hambourg <pascal@plouf.fr.eu.org>
Date2017-12-26 10:30 +0100
Message-ID<v0TIB-de-5@gated-at.bofh.it>
In reply to#190270
Le 26/12/2017 à 02:44, Sarah Johnson a écrit :
> Hi,
> I ran out of root partition disk space and can't install or remove any more packages or even login gui window manager anymore
> 
> i spent few good hours researching for solutions and found that i can resize root and home partitions using resize2fs and lvresize tools but they are not even installed on my system

resize2fs serves to resize an ext2/3/4 filesystem. It is part of the 
e2fsprogs package which is essential, so it must be installed. Anyway 
you can extend a filesystem only after extending its container 
(partition, logical volume or whatever).

lvresize serves to resize an LVM logical volume. It is part of the lvm2 
package which is automatically installed and required when you use LVM 
logical volumes during the system installation. If it is not installed, 
it means that the system does not have LVM logical volumes, so lvresize 
is useless.

> so is it safe to resize debian root and other partitions using windows machine partitioning tool ?

No. Windows does not understand Linux filesystems.

Before considering resizing partitions, the first step is to identify 
what files and directories take space on the root partition and could be 
removed.

Informations to gather :
- partition layout
fdisk -l
- check free/used disk space
df -hT
- explore disk usage on the root filesystem
du -hcxd1 /

[toc] | [prev] | [next] | [standalone]


#190278

FromFelix Miata <mrmazda@earthlink.net>
Date2017-12-26 11:00 +0100
Message-ID<v0UbD-qN-7@gated-at.bofh.it>
In reply to#190276
Pascal Hambourg composed on 2017-12-26 10:20 (UTC+0100):

> Sarah Johnson composed:

>> so is it safe to resize debian root and other partitions using windows machine partitioning tool ?
...
> Before considering resizing partitions, the first step is to identify 
> what files and directories take space on the root partition and could be 
> removed.                               

!!!

> Informations to gather :
> - partition layout
> fdisk -l
> - check free/used disk space
> df -hT
> - explore disk usage on the root filesystem
> du -hcxd1 /                     

In addition, https://wiki.debian.org/FreeSpace is worth perusing before resizing
anything, particularly its package management cache references. If the
installation is more than a year old, package caching could account for half the
/ space consumed. Cleaning it could make further investigation, and to be sure
resizing, completely pointless.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#190610

FromJoe Pfeiffer <pfeiffer@cs.nmsu.edu>
Date2018-01-03 18:10 +0100
Message-ID<v3UIa-1Dh-33@gated-at.bofh.it>
In reply to#190270
Sarah Johnson <sarah-johnson-1990@list.ru> writes:

> Hi,
> I ran out of root partition disk space and can't install or remove any more packages or even login gui window manager anymore
>
> i spent few good hours researching for solutions and found that i can resize root and home partitions using resize2fs and lvresize tools but they are
> not even installed on my system
>
> so is it safe to resize debian root and other partitions using windows machine partitioning tool ?
> knowing that my debian installation is on a USB stick

No.  MS tools don't understand Linux filesystems.

By any chance is your /var/cache/apt/archives/ on your root partition?
If so, you can remove all the .deb files from that directory to free up
some space so you can install some repartitioning tools.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web