On Fri, 2 Mar 2007, Paul de Weerd wrote: > [snip] You might want to check out chapter 9 of the very nice FAQ > OpenBSD has, find it on http://www.openbsd.org/faq/faq9.html ... [snip]
Thanks. It's useful, but neither ch 9 nor ch 14 explicitly show an OpenBSD analog to this from the other system: sudo mount -o loop debian.dmg debdir; > How is the debian.img formatted ? Ext3. Here is the exact sequence. Only the last line, which provides the content, is important as I am trying to migrate a few things to sysjail. dd if=/dev/zero of=debian.dmg bs=512k count=500; # mkfs.ext3 debian.dmg; mkdir debdir; sudo mount -o loop debian.dmg debdir; sudo debootstrap etch debdir http://ftp.de.debian.org/debian/; > Was it originally partitioned ? No. I am all thumbs with fdisk. (Can follow recipes, though) How essential is partitioning in this case? For my part, it's probably not so important how or where the disk image is made, only that I would prefer a disk image that can be mounted and used on OpenBSD, Debian || Ubuntu and OS X. It is, however, intended primarily for use in sysjail on OpenBSD. > Note that the linux partitions (stored in MBR and so on) are different > from the OpenBSD partitions (stored in a disklabel, see the manpage to > the program of the same name) [snip] Regards, -Lars PS. disklabel and fdisk output below disklabel svnd0 # /dev/rsvnd0c: type: SCSI disk: vnd device label: fictitious flags: bytes/sector: 512 sectors/track: 100 tracks/cylinder: 1 sectors/cylinder: 100 cylinders: 5120 total sectors: 512000 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] c: 512000 0 unused 0 0 # Cyl 0 - 5119 ============ disk svnd0 fdisk: sysctl(machdep.bios.diskinfo): Device not configured Disk: svnd0 geometry: 5120/1/100 [512000 Sectors] Offset: 0 Signature: 0x0 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------ 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused Lars NoodC)n ([EMAIL PROTECTED]) Ensure access to your data now and in the future http://opendocumentfellowship.org/about_us/contribute