Re: [Tips] Expand Partition to Full SD Card
Posted:
19 Jun 2017, 02:50
by rern
1. Find the
--show-progress option
- Code: Select all
wget --help | grep 'show-progress'
It should show this if the option is there:
- Code: Select all
# --show-progress display the progress bar in any verbosity mode
2. Try wget without options
- Code: Select all
wget https://github.com/rern/RuneAudio/raw/master/expand_partition/expand.sh; chmod +x expand.sh; ./expand.sh
Re: [Tips] Expand Partition to Full SD Card
Posted:
19 Jun 2017, 08:41
by irishwill2008
Good post but runeaudio already has a published method:
http://www.runeaudio.com/documentation/ ... tition-sd/
Re: [Tips] Expand Partition to Full SD Card
Posted:
19 Jun 2017, 09:40
by hondagx35
Hi rern,
thank you for posting this.
I would like to see this as an option on the settings page.
Frank
Re: [Tips] Expand Partition to Full SD Card
Posted:
20 Jun 2017, 13:54
by rern
Hi Frank,
I've been thinking it should be done by default at the very first boot.
May be something like:
- a systemd service
- an fdisk script
- remove the service and the script
rern
Re: [Tips] Expand Partition to Full SD Card
Posted:
23 Jun 2017, 06:08
by rern
Hi Frank,
This
systemd run once method was tested successfully:
(Scripts and files in the link were included to the SD card before first boot.)
- Code: Select all
# systemd startup service
### script: /etc/systemd/expand.service
ln -s /etc/systemd/expand.service /etc/systemd/system/multi-user.target.wants/expand.service
# fdisk script
### script: /root/expand.sh
chmod +x /root/expand.sh
# 'partprobe' to avoid reboot
### file: /usr/bin/partprobe
chmod +xr /usr/bin/partprobe
### file: /usr/lib/libparted.so.2.0.1
ln -s /usr/lib/libparted.so.2.0.1 /usr/lib/libparted.so.2
rern
Re: [Tips] Expand Partition to Full SD Card
Posted:
24 Jun 2017, 19:24
by zomtec
Work it with a Raspberry Zero?
20160618_runeaudio_raspberry1_raspberryZero.img.gz
raspberry-pi-zero-support-in-0-4-t3711-70.html#p20577
Re: [Tips] Expand Partition to Full SD Card
Posted:
24 Jun 2017, 22:05
by hondagx35
Hi zomtec,
expanding the sd card works on all devices and you can use both methods
The one posted here or the one explained in the
docs.
Frank