(ARCHIVED) Debian Jessie Images (3.10.102 BSP Kernel) New Release
gparted is included and if the script did not work gparted will fix it.
Is anyone else having no aufio through HDMI on this latest image? when I go to sound setup and test speakers through audio hardware Im getting nothing
(07-01-2016, 11:45 PM)lenny.raposo-pine64.pro Wrote: it's quite alright to run it again.

sudo -i
resize_rootfs.sh
reboot

then do the follwing

df -h

and send me the output aswell as the details on the card size you have in use

Here is Output of df -h. Used card is 32GB size.

debian@pine64:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p2  7.0G  4.4G  2.3G  66% /
devtmpfs        458M     0  458M   0% /dev
tmpfs           491M  156K  490M   1% /dev/shm
tmpfs           491M  7.0M  484M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           491M     0  491M   0% /sys/fs/cgroup
/dev/mmcblk0p1   50M   13M   38M  25% /boot
tmpfs            99M  4.0K   99M   1% /run/user/119
tmpfs            99M   24K   99M   1% /run/user/1000
/dev/sda1       3.8G  2.2M  3.8G   1% /media/debian/UUI

And here is output of resize script:
+ DEVICE=/dev/mmcblk0
+ PART=2
+ resize
+ fdisk -l /dev/mmcblk0
+ grep /dev/mmcblk0p2
+ awk {print $2}
+ start=143360
+ echo 143360
143360
+ set +e
+ fdisk /dev/mmcblk0

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: 29 GiB, 31104958464 bytes, 60751872 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: 0xa2427f8e

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 40960 143359 102400 50M e W95 FAT16 (LBA)
/dev/mmcblk0p2 143360 14884863 14741504 7G 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 (2048-60751871, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (143360-60751871, default 60751871): Last sector, +sectors or +size{K,M,G,T,P} (143360-60751871, default 60751871):
Do you really want to quit? + set -e
+ partx -u /dev/mmcblk0
+ resize2fs /dev/mmcblk0p2
resize2fs 1.43 (17-May-2016)
The filesystem is already 1842688 (4k) blocks long. Nothing to do!

+ echo Done!
Done!
mine was similar; only it left the card at 3G/ gparted does fix it; but I moved it to mint for the operation.
How you assign unallocated space ? I have 2 partitions: 20MB and 21 GB.
(07-02-2016, 08:44 AM)janeku Wrote: How you assign unallocated space ? I have 2 partitions: 20MB and 21 GB.

First  sudo -i

next make sure the partitions are not mounted (I used my HP notebook running gnu+linux) but others have done this on the Pine with gparted there...

1) open the device with gparted

gparted /dev/mmcblk0

2) select the partition part2 you want to expand into unallocated space (click on it)

3) click the -->|  button which will open the partition expander

4) drag the edge of the partition to the right to fill up the entire space

(it will show as a pending operation)

5) on one of the dropdown (edit maybe) you'll find an Apply function... click it

(the pending operation will apply)

6) close gparted

7) boot your image and check with the df command

marcus
I shutdown both my pine64+ machines - inserted the SD into my Ubuntu laptop then used gparted to resize the root partition - as resize_rootfs.sh did nothing on either of my pine64+'s...

16 GB and 64 GB SD cards...
hello,
i recently bought a usb hub with a rj45[ethernet] port also. the port is recognized and set up as a 2nd ethernet at boot if two cables are connected or during a session if the cable is connect. throughput is fine.my issue is if the ethernet line 1 [the one on the board] is not connected while the 2nd line is operational the animation for searching for ip address for cable 1 is continuous. i'm thinking that either there should be no anjimation since no cable is physically attached or the search and the animation should time out after a cerain period of time, 30 - 90 secs, as desired.  are there any settings i should do? thanks.
It will go away after 5 minutes I believe Wink
If you like my work be sure to check out my site or wish to donate to the cause

Cheers Big Grin
(07-05-2016, 03:44 PM)lenny.raposo-pine64.pro Wrote: It will go away after 5 minutes I believe Wink

Don't you mean "one more minute than you waited?" :-P Although I did also seem to think the timeout was shorter than than... but it has been a while since I started the pine64 with it needing to have a eth cable plugged in! Wink


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian installer on Pine A64+ but no hdmi mrwick 1 5,899 07-28-2020, 01:49 PM
Last Post: kuleszdl
  Debian Pine64 h264/5 Video under vlc ozcy 6 14,125 04-15-2020, 05:27 AM
Last Post: dmitrymyadzelets
  OMV/debian/systemd: how to start the network kittyland 0 3,271 12-10-2019, 05:29 PM
Last Post: kittyland
  Debian 10 (Buster) in deep freeze - includes support for Pine64+ amp 5 11,242 07-22-2019, 09:29 PM
Last Post: amp
  Pine64 Debian Stretch/mainline [4.14.7] CallMeFoxie 50 130,806 07-22-2019, 09:24 PM
Last Post: amp
  Installing Debian with the Debian Installer (Buster RC1) amp 1 5,218 06-28-2019, 12:35 PM
Last Post: Kaarme42
  Script to build pure Debian images for Pine64+ amp 1 4,669 05-01-2019, 09:09 PM
Last Post: tllim
  Debian (Stretch) for Pine64-LTS wgray 2 7,010 04-04-2019, 09:54 PM
Last Post: wgray
  Is there just one fuctioning Debian Desktop image? KNERD 7 14,501 03-29-2019, 02:00 AM
Last Post: desai_amogh
  how to set kernel parameter 'fsck.mode=force' marcelser 6 13,420 05-09-2018, 09:07 PM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 1 Guest(s)