You are not logged in.

#1 2013-02-06 13:19:18

Swarfega
Member
Registered: 2011-08-19
Posts: 100

[SOLVED] /mnt/boot too full

Hi all,

Trying to do a new install but failing during the base install.  I guess I fluffed the partitioning/formatting somehow. Can anyone spot my mistake?

1 root@archiso ~ # gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/sda: 104857600 sectors, 50.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 48F60E31-2B5C-44AD-AAD4-13EB0DA24278
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 104857566
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          104447   50.0 MiB    EF02  BIOS boot partition
   2          104448         1153023   512.0 MiB   8200  Linux swap
   3         1153024        32610303   15.0 GiB    8300  Linux filesystem
   4        32610304       104857566   34.5 GiB    8300  Linux filesystem
root@archiso ~ # lsblk /dev/sda
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   50G  0 disk
ââsda1   8:1    0   50M  0 part
ââsda2   8:2    0  512M  0 part
ââsda3   8:3    0   15G  0 part
ââsda4   8:4    0 34.5G  0 part
mount /dev/sda3 /mnt
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot
mkdir /mnt/home
mount /dev/sda4 /mnt/home
root@archiso ~ # pacman -Syy
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
:: Synchronizing package databases...
 core                                                                             105.2 KiB   595K/s 00:00 [################################################################] 100%
 extra                                                                           1416.3 KiB  1128K/s 00:01 [################################################################] 100%
 community                                                                       1918.1 KiB  1191K/s 00:02 [################################################################] 100%
root@archiso ~ # pacstrap /mnt base base-devel
==> Creating install root at /mnt
==> Installing packages to /mnt
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: There are 52 members in group base:
:: Repository core
   1) bash  2) bzip2  3) coreutils  4) cronie  5) cryptsetup  6) device-mapper  7) dhcpcd  8) diffutils  9) e2fsprogs  10) file  11) filesystem  12) findutils  13) gawk
   14) gcc-libs  15) gettext  16) glibc  17) grep  18) gzip  19) heirloom-mailx  20) inetutils  21) iproute2  22) iputils  23) jfsutils  24) less  25) licenses  26) linux
   27) logrotate  28) lvm2  29) man-db  30) man-pages  31) mdadm  32) nano  33) netcfg  34) pacman  35) pciutils  36) pcmciautils  37) perl  38) ppp  39) procps-ng  40) psmisc
   41) reiserfsprogs  42) sed  43) shadow  44) sysfsutils  45) systemd-sysvcompat  46) tar  47) texinfo  48) usbutils  49) util-linux  50) vi  51) which  52) xfsprogs

Enter a selection (default=all):
:: There are 21 members in group base-devel:
:: Repository core
   1) autoconf  2) automake  3) binutils  4) bison  5) fakeroot  6) file  7) findutils  8) flex  9) gawk  10) gcc  11) gettext  12) grep  13) gzip  14) libtool  15) m4  16) make
   17) patch  18) pkg-config  19) sed  20) texinfo  21) which

Enter a selection (default=all):
warning: skipping target: file
warning: skipping target: findutils
warning: skipping target: gawk
warning: skipping target: gettext
warning: skipping target: grep
warning: skipping target: gzip
warning: skipping target: sed
warning: skipping target: texinfo
warning: skipping target: which
resolving dependencies...
looking for inter-conflicts...

