Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: paperone on November 25, 2015, 03:57:59 AM
-
I got the following error when I tried to install bash.tcz on piCore-6.1_v7-X in RPi 2 B:
wget: short write
md5sum: bash.tcz.md5.txt: No such file or directory
Error on bash.tcz
I am able to install other extensions alright, any idea why bash.tcz keeps failing on me?
-
Short write means you ran out of space.
-
Did you expand the partition as described in README?
-
Hm. I always expand the partition first thing when I boot up piCore for the first time. Maybe it was my other mistake, I will try expanding the partition again and see if it work.
Thank you guys!
-
I think I have found the issue but not yet a fix. Right after I wrote the image file (piCore-6.1_v7-X.img) to micro SD Card, I boot it up using a Raspberry Pi 2 Model B:
tc@box:~$ sudo fdisk /dev/mmcblk0
The number of cylinders for this disk is set to 493536.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/mmcblk0: 16.1 GB, 16172187648 bytes
4 heads, 16 sectors/track, 493536 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 129 768 20480 c Win95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary
/dev/mmcblk0p2 769 1632 27648 83 Linux
Partition 2 does not end on cylinder boundary
Command (m for help): d
Partition number (1-4): 2
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (1-493536, default 1): 769
Last cylinder or +size or +sizeM or +sizeK (769-493536, default 493536): Using default value 493536
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
Then I rebooted the system and did a resize2fs command:
tc@box:~$ sudo resize2fs /dev/mmcblk0p2
resize2fs 1.42.13 (17-May-2015)
Filesystem at /dev/mmcblk0p2 is mounted on /mnt/mmcblk0p2; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 61
resize2fs: No space left on device While checking for on-line resizing support
tc@box:~$
I see that there are 2 warning at the end of fdisk and resize2fs command. I had used the micro SD card for:
- Raspbian on Raspberry Pi 1 Model B without issue.
- piCore 6.0-X (armv6) on Raspberry Pi 1 Model B also without issue.
- piCore 6.1 v7-X (armv7) on Raspberry Pi 2 Model B, this is when I tried to expand the partition 2 and got the error above.
Any idea?
-
Did you try offline resizing?
-
I kindly advice to use piCore-7.0beta1
-
I kindly advice to use piCore-7.0beta1
Got it Marcus, I will try piCore 7.0beta1! Thank you! :)