Created
April 24, 2016 02:03
-
-
Save eddywebs/e05af8b11f560e8ef0ec173cb7bfe995 to your computer and use it in GitHub Desktop.
auto expand rootfs on boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo killall fbi >/dev/null 2>&1 | |
dialog --infobox "\nWelcome to retro gaming console - First time boot ! hang tight - Resizing the filesystem ..." 5 60 | |
sudo raspi-config nonint do_expand_rootfs >/dev/null 2>&1 | |
sleep 2 | |
dialog --infobox "\nDone. Rebooting now- ready to play in few moments..." 5 60 | |
sudo rm -f /etc/profile.d/01-expand.sh | |
sleep 2 | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add auto resize_fs() by adding file to /etc/profile.d