Targets (129): acl-2.2.51-3  archlinux-keyring-20130127-1  attr-2.4.46-2  ca-certificates-20130119-1  cloog-0.18.0-1  cracklib-2.8.22-1  curl-7.28.1-1  db-5.3.21-1  dbus-1.6.8-6
               dirmngr-1.1.0-4  expat-2.1.0-1  gdbm-1.10-1  glib2-2.34.3-1  gmp-5.1.0-1  gnupg-2.0.19-5  gpgme-1.3.1-5  groff-1.21-2  hwids-20121203-1  iana-etc-2.30-3
               iptables-1.4.16.3-1  isl-0.11.1-1  kbd-1.15.5-3  keyutils-1.5.5-3  kmod-12-1  krb5-1.11-2  libarchive-3.0.4-2  libassuan-2.0.3-1  libcap-2.22-3  libffi-3.0.11-1
               libgcrypt-1.5.0-3  libgpg-error-1.10-2  libgssglue-0.4-1  libksba-1.2.0-3  libldap-2.4.33-3  libltdl-2.4.2-7  libmpc-1.0.1-1  libnl-3.2.11-1  libpcap-1.3.0-1
               libpipeline-1.2.2-1  libsasl-2.1.23-9  libssh2-1.4.3-1  libtirpc-0.2.2-4  libusbx-1.0.14-1  linux-api-headers-3.7.4-1  linux-firmware-20121118-1
               mkinitcpio-0.13.0-1  mkinitcpio-busybox-1.20.2-1  mpfr-3.1.1.p2-2  ncurses-5.9-4  openssl-1.0.1.c-1  pacman-mirrorlist-20130203-1  pam-1.1.6-1  pambase-20130113-1
               pcre-8.32-1  pinentry-0.8.2-1  popt-1.16-5  ppl-1.0-1  pth-2.0.7-4  readline-6.2.004-1  run-parts-4.3.4-1  systemd-197-4  sysvinit-tools-2.88-9  tzdata-2012j-1
               xz-5.0.4-1  zlib-1.2.7-1  autoconf-2.69-1  automake-1.13.1-1  bash-4.2.042-3  binutils-2.23.1-3  bison-2.7-1  bzip2-1.0.6-4  coreutils-8.20-1  cronie-1.4.9-2
               cryptsetup-1.5.1-1  device-mapper-2.02.98-1  dhcpcd-5.6.4-1  diffutils-3.2-1  e2fsprogs-1.42.6-1  fakeroot-1.18.4-1  file-5.11-2  filesystem-2013.01-3
               findutils-4.4.2-5  flex-2.5.37-1  gawk-4.0.2-1  gcc-4.7.2-4  gcc-libs-4.7.2-4  gettext-0.18.2-1  glibc-2.17-3  grep-2.14-2  gzip-1.5-2  heirloom-mailx-12.5-3
               inetutils-1.9.1-4  iproute2-3.6.0-2  iputils-20121221-1  jfsutils-1.1.15-3  less-451-1  libtool-2.4.2-7  licenses-20130203-1  linux-3.7.5-1  logrotate-3.8.2-2
               lvm2-2.02.98-1  m4-1.4.16-2  make-3.82-5  man-db-2.6.3-1  man-pages-3.46-1  mdadm-3.2.6-1  nano-2.2.6-2  netcfg-3.0-1  pacman-4.0.3-5  patch-2.7.1-2
               pciutils-3.1.10-1  pcmciautils-018-6  perl-5.16.2-2  pkg-config-0.28-1  ppp-2.4.5-5  procps-ng-3.3.5-1  psmisc-22.19-1  reiserfsprogs-3.6.22-1  sed-4.2.2-2
               shadow-4.1.5.1-4  sysfsutils-2.1.0-8  systemd-sysvcompat-197-4  tar-1.26-2  texinfo-4.13a-8  usbutils-006-1  util-linux-2.22.2-1  vi-1:050325-3  which-2.20-6
               xfsprogs-3.1.10-1

Total Installed Size:   550.22 MiB

Proceed with installation? [Y/n]
(129/129) checking package integrity                                                                       [################################################################] 100%
(129/129) loading package files                                                                            [################################################################] 100%
(129/129) checking for file conflicts                                                                      [################################################################] 100%
(129/129) checking available disk space                                                                    [################################################################] 100%
error: Partition /mnt/boot too full: 3530 blocks needed, 1922 blocks free
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root
pacstrap /mnt base base-devel  45.07s user 1.58s system 85% cpu 54.318 total

Last edited by Swarfega (2013-02-06 14:26:58)

Offline

#2 2013-02-06 13:30:37

CrashLog
Member
From: Finland
Registered: 2013-01-13
Posts: 136

Re: [SOLVED] /mnt/boot too full

/boot should be 8300, not ef02. The 2 MiB "BIOS boot partition" for GRUB is not the same thing as the /boot partition.
If I was still using GRUB, I guess I'd go for something like

/dev/sda1 2 MB ef02 BIOS boot partition
/dev/sda2 100 MB 8300 /boot
/dev/sda3 30GB 8300 /
/dev/sda4 <whatever> 8200 swap
/dev/sda5 <rest of the disk> 8300 /home

I might be missing something here, but why is pacstrap asking you about stuff even though you're not passing the -i flag to it?
*derp* edited that bit of stupidity out of there

edit: with regard to the below post, 100MB should be sufficient for /boot, should it not?

Last edited by CrashLog (2013-02-06 13:44:57)


"There are no problems, only opportunities for solutions."

Offline

#3 2013-02-06 13:30:42

Kilz
Member
Registered: 2008-03-01
Posts: 140

Re: [SOLVED] /mnt/boot too full

The simple answer is you made it to small. Try 100m or 200m.

edit: yes above, 100m should be fine, that is if you really need a /boot partition. I type to slow.

Last edited by Kilz (2013-02-06 13:37:11)


I trust Microsoft about as far as I can comfortably spit a dead rat.
Cinnamon is a wonderful desktop
"Faith is the substance of things hoped for, the evidence of things not seen."

Offline

#4 2013-02-06 13:42:36

Swarfega
Member
Registered: 2011-08-19
Posts: 100

Re: [SOLVED] /mnt/boot too full

Ok thanks guys.

Indeed 100MB should be enough according to https://wiki.archlinux.org/index.php/Pa … ions_be.3F

*Edit*

Indeed adding a new /boot with 100MB fixed the issue.  Cheers again.

Last edited by Swarfega (2013-02-06 14:26:42)

Offline

Board footer

Powered by FluxBB