RPI2 Kali Sana how to resize filesystem?
Hi everyone.
How can i resize my filesystem?
I try gparted but it gives an error when i try to resize filesystem partition with unallocated partition.
I also try the script that i used to resize the kali 1.1.1 " https://linhost.info/2015/05/expand-...-raspberry-pi/ "
but it gives an error and when i reboot nothing new happens.
How to resize?
I got same error message "Value out of range"
Quote:
Originally Posted by
Naprosnia
Follow my steps, they worked for me.
I try rpi-wiggle.sh and raspi-expand-rootfs.sh(https://linhost.info/2015/05/expand-...-raspberry-pi/), both give me same error message.
Out put like this:
root@kali:~# cd /boot
root@kali:/boot# ls
raspi-expand-rootfs.sh
root@kali:/boot# sh raspi-expand-rootfs.sh
Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): Disk /dev/mmcblk0: 14.9 GiB, 16021192704 bytes, 31291392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000ddd94
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 1 125000 125000 61M c W95 FAT32 (LBA)
/dev/mmcblk0p2 125001 14335999 14210999 6.8G 83 Linux
Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (125001-31291391, default 126976): Value out of range.
First sector (125001-31291391, default 126976): Last sector, +sectors or +size{K,M,G,T,P} (126976-31291391, default 31291391): Last sector, +sectors or +size{K,M,G,T,P} (126976-31291391, default 31291391): Last sector, +sectors or +size{K,M,G,T,P} (126976-31291391, default 31291391):
Do you really want to quit? Root partition has been resized. The filesystem will be enlarged upon the next reboot
=============================
any thing wrong? or I need re-config the script?
Thanks