All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilbert Adikankwu <gilbertadikankwu@gmail.com>
To: Julia Lawall <julia.lawall@inria.fr>
Cc: outreachy@lists.linux.dev
Subject: Re: [Outreachy Applicant] NEEDS SOME CLARIFICATIONS
Date: Wed, 11 Oct 2023 07:37:08 +0100	[thread overview]
Message-ID: <ZSZClLOzEiiWiT+N@gilbert-PC> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2310110825150.3208@hadrien>

On Wed, Oct 11, 2023 at 08:26:15AM +0200, Julia Lawall wrote:
> 
> 
> On Wed, 11 Oct 2023, Gilbert Adikankwu wrote:
> 
> > On Tue, Oct 10, 2023 at 10:54:19PM +0200, Andi Shyti wrote:
> > > Hi Gilbert,
> > >
> > > > Thank you for your response. I think I'm finally understanding good e-mail style
> > > > thanks to you and everyone else who has responded to emails
> > >
> > > glad to hear! :-)
> > >
> > > > > > > > You have too little space in the partition that contains /boot?
> > > > > > >
> > > > > > > What does "df -h" say?
> > > > > > >
> > > > > > > Andi
> > > > > >
> > > > > > This is what df -h returned:
> > > > > >
> > > > > > Filesystem      Size  Used Avail Use% Mounted on
> > > > > > tmpfs           784M  2.0M  782M   1% /run
> > > > > > /dev/sda9        23G   17G  5.6G  75% /
> > > > > > tmpfs           3.9G   45M  3.8G   2% /dev/shm
> > > > > > tmpfs           5.0M  4.0K  5.0M   1% /run/lock
> > > > > > /dev/sda7       944M  761M  119M  87% /boot
> > > > >
> > > > > I wonder why your boot directory is so packed, even though 119M
> > > > > should be enough.
> > > > >
> > >
> > > > I don't why it is so packed either. I ran du -ah /boot/ and it returned:
> > > > 272K /boot/config-6.2.0-34-generic
> > > > 14M /boot/vmlinuz-6.6.0-rc1gilbert+
> > > > 0 /boot/initrd.img
> > > > 276K /boot/config-6.6.0-rc1gilbert+
> > > > 14M /boot/vmlinuz-6.2.0-34-generic
> > > > 184K /boot/memtest86+_multiboot.bin
> > > > 7.6M /boot/System.map-6.2.0-26-generic
> > > > 180K /boot/memtest86+.bin
> > > > 184K /boot/memtest86+.elf
> > > > 67M /boot/initrd.img-6.2.0-34-generic
> > > > 7.7M /boot/System.map-6.2.0-34-generic
> > > > du: cannot read directory '/boot/efi': Permission denied
> > > > 1.0K /boot/efi
> > > > 0 /boot/vmlinuz
> > > > 7.6M /boot/System.map-6.6.0-rc1gilbert+
> > > > du: cannot read directory '/boot/lost+found': Permission denied
> > > > 16K /boot/lost+found
> > > > 14M /boot/vmlinuz-6.2.0-26-generic
> > > > 4.0K /boot/grub/x86_64-efi/lsefimmap.mod
> > > > 4.0K /boot/grub/x86_64-efi/setjmp.mod
> > > > 12K /boot/grub/x86_64-efi/loadenv.mod
> > >
> > > ...
> > >
> > > > 4.0K /boot/grub/i386-pc/search_fs_uuid.mod
> > > > 2.5M /boot/grub/i386-pc
> > > > 11M /boot/grub
> > > > 547M /boot/initrd.img-6.6.0-rc1gilbert+
> > > > 74M /boot/initrd.img-6.2.0-26-generic
> > > > 272K /boot/config-6.2.0-26-generic
> > > >
> > > > I apologize for the overly long list
> > >
> > > that's a long list indeed. I don't know what all those files are,
> > > but I don't think they are an issue.
> > >
> > > > > > /dev/sda11       60G   28G   30G  49% /home
> > > > >
> > > > > BTW, are you working in your home directory?
> > > > >
> > > > No, I'm not working in the home directory
> > >
> > > then I think this is the main issue. You have lots of free space
> > > in your home directory, you should work there. I only work in my
> > > home directory.
> > >
> > > I believe you weren't able to complete the compilation because
> > > you were working in the root partition where you have less
> > > space available.
> > >
> > > Andi
> > >
> > Hello Andi,
> >
> > Thank you for your response. So I'm not sure I understand what you mean
> > by do all you work in the home directory so I will explain how I work
> > now to see if that is what you mean.
> >
> > I have the staging respository in my home directory and I usually
> > do all my compilation from inside the directory of the staging
> > repository that is saved in my home directory.
> >
> > Is this what you mean by working from the home directory? or is there other setups I should be doing my home directory?
> >
> > Also I deleted the offending file in my /boot :
> >
> > 547M /boot/initrd.img-6.6.0-rc1gilbert+
> >
> > and deleted its module directory in usr/lib/modules
> >
> > I realised it was too large compared to the other kernels and assumed
> > that probably I didn't do its .config file properly which might have enabled
> > more modules than is needed for it to run on my machine.
> >
> > this is the result of df -h after the deletion:
> > Filesystem      Size  Used Avail Use% Mounted on
> > tmpfs           784M  2.0M  782M   1% /run
> > /dev/sda9        23G   11G   12G  47% /
> > tmpfs           3.9G  193M  3.7G   5% /dev/shm
> > tmpfs           5.0M  4.0K  5.0M   1% /run/lock
> > /dev/sda7       944M  201M  678M  23% /boot
> > /dev/sda11       60G   28G   30G  49% /home
> > /dev/sda2        96M   32M   65M  33% /boot/efi
> > tmpfs           784M  144K  784M   1% /run/user/1000
> >
> > I want to generate a new .config file and recompile. I also realised
> > that the staging repository I have on my machine is 28GB large is this
> > normal?
> 
> When you start compiling the Linux kernel it gets very big.  But maybe you
> reduced your config at some point, but didn't delete the no longer needed
> .o files?  You could try make clean and then recompile.
> 
> julia

