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

mount: mounting /dev/mmcblk0p2 on /rootfs failed: Invalid argument #29

Closed
erosproject opened this issue Mar 27, 2014 · 5 comments
Closed

Comments

@erosproject
Copy link

Line 336 of rcS is where this is failing:
mount $rootpartition /rootfs -o $mount_options || fail

I've Googled around and found references to possibly the partition might not be formatted. When I do an 'fdisk -l' it shows it as Linux:
/dev/mmcblk0p2 1528 482304 15384864 83 Linux

The suggestions I've found say to check with fsck and sfdisk which are not installed. Looks like I may have to get those in the inital load of packages.

The only editing I've done to this file is to add a couple of packages I want installed (which the installer obviously has not gotten to yet). Any suggestions?

Any guidance you can give me would be greatly appreciated.

@mcanevet
Copy link
Contributor

@mcanevet
Copy link
Contributor

@erosproject you could also try this one: https://github.com/mcanevet/raspbian-ua-netinst/tree/feature/rootfs_mount_options (didn't have time to test it at all for the moment)

@mcanevet
Copy link
Contributor

@hifi this issue should be fixed, can you confirm @erosproject ?

@erosproject
Copy link
Author

The first solution, removing the '-f' worked for me. Just got done testing
it.
On Mar 28, 2014 12:23 PM, "Mickaël Canévet" notifications@github.com
wrote:

@hifi https://github.com/hifi this issue should be fixed, can you
confirm @erosproject https://github.com/erosproject ?

Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-38938365
.

@hifi
Copy link
Contributor

hifi commented Apr 1, 2014

Closed as merged commit fixed it by also providing more options.

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

No branches or pull requests

3 participants