Date: Mon, 14 Nov 2005 12:36:23 +0300 From: Deomid Ryabkov <myself@rojer.pp.ru> To: "Simon L. Nielsen" <simon@freebsd.org> Cc: Chris Pressey <cpressey@catseye.mine.nu>, geom@freebsd.org, Dario Freni <saturnero@freesbie.org>, current@freebsd.org Subject: Re: fdisk(8) no longer capable of altering geometry Message-ID: <43785A97.3010204@rojer.pp.ru> In-Reply-To: <20051114091911.GD64196@eddie.nitro.dk> References: <20051027200448.1ba236fe.cpressey@catseye.mine.nu> <43753528.7030802@freesbie.org> <20051114091911.GD64196@eddie.nitro.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Simon L. Nielsen wrote:
> On 2005.11.12 01:19:52 +0100, Dario Freni wrote:
>
>> My little follow-up to this issue. This bug is quite critical on
>> products using bsdinstaller such as FreeSBIE or pfSense. I heard rumours
>> that PC-BSD also encounter this problem and had to workaround it by
>> sysinstall.
>>
>> Can somebody please take a look at it?
>>
>
> Just curious... why do you need to alter the geometry? I never once
> had a problem just ignoring the fact that fdisk/sysinstall warned
> about geometry...
>
sysinstall warns and fixes it for you. i had to duplicate sysinstall's
behavior in my home-made quick'n'dirty installer
or otherwise disks larger than (some size, like 60G, i don't remember
exactly) are not bootable after install.
the fixup, rewritten in perl, looks like this:
print "geom: cyl=$cyl, hd=$hd, sect=$sect\n";
if ($cyl > 1024 or $hd > 16 or $sect > 63) {
$hd = 16; $sect = 63;
$cyl = int ($size / ($hd * $sect));
if ($cyl > 1024) {
$hd = 255;
$cyl = int ($size / ($hd * $sect));
}
print "new geom: cyl=$cyl, hd=$hd, sect=$sect\n";
@ret = ($cyl, $hd, $sect);
}
i don't know the exact meaning of ths, but it is indeed required to be
able to boot off the disk.
--
Deomid Ryabkov aka Rojer
myself@rojer.pp.ru
rojer@sysadmins.ru
ICQ: 8025844
[-- Attachment #2 --]
0 *H
010 + 0 *H
#00Uc0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
050401090643Z
060401090643Z0_10URyabkov10
U*Deomid10UDeomid Ryabkov1!0 *H
myself@rojer.pp.ru0"0
*H
0
*e[SJ7
9/ #7爟UM
˾JzOe*ܧ6qoI-KP뗚2銑0թ7]vzHxc\NmJ08Q^gwu
/KP.:~4GN@lJ4gm©,X^RI"|~,!\_Wn
oX.~W7LYjqx*@WqJN%1f /0-0U0myself@rojer.pp.ru0U0 0
*H
F/eL|~蕝ʅI zHЛ
tf+aCrǡ
\Wb RT>g[c p.V8spW\^.e!#\|6 {?00Uc0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
050401090643Z
060401090643Z0_10URyabkov10
U*Deomid10UDeomid Ryabkov1!0 *H
myself@rojer.pp.ru0"0
*H
0
*e[SJ7
9/ #7爟UM
˾JzOe*ܧ6qoI-KP뗚2銑0թ7]vzHxc\NmJ08Q^gwu
/KP.:~4GN@lJ4gm©,X^RI"|~,!\_Wn
oX.~W7LYjqx*@WqJN%1f /0-0U0myself@rojer.pp.ru0U0 0
*H
F/eL|~蕝ʅI zHЛ
tf+aCrǡ
\Wb RT>g[c p.V8spW\^.e!#\|6 {?0?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1;070i0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAc0 + 0 *H
1 *H
0 *H
1
051114093623Z0# *H
1X~'.=hN/0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0x +71k0i0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAc0z*H
1ki0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAc0
*H
q^",&,DAK?[gGD:8bs|]Eq>*TA/^-iW}>:Y|2lp>v#h? St̐gcjDWX\}+l~+koa9n]m7L'.!moʯQbޘ3'yз'b:IU=HSR9Jye .Y!*?϶g2HHS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43785A97.3010204>
