-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
META | DietPi-Image: Create from disk or shrink an image file #2693
Conversation
…root check, GB locale and /tmp working dir
…ed; Create hashes + 7z archive
…ng the partition and there is no way to pre-answer this question with "-s" + minor
…ed on Raspbian Buster to boot properly
@MichaIng ToDo:
In my experience yes, however, could not be the case with custom setups. We should cover all options. |
committed directly to dev: |
Prefect. Will mark this PR as closed then. AFAIK, no partition table should not be possible. Single partition jep, but boot always requires MBR or GPT, doesn't it? Perhaps we can simply take the largest partition as root partition 😎? Also environment variables would be great to allow automated run. Will do some commit after DietPi-Services finished. |
Status: WIP
ToDo:
[ ] Clean tmpfs mount directories. In most cases there are obsolete files inside. Although this can be done as well during DietPi-PREP (mount root dev to tmp mount point, clean, umount).=> DietPi-PREP task
RK_SINGLE_IMG
(your script) so that the file system is written directly to the drive without partition table?gdisk
to run (initially and after shrink has finished), then without any actual change pressw
(write) andy
(confirm)? So then this could be automated as well.tune2fs -U <UUID_of_initial_root_partition> $ROOT_DEV
Reference: #2026 (comment)
Commit list/description: