Code: Select all
df -Th
Code: Select all
fdisk /dev/mmcblk0
Is there any way to resize that partition?
Code: Select all
uname -a
Many thanks for help!
Code: Select all
df -Th
Code: Select all
fdisk /dev/mmcblk0
Code: Select all
uname -a
Code: Select all
# parted -l /dev/mmcblk0
Code: Select all
└─#! parted -l /dev/mmcblk0
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
Error: /dev/zram2: unrecognised disk label
Error: /dev/zram3: unrecognised disk label
Model: SD SA16G (sd/mmc)
Disk /dev/mmcblk0: 15.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1573kB 136MB 135MB primary fat16 lba
2 136MB 15.7GB 15.6GB primary ext4
Code: Select all
└─#! df -Th
Filesystem Type Size Used Avail Use% Mounted on
rootfs rootfs 2.8G 1.9G 784M 71% /
/dev/root ext4 2.8G 1.9G 784M 71% /
devtmpfs devtmpfs 419M 0 419M 0% /dev
tmpfs tmpfs 85M 2.5M 83M 3% /run
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 170M 0 170M 0% /run/shm
/dev/mmcblk0p1 vfat 129M 5.8M 123M 5% /boot/firmware
tmpfs tmpfs 85M 0 85M 0% /tmp
tmpfs tmpfs 30M 0 30M 0% /var/tmp
tmpfs tmpfs 100M 268K 100M 1% /var/log
Code: Select all
└─#! fdisk /dev/mmcblk0
Command (m for help): p
Disk /dev/mmcblk0: 15.7 GB, 15720251392 bytes
4 heads, 32 sectors/track, 239872 cylinders, total 30703616 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
Disk identifier: 0x0009de21
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 3072 266239 131584 c W95 FAT32 (LBA)
/dev/mmcblk0p2 266240 30703615 15218688 83 Linux
Code: Select all
└─#! umount /dev/mmcblk0p2
└─#! resize2fs /dev/mmcblk0p2
resize2fs 1.42.5 (29-Jul-2012)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
resize2fs: Read-only file system While checking for on-line resizing support
Backup first.heliar wrote:Trying it on laptop with SD Card mounted have chance to success without losing my data?