Resize procedure - Re: Pi2B remix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is interesting. Can this be a part of the installer script to resize the partition after the xzcat?

How would you do this?


On 03/06/2015 07:15 AM, Adrian wrote:
My resize procedure (works well)

[root@raspi2 ~]# yum install rootfs-resize
<<<snip>>>

Installed:
rootfs-resize.noarch 0:2.0-5.fc21

Dependency Installed:
python-psutil.armv7hl 0:1.2.1-5.fc21

Complete!
[root@raspi2

[root@raspi2 ~]# nano /boot/headless

RESIZE

cntrl X > y > enter to save

[root@raspi2 ~]# touch /.rootfs-repartition
[root@raspi2 ~]# touch /.resized
[root@raspi2 ~]# echo $swap | grep -o '[0-9]*' > /.swap

[root@raspi2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.1G 1.5G 1.6G 50% /
devtmpfs 484M 0 484M 0% /dev
tmpfs 488M 0 488M 0% /dev/shm
tmpfs 488M 436K 487M 1% /run
tmpfs 488M 0 488M 0% /sys/fs/cgroup
/dev/mmcblk0p1 488M 22M 467M 5% /boot
tmpfs 98M 0 98M 0% /run/user/0
[root@raspi2 ~]#

# reboot

RESIZE Successful

[root@raspi2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.7G 1.5G 5.2G 23% /
devtmpfs 484M 0 484M 0% /dev
tmpfs 488M 0 488M 0% /dev/shm
tmpfs 488M 340K 487M 1% /run
tmpfs 488M 0 488M 0% /sys/fs/cgroup
/dev/mmcblk0p1 488M 22M 467M 5% /boot
tmpfs 98M 0 98M 0% /run/user/0
[root@gb7de ~]#

[root@raspi2 ~]# rm /boot/headless

DONE

Adrian ... vk4tux
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm

_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux