Bescottee苦しいときは伸びてるとき、楽なときは伸びていないとき

2 edison /boot partition を増やす方法

admin to device, intel edison  

実施前

root@edison:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               475080    335540    102844  77% /
devtmpfs                491736         0    491736   0% /dev
tmpfs                   492048         0    492048   0% /dev/shm
tmpfs                   492048       492    491556   0% /run
tmpfs                   492048         0    492048   0% /sys/fs/cgroup
tmpfs                   492048       492    491556   0% /etc/machine-id
systemd-1                 5638      5184       454  92% /boot
tmpfs                   492048         4    492044   0% /tmp
systemd-1              2337308     22516   2298408   1% /home
tmpfs                   492048         0    492048   0% /var/volatile
/dev/mmcblk0p5            1003        19       913   2% /factory
/dev/mmcblk0p10        2337308     22516   2298408   1% /home
/dev/mmcblk0p7            5638      5184       454  92% /boot
root@edison:~#

実施後

root@edison:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               475080    335540    102844  77% /
devtmpfs                491736         0    491736   0% /dev
tmpfs                   492048         0    492048   0% /dev/shm
tmpfs                   492048       492    491556   0% /run
tmpfs                   492048         0    492048   0% /sys/fs/cgroup
tmpfs                   492048       492    491556   0% /etc/machine-id
systemd-1                32686      5184     27502  16% /boot
tmpfs                   492048         4    492044   0% /tmp
systemd-1              2337308     27708   2293216   1% /home
tmpfs                   492048         0    492048   0% /var/volatile
/dev/mmcblk0p5            1003        19       913   2% /factory
/dev/mmcblk0p10        2337308     27708   2293216   1% /home
/dev/mmcblk0p7           32686      5184     27502  16% /boot

コマンド


df
mkdir /home/root/boot-backup
cp -rp /boot/* /home/root/boot-backup/
umount /boot
mkfs.vfat -v -nboot -F16 /dev/mmcblk0p7
mount /boot
cp -rp /home/root/boot-backup/* /boot
df

コメントをどうぞ