Skip to content
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

Update Documentation on Creating a Raspbian Image #3

Merged
merged 8 commits into from
Feb 16, 2022

Conversation

theGOTOguy
Copy link
Collaborator

I found that I am unable to mount the ostensibly ext4 Linux partition generated by Pi-Gen.

At first I thought that maybe this was because of this bug with 64-bit hosts but even the Dockerized build process seems to produce images that I can't mount.

Relevant output of sudo fdisk -l:

Disk /dev/sdf: 59.48 GiB, 63864569856 bytes, 124735488 sectors
Disk model: MicroSD/M2      
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: 0x9cdfcf86

Device     Boot  Start     End Sectors  Size Id Type
/dev/sdf1         8192  532479  524288  256M  c W95 FAT32 (LBA)
/dev/sdf2       532480 3932159 3399680  1.6G 83 Linux

Relevant output of sudo mount /dev/sdf2 /mnt/simpleaq:

mount: /mnt/simpleaq: wrong fs type, bad option, bad superblock on /dev/sdf2, missing codepage or helper program, or other error.

It is noteworthy that I can mount the boot sector, /dev/sdf1.

@bensonk, is it clear to you what I might be missing here? Feel free to try this procedure with one of the build artifacts yourself and see if you can mount the Linux partition.

@theGOTOguy
Copy link
Collaborator Author

Ok, whatever the problem is: it also exists on the official RPiOS lite build. Maybe this is just a question about what the correct mount command is.

@theGOTOguy theGOTOguy changed the title (WIP) Update Documentation on Creating a Raspbian Image Update Documentation on Creating a Raspbian Image Feb 16, 2022
@theGOTOguy
Copy link
Collaborator Author

Ok, I confirmed that the issue was actually that the circa-2008 MicroSD card had failed. Documentation is updated and this PR is ready for review.

@theGOTOguy theGOTOguy merged commit 76b9526 into simpleairquality:main Feb 16, 2022
@theGOTOguy theGOTOguy deleted the documentation branch February 19, 2022 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant