Comments (3)
An additional piece of information:
This might be realated to the fact that there seems to be multiple logical parts within the image file:
sudo mount -t drvfs -o noatime,uid=0,gid=0 'W:' /mnt/w
sudo fdisk -l /mnt/w/Home_Assistant_Working.img
Device Start End Sectors Size Type
/mnt/w/Home_Assistant_Working.img1 2048 67583 65536 32M Microsoft reserved
/mnt/w/Home_Assistant_Working.img2 67584 116735 49152 24M Linux filesystem
/mnt/w/Home_Assistant_Working.img3 116736 641023 524288 256M Linux filesystem
/mnt/w/Home_Assistant_Working.img4 641024 690175 49152 24M Linux filesystem
/mnt/w/Home_Assistant_Working.img5 690176 1214463 524288 256M Linux filesystem
/mnt/w/Home_Assistant_Working.img6 1214464 1230847 16384 8M Linux filesystem
/mnt/w/Home_Assistant_Working.img7 1230848 1427455 196608 96M Linux filesystem
/mnt/w/Home_Assistant_Working.img8 1427456 124735454 123307999 58.8G Linux filesystem
from pishrink.
I have the same problem. In fact I thought it had trashed the SD card as it wouldn't even mount back on the PC I had written it on - but it did on another, and you could see all these partitions, and it mounted correctly. No working boot partition though. This is when writing it on a WSL 2 UBUNTU, which completes with no errors.
I have problems writing on another Pi too - telling me it won't autoexpand due to missing /etc - but that's another issue. That won't boot either, "firmware not found". Shame though as pishrink was invaluable for helping me use a different SD card on a number of occasions.
Happy to provide any necessary assistance to debug this.
EDIT: On the WSL2 UBUNTU I shrunk a non Home Assistant image, and although I didn't notice the message about autoexpand won't work, at startup I got the console message "rc-local.service: Service has no ExecStart=, ExecStop". It did boot but did not expand. This was an image from a working Pi3.
from pishrink.
Can you post the output of the script when you run it?
from pishrink.
Related Issues (20)
- feature request: allow to shrink directly on the sd card HOT 4
- remove locale as option HOT 2
- filesystem not expanded on first boot
- Error: Can't have a partition outside the disk! HOT 7
- Check if loopback automatically gets mounted by OS
- Detect when parted changes PARTUUID
- Add image cleanup support
- Remove current image cleanup code
- Add better detection of existing /etc/rc.local changes HOT 1
- FEATURE REQUEST: BTRFS support HOT 2
- ERROR occurred in line 300: tune2fs failed. Unable to shrink this type of image. HOT 1
- unexpected end of file error HOT 1
- File System not expanding HOT 2
- possibility to add costum scripts to the new iso?
- Raspbian not completly booting - No GUI underscore blinking HOT 3
- Filesystem not expanding if rc.local does not exist
- Option to resize partition to a given size? HOT 1
- Typo in line 394 trunate to truncate
- pishrink writes to stderr instead of stdout
- new shrink image is not running. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pishrink.