15:10.20 | *** join/#uclibc ibot (~ibot@rikers.org) |
15:10.20 | *** topic/#uclibc is discussion of uClibc, Busybox and Buildroot | uClibc 0.9.33.2 was released 15 May 2012 | uClibc++ 0.2.4 was released 25 May 2012 | busybox 1.20.1 was released 28 May 2012 | Buildroot 2012.05 was released 30 May 2012 | For general setup issues try #oe, #elinux or #edev |
15:43.55 | *** join/#uclibc kroon (~jkroon@89-253-118-72.customers.ownit.se) |
15:45.09 | kroon | Anyone know of a way to create a filesystem image that I can dd to a block device, without being root (loop-mounting) ? |
15:55.50 | kos_tom | which filesystem format? |
15:57.13 | *** join/#uclibc drwhom (~drwhom@pegasus.csl.sri.com) |
16:08.06 | *** join/#uclibc NIN101 (~NIN@p5DD28A50.dip0.t-ipconnect.de) |
16:25.20 | *** join/#uclibc drwhom (~drwhom@pegasus.csl.sri.com) |
16:26.48 | *** join/#uclibc antgreen (user@nat/redhat/x-throldmxtlhuejhm) |
16:59.33 | *** join/#uclibc y_morin (~ymorin@ARennes-256-1-135-112.w90-32.abo.wanadoo.fr) |
17:48.47 | *** join/#uclibc smartin (~smartin@ivr94-4-82-229-165-48.fbx.proxad.net) |
17:51.46 | kroon | kos_tom, one vfat and and ext2 |
17:52.39 | kroon | kos_tom, the step involving "dd" would require root ofcourse and thats ok, I'm curious how I can create the image without being root |
17:56.41 | kroon | kos_tom, I've figured out that I can use fakeroot to create device nodes, and create a tarball of the fs, but creating the image file is still a mystery |
17:59.27 | gustavoz | genext2fs |
18:01.24 | *** join/#uclibc antgreen (user@nat/redhat/x-egejfjmedhaelmdq) |
18:06.59 | kroon | gustavoz, thanks for the tip, this seems to be exactly what I want for the ext2 image |
19:21.35 | *** join/#uclibc bizhanMona (~bizhan@nat/cisco/x-glkwcqqyvctcsupp) |
20:32.14 | *** join/#uclibc tchan (~tchan@lunar-linux/developer/tchan) |
20:50.00 | kos_tom | kroon: you can look at how Buildroot creates images of those formats |
20:50.10 | kos_tom | kroon: basically, there are tools to do that. |
20:50.13 | kos_tom | genext2fs for ext2 |
20:50.31 | kos_tom | for vfat, I don't know since vfat is never used for a Linux root filesystem |
20:58.29 | gustavoz | vfat also lacks special files, so it's a biggie :) |
21:25.27 | kroon | I actually want to create an image with several partitions in it, one FAT32 and one ext2 partition. All solutions I've found uses loop devices and loop mounting, but I'd prefer not requiring root access.. |
21:26.14 | kroon | Is buildroot able to produce this kind of image, with several partitions in it ? |
21:29.42 | gustavoz | kroon: not directly, no, since an output image is pretty much geometry-specific (it'll vary according to disk/pendrive sizes and whatnot) |
21:31.06 | kroon | gustavoz, I see.. so maybe what I want to achieve is actually not possible |
21:31.33 | gustavoz | kroon: it is possible, but you need to be root at some point and we don't encourage to run buildroot as root |
21:31.44 | *** join/#uclibc factor (~factor@74.195.160.253) |
21:32.16 | kroon | I want to create a working disk image file (as non root), that I can 'dd' to a flash device (as root) |
21:32.17 | gustavoz | let me rephrase that, buildroot isn't intended to be run as root, it may break your running system |
21:33.01 | gustavoz | and what kind of flash device is that? |
21:33.10 | gustavoz | for which platform? |
21:33.13 | kroon | and with disk image file, I mean a file with a partitioning table, a FAT32 partition, and an ext2 partition |
21:33.26 | gustavoz | well the ptable is the main issue generally |
21:33.58 | kroon | Hmm.. its a Micro SDHC card.. for use in a Beagleboard xM |
22:03.05 | *** join/#uclibc factor (~factor@74.195.160.253) |
22:12.23 | kos_tom | kroon: I also would like Buildroot to be capable of doing this. |
22:12.31 | kos_tom | I know the otxdist guys have some script to do this |
22:12.37 | kos_tom | but I haven't looked at it. |
22:12.42 | kos_tom | sorry, s/otxdist/ptxdist/ |
22:16.25 | gustavoz | it'd be interesting for some people but not much for my particular use cases, hence the reason i don't even try to do so |
22:30.50 | *** join/#uclibc blindvt (~brf@91-119-115-225.dynamic.xdsl-line.inode.at) |
22:43.20 | *** join/#uclibc bizhanMona (~bizhan@nat/cisco/x-eqflqolhlzjpyokh) |
22:44.03 | *** join/#uclibc bizhanMona (~bizhan@nat/cisco/x-edxinekcyqhclccs) |