Skip to contentSkip to conversation

mounting a cramfs

Buildroot Michael Burghart 3 participants 6 messages Apr 13, 2011 – Apr 19, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi again,

hope this is not too silly a question:

already mounted the rootfs via grub and it works.
Now I need to mount other cramfs to a tmpfs directory (/var/language)

Tried:
mount /etc/language /var/language or explicitly with:
mount -t cramfs -o loop /etc/language /var/language

Neither of them worked.. don't know why. The system does not return back to the prompt... Any idea?

- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNpdTlAAoJEEMkp/gkis199aEIAMfPmyplfI2j0ghm3vl/rgLu 6vv181oKQApG4vVnTUV8W3rTrz9JMRhOJnGU5gWszYFz7oS0qAaqJc3qdVjnZb+t IPTS/g70CUMFriAiufJ7yEBs68l3hYb62uFtBaqqbok5ML3prJVf4YizONIGne+V EQDRnzuw2IwD3M6bo9eLX3sqiUzRi4HCPUp0RffxUHDaucLE1rapArVvBwZ0cFYW QhHoFjJe1JXs1P1zxnwdZFL3PNdfi1xHqTmMtj2TwCHb7FYicu+csYup6RAWYGae o/fJ488wdTLQUCL0NdeEoNrUfQdlvmoXiQneMwfNt9XI/f9fGmsbO+D98PCo1LI= =WqM0
-----END PGP SIGNATURE-----

#1 lore raw

Hi,

have you a loop device : /dev/loop0 ?

--
Guillaume

Le 13/04/2011 18:52, Michael Burghart a ?crit :

Quoted 39 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi again,

hope this is not too silly a question:

already mounted the rootfs via grub and it works.
Now I need to mount other cramfs to a tmpfs directory (/var/language)

Tried:
mount /etc/language /var/language or explicitly with:
mount -t cramfs -o loop /etc/language /var/language

Neither of them worked.. don't know why. The system does not return back to the prompt... Any idea?

- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNpdTlAAoJEEMkp/gkis199aEIAMfPmyplfI2j0ghm3vl/rgLu 6vv181oKQApG4vVnTUV8W3rTrz9JMRhOJnGU5gWszYFz7oS0qAaqJc3qdVjnZb+t IPTS/g70CUMFriAiufJ7yEBs68l3hYb62uFtBaqqbok5ML3prJVf4YizONIGne+V EQDRnzuw2IwD3M6bo9eLX3sqiUzRi4HCPUp0RffxUHDaucLE1rapArVvBwZ0cFYW QhHoFjJe1JXs1P1zxnwdZFL3PNdfi1xHqTmMtj2TwCHb7FYicu+csYup6RAWYGae o/fJ488wdTLQUCL0NdeEoNrUfQdlvmoXiQneMwfNt9XI/f9fGmsbO+D98PCo1LI= =WqM0
-----END PGP SIGNATURE-----
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Le 14/04/2011 09:26, Michael Burghart a ?crit :

Quoted 8 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 14.04.2011 09:12, schrieb Guillaume Gardet:

Quoted 3 lines

Hi,

have you a loop device : /dev/loop0 ?

yes of course :-)

And enable it in the kernel? (Something like CONFIG_BLK_DEV_LOOP)

#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 14.04.2011 09:35, schrieb Guillaume Gardet:

Quoted 6 lines

Le 14/04/2011 09:26, Michael Burghart a ?crit :

Quoted 3 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines
Quoted 5 lines

Am 14.04.2011 09:12, schrieb Guillaume Gardet:

Quoted 3 lines

Hi,

have you a loop device : /dev/loop0 ?

yes of course :-)

And enable it in the kernel? (Something like CONFIG_BLK_DEV_LOOP)

yes. The fact is that I can mount my root cramfs on /dev/loop0 and it works. I need to add further cramfs into fstab to mount them. There is the problem.

- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNpqVoAAoJEEMkp/gkis19HGAH/AwdURwQSgDOoD/REN9FP6us xOUMLkbKCIZqjsVhHpfUEimB4lhHKIs+wUlKlhyNihvsurBl75a2MWKal/kJznPa V4nDLCyFHDVP7pnKk+DhHz718BePKxYaeasQZqqZiGGd0bTqNo6BNm/q0M9g0hQ2 fU+Oh7ZR7XI+THlZQEwXieWH7nx34ky7//LaecuS7xwxgyOxAoNvc0zYmUMDqMcD FkuBUwMlx0JNoaKcptArlHV1HVC3tLw5uZHde96GThVlTMN+GIRfqexaUxr1O3hV CY9ZbNtZiZiqy1gJYfijGwhMjA+L5oHacD4NL/YwTklWdkCNAaDYVXj89a8p7b8= =W2Mv
-----END PGP SIGNATURE-----

#5 lore raw
In reply to Michael Burghart

Hi Michael,

I'm not sure this is really Buildroot-related, but anyway.

Quoted 1 line · On Wed, 13 Apr 2011 18:52:53 +0200 Michael Burghart <[email protected]>…

mount /etc/language /var/language or explicitly with:

Are you sure that /etc/language is really a cramfs image ? It sounds like a very strange location and name for a cramfs image.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#6 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi Thomas,

Am 19.04.2011 22:26, schrieb Thomas Petazzoni:

Quoted 1 line

I'm not sure this is really Buildroot-related, but anyway.

jupp not really. Sorry.

Quoted 6 lines

On Wed, 13 Apr 2011 18:52:53 +0200
Michael Burghart <[email protected]> wrote:

Are you sure that /etc/language is really a cramfs image ? It sounds like a very strange location and name for a cramfs image.

yes I am. As it has been built by our client. I can mount it manually. Will try with bind.

- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNrfjAAAoJEEMkp/gkis191CUH/jH60hXd+J/16XVw+MLWAQST QJXtbS74jzuEskgZ9CcjMirHRqsyjO+b22+37U4jnNiVcEKOwd/kktC1bTJ1gAfS aISXPdKc3ZRy3XOBiylHf8EUNk3PEsFhq6u8Gx0TdpB0zE+juIUFfbVw5Em184js c4PpmmUv70Gq/A0Xf+ZOi3k8iTzgW5n/73fFMm2onSjCebI3y3VqwTA/e4Hph+IN YT2gzHDVb4589fNrm/uPJUi7X/A2hJqe/m4RtAm1PNPaQ1pPRbajsokxa8FtzdFq 16VWs0juVarzKsaeA5FCLEmSoBlZFEpyA/EyD2L37LQUHx9Yxje0TzyP9+gIC2c= =n7Jv
-----END PGP SIGNATURE-----