Date: Tue, 21 Feb 2006 19:14:19 +0100 From: Ulrich Spoerlein <q@galgenberg.net> To: Balgansuren Batsukh <balgaa@mongol.net> Cc: freebsd-current@freebsd.org Subject: Re: partition for GELI disk Message-ID: <20060221181419.GC2996@galgenberg.net> In-Reply-To: <00c101c636d3$938823d0$0201000a@JACK> References: <00c101c636d3$938823d0$0201000a@JACK>
next in thread | previous in thread | raw e-mail | index | archive | help
--JwB53PgKC5A7+0Ej Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Balgansuren Batsukh wrote: > Hello, >=20 > 1.I get to work vi and trying to make label on disk. >=20 > I did following using bsdlabel -e /dev/ad0.eli >=20 > # /dev/ad0.eli: >=20 > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > --->/ a: 1G 16 4.2BSD 2048 16384 > b: 384M * swap > c: 156301487 0 unused 0 0 > --->/tmp d: 8G * 4.2BSD > --->/usr e: 15G * 4.2BSD > ---->/var f: * * 4.2BSD >=20 > My laptop with 80GB hard disk, but fdisk inform 76319MB. In above disklab= el,=20 > I try to use entire hard disk, but I get "partition f: partition extends= =20 > past end of unit" message when try to write it. How can I inform bsdlabel= to=20 > determine correct end of geometry? The problem is known (at least) to me. The last '*' will expand to the complete remaining size of the disk, not taking the offset '16' for partition 'a' into account. So either change the offset of 'a' to '0' (why is there such an offset anyway?) or calculate it by hand. I think a commit in CURRENT fixed that behaviour, but I can't remember right now. Wich version of FreeBSD are you trying to install? Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --JwB53PgKC5A7+0Ej Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+1h7524iJyD+6d0RArBxAJ9714UV5k9CVG2ZX+m7Mw0aWITD8wCgkUrJ zquYM218vZG2OniM9LpC7i0= =ny+D -----END PGP SIGNATURE----- --JwB53PgKC5A7+0Ej--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060221181419.GC2996>