[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to specify the binary.img size ?

I would like to have a fat32 partition for the datas (when I have to 
work on friends w$ computers)

method 1 (2 partitions) -> better
w$ only mount the first partition
sdb1 -> data
sdb2 -> live
how to restore binary.ing to sdb2 ?
I can keep free space after the first partition.

method 2 (1big partition)
restore binary.img (400Mb) to the whole space (8Gb)
Because the live partition is fat32.
dd creates a partition with the same size of binary.img.

Nobody needed to use his stick like this ?



Ben Armstrong wrote:
> On Tue, 29 Jul 2008 12:00:24 +0100
> Chris Lamb <chris at chris-lamb.co.uk> wrote:
>> (I'm confused about a few things here; why do you need it to be a fixed size?
>> Also, why do you need it to be 1G?)
>> The binary.img already contains partitioning information; you just need to
>> "dd" it directly onto the target rather than fitting it on an existing
>> peratition.
> The problem is that will write a short partition table to the key.  It
> would be nice to automatically fix up the partition table after copying
> to free up the extra space (or else operate on the key directly,
> copying the live partition over and setting up the partition table with
> the correct geometry to begin with).  This extra space is useful for
> other things, e.g. persistence.
> Ben
> --
>  ,-.  nSLUG    http://www.nslug.ns.ca   synrg at sanctuary.nslug.ns.ca
>  \`'  Debian   http://www.debian.org    synrg at debian.org
>   `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
>              [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]
> _______________________________________________
> debian-live-devel mailing list
> debian-live-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Web site : http://david.hautbois.free.fr
Tablet users map : http://david.hautbois.free.fr/maps/index.php

Reply to: