Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 12:30:54 +0300
From:      Ivan Borodin <noamscai.ml@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   Manual partitioning for newbies
Message-ID:  <4c44ea791001210130j75e220b2p7ffd5731d940aa1@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
iGreetings to respective residents.
Excuse me, haven't found a mailing list for newbies...

Experiencing difficulties... Could anybody help?

Its about partitioning using fdisk -f and bsdlabel.
Trying to assemble a sh script for housekeeping purposes installing freebsd
onto a given target
Even don't know what is the question... The critical lack of experience in
subj  stops me from gathering information myself. Supposed one wants to
generate fdisk config file so he should have these magic numbers describing
disk( usb storage, md, ... ) geometry. There's some mess with this geometry
because of  legacy problems, as i can see, and because  my
misunderstanding... Sysinstall offers some geometry, then "recalculates" it=
,
and if you don't let it to, the new system can be born unbootable, disk
sizes returned by atacontrol differ from those returned by fdisk, no visibl=
e
means to determine flash drive parameters( ex me, i don't now how a google
request about it should look like), this magick 63 offset for the first
slice, mysterious "raw" part don't edit..
Can someone help with this?
Needa create one config for layout with say 50m fat and FreeBSD on all
remaining and another with FreeBSD using entire disk.
And with bsdlabel+config, if i have the size of the slice, everything
further is the question of arythmetics and appending a raw partition to the
table. The exact partiton sizes need to be somehow calculated depending on
fs or can be arbitrary and aproximate?
And some waypoint.. errr... How can i get geometry parameters for ata, usb
and md-devices?


(c)Lame English Int. =FE=C9=D4=C1=D4=D8-=D4=CF =D0=CF-=D0=D2=CF=DD=C5 =C2=
=D5=C4=C5=D4, =C4=C1...
------------------
[root@ ~]# fdisk -s /dev/ad5
/dev/ad5: 19383 cyl 16 hd 63 sec
Part        Start        Size Type Flags
   1:          63    19538001 0xa5 0x80

[root@ ~]# atacontrol cap ad5 | grep lba
lba supported         19538975 sectors
lba48 not supported

Seems like sysinstall threw away 974 sectors while partitioning..

Noamasca@home$



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c44ea791001210130j75e220b2p7ffd5731d940aa1>