Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] No space in /boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
slalom
n00b
n00b


Joined: 01 Oct 2018
Posts: 15

PostPosted: Wed Oct 31, 2018 3:09 pm    Post subject: [SOLVED] No space in /boot Reply with quote

[Moderator note: thread marked as solved based on the currently last post in the thread, by the original poster, declaring the original problem solved. -Hu]

disk -l
......
Code:
/dev/sda3 .....   128M  83  Linux


df -h

Code:
/dev/sda3 ....57k   used-55k  use-100% /boot


how is this possible?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6929
Location: almost Mile High in the USA

PostPosted: Wed Oct 31, 2018 4:22 pm    Post subject: Reply with quote

Well, what did you put in /boot ?

Take a look at what's there...have you been make installing kernels there without removing the old ones perhaps?

128MB, I don't know if you're sharing this as an EFI partition for another OS, but at kernels at 4-5MB a piece you should be able to store a couple there, though not tons. Keep in mind your initrds need to be there too, so watch those as well.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2268
Location: near Augsburg, Germany

PostPosted: Wed Oct 31, 2018 6:52 pm    Post subject: Reply with quote

Then post

ls -l

of /boot here.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13021

PostPosted: Thu Nov 01, 2018 1:06 am    Post subject: Reply with quote

That does not look like typical df output. OP: please show the df command you ran and the full content of the relevant line. Omit any irrelevant filesystems you wish to hide, but do not edit the line for the relevant filesystem.
Back to top
View user's profile Send private message
slalom
n00b
n00b


Joined: 01 Oct 2018
Posts: 15

PostPosted: Thu Nov 01, 2018 5:25 pm    Post subject: Reply with quote

The section was formatted in ext2.
I again created /boot and formatted it in ext4.


Last edited by slalom on Thu Nov 01, 2018 5:48 pm; edited 2 times in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2496

PostPosted: Thu Nov 01, 2018 5:32 pm    Post subject: Reply with quote

The boot should be ext2 since the journaling features of ext3/4 are only taking up space. That was completely pointless and destructive. You want to clean the unused stuff, not nuke the system.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6602
Location: Saint Amant, Acadiana

PostPosted: Thu Nov 01, 2018 5:36 pm    Post subject: Reply with quote

Ext4 journal can be turned off if you really need more space.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
slalom
n00b
n00b


Joined: 01 Oct 2018
Posts: 15

PostPosted: Thu Nov 01, 2018 5:47 pm    Post subject: Reply with quote

I am very glad that they answered me!
I already put GRUB2 and I in gentoo!
But at

Code:
emerge --ask --changed-use --deep @world



freezes on line :cry:

Code:
../../mspecs/linux-g++ -o .obj/qwindow.o kernel/qwindow.c



There is enough disk space.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6929
Location: almost Mile High in the USA

PostPosted: Thu Nov 01, 2018 8:23 pm    Post subject: Reply with quote

If you're limited on RAM, some of those g++ programs will make your computer thrash badly, making it seem like it's frozen until it is ready to give up when it's truly out of memory.

But there's not enough clues yet as to what's going on... are you out of RAM?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
slalom
n00b
n00b


Joined: 01 Oct 2018
Posts: 15

PostPosted: Fri Nov 02, 2018 12:30 pm    Post subject: Reply with quote

eccerr0r wrote:
If you're limited on RAM, some of those g++ programs will make your computer thrash badly, making it seem like it's frozen until it is ready to give up when it's truly out of memory.

But there's not enough clues yet as to what's going on... are you out of RAM?


notebook - intel i3 2G-Ram 8G-swap (I plan to increase memory)

freeze for 11 hours
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1154

PostPosted: Fri Nov 02, 2018 12:59 pm    Post subject: Reply with quote

A couple questions:

How many kernels do you have in your /boot? Is it possible you could remove old kernel versions to buy some space? While you are at it, any initramfs files that are no longer in use could likewise be pitched...

I agree, that doesn't look like DF output, but assuming 128M...
IMHO, 128M is not very much space for modern kernels -- especially if you like to keep the older ones around for a bit after updating. Can you stretch it?

Can you give the output of df -Th?

And, the last line of output from a failed "emerge" isn't very useful. Can you give at least the last dozen or so? Maybe throw in the output of an "emerge --info"?
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
slalom
n00b
n00b


Joined: 01 Oct 2018
Posts: 15

PostPosted: Fri Nov 02, 2018 2:23 pm    Post subject: Reply with quote

grooveman wrote:
A couple questions:

How many kernels do you have in your /boot?

With /boot everything is normal - there is 1 core for now and 27% use
emerge --info
Code:
Portage 2.3.49 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.27-r6, 4.14.65-gentoo x86_64)
=================================================================
System uname: Linux-4.14.65-gentoo-x86_64-Intel-R-_Core-TM-_i3-2310M_CPU_@_2.10GHz-with-gentoo-2.4.1
KiB Mem:     1914076 total,   1677908 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 31 Oct 2018 00:45:01 +0000
Head commit of repository gentoo: 6150aef4b1af5e58b8a96af5c6c13be579b4d57d
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=sandybridge -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=sandybridge -O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo-mirror.alexxy.name/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc lock mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp session spell ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6929
Location: almost Mile High in the USA

PostPosted: Fri Nov 02, 2018 2:33 pm    Post subject: Reply with quote

This topic has been very confusing, so you got past your /boot out of disk space issue and now stuck while emerging something, probably qtwebkit?

2GB RAM is tight for 64-bit, you may need to reduce your MAKEOPTS from -j3 to -j2.

You might want to open another topic if the new problem is unrelated to the initial issue.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
slalom
n00b
n00b


Joined: 01 Oct 2018
Posts: 15

PostPosted: Fri Nov 02, 2018 2:57 pm    Post subject: Reply with quote

Ok. Problem with /boot SOLVED.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum