11-19-2020, 11:45 PM
(This post was last modified: 11-19-2020, 11:46 PM by axel.
Edit Reason: remove newlines
)
Hey guys,
I'm trying to get multi-boot running too so I can easily play around with different distros.
I got the image flashed to SD card and looks like I got the file system extended.
However I got this message:
I ran `partprobe` after and now the disk shows at full size.
And now I'm stuck trying to mount the partition to extend it as well
But according to instructions I need to mount the partition, not the while disk
Not sure if this is a good sign either:
Thanks for putting this together!
I'm trying to get multi-boot running too so I can easily play around with different distros.
I got the image flashed to SD card and looks like I got the file system extended.
However I got this message:
Code:
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).
Syncing disks.
And now I'm stuck trying to mount the partition to extend it as well
Code:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk2 179:0 0 58.2G 0 disk
├─mmcblk2p1 179:1 0 213.6M 0 part /boot
└─mmcblk2p2 179:2 0 58G 0 part /
mmcblk2boot0 179:32 0 4M 1 disk
mmcblk2boot1 179:64 0 4M 1 disk
mmcblk1 179:96 0 29.7G 0 disk
├─mmcblk1p1 179:97 0 124M 0 part
└─mmcblk1p2 179:98 0 29.6G 0 part
zram0 252:0 0 5.6G 0 disk [SWAP]
But according to instructions I need to mount the partition, not the while disk
Code:
$ sudo mount /dev/mmcblk1p2 /mnt
NTFS signature is missing.
Failed to mount '/dev/mmcblk1p2': Invalid argument
The device '/dev/mmcblk1p2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Not sure if this is a good sign either:
Code:
$ sudo btrfs check /dev/mmcblk1p2
Opening filesystem to check...
Csum didn't match
ERROR: could not setup extent tree
ERROR: cannot open file system
Thanks for putting this together!