Hello Julia,

Thank you for your response, I will do as you have suggested.

  reply	other threads:[~2023-10-11  6:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10  4:20 [Outreachy Applicant] NEEDS SOME CLARIFICATIONS Gilbert Adikankwu
2023-10-10  6:20 ` Deepak R Varma
2023-10-10  7:15 ` Andi Shyti
     [not found]   ` <CAKrXSsZe4w-K7kzGu=8_R_h1TSVtJWL1_TmFX-S-A1jCrPeCrg@mail.gmail.com>
2023-10-10 16:36     ` Julia Lawall
2023-10-10 16:42       ` Gilbert Adikankwu
2023-10-10 16:43       ` Andi Shyti
2023-10-10 16:45         ` Gilbert Adikankwu
2023-10-10 17:03           ` Andi Shyti
2023-10-10 17:34             ` Gilbert Adikankwu
2023-10-10 20:54               ` Andi Shyti
2023-10-11  6:15                 ` Gilbert Adikankwu
2023-10-11  6:26                   ` Julia Lawall
2023-10-11  6:37                     ` Gilbert Adikankwu [this message]
2023-10-11  7:10                     ` Andi Shyti
2023-10-13  7:59                       ` Gilbert Adikankwu
2023-10-13  8:17                         ` Julia Lawall
  -- strict thread matches above, loose matches on Subject: below --
2023-10-10  6:59 Gilbert Adikankwu
2023-10-10  7:06 Gilbert Adikankwu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZSZClLOzEiiWiT+N@gilbert-PC \
    --to=gilbertadikankwu@gmail.com \
    --cc=julia.lawall@inria.fr \
    --cc=outreachy@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.