Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 10:12:36 -0600
From:      =?ISO-8859-1?Q?Jes=FAs_Abidan?= <jabidan@gmail.com>
To:        Jerry McAllister <jerrymc@msu.edu>
Cc:        questions@freebsd.org
Subject:   Re: cannot boot freebsd
Message-ID:  <b18b0d440911120812n77643567ted35bc32ecf2c099@mail.gmail.com>
In-Reply-To: <20091112160806.GA12548@gizmo.acns.msu.edu>
References:  <b18b0d440911111027if930d18p65c3f3fce7badee2@mail.gmail.com> <b18b0d440911111122x262fb4c3vd566ec11e8a5db5b@mail.gmail.com> <20091111195247.GA6824@gizmo.acns.msu.edu> <b18b0d440911111212o6059aa5cgb89a5582ba7bcd2a@mail.gmail.com> <20091111205612.GA7167@gizmo.acns.msu.edu> <b18b0d440911111657h71532404gb38d0c85dee6aabf@mail.gmail.com> <20091112145253.GA12151@gizmo.acns.msu.edu> <b18b0d440911120656q72bfa77bn4005a92178cd86f9@mail.gmail.com> <b18b0d440911120738r6cb4a52ehc952b6c8d9850176@mail.gmail.com> <20091112160806.GA12548@gizmo.acns.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
ok, sorry...

2009/11/12 Jerry McAllister <jerrymc@msu.edu>

> On Thu, Nov 12, 2009 at 09:38:27AM -0600, Jes=FAs Abidan wrote:
>
> First, please send all messages to the freebsd-questions list and not
> just to me.   That is proper list etiquette, plus you will be able to
> get responses from more than just me.   Others may know more.
> In other words, always do a 'reply all' on list email.
>
>
> > read this:
> >
> > "First, be aware that all the information necessary to boot FreeBSD mus=
t
> be
> > located within the first 1,024 cylinders of the hard disk. This is
> necessary
> > for the FreeBSD boot manager to work; it means that when you partition
> the
> > disk for FreeBSD using FIPS, either the root partition must be complete=
ly
> > located within the first 1,024 cylinders or you can use a separate boot
> > partition that is completely located in the first 1,024 cylinders. Use
> the
> > "Start" and "End" cylinder readouts in FIPS to determine where your
> > partitions start and end. If you choose the latter option, the root
> > partition does not have to be completely located in the first 1,024
> > cylinders. Note that "completely located" means that the partition has =
to
> > both start and end below the 1,024th cylinder. Simply starting below th=
e
> > 1,024th cylinder is not good enough.
>
> This is obsolete information for most computers with BIOS and disks
> created later than about 1998.   That really means all computers
> functioning today.  It is also obsolete for FreeBSD systems which
> do not use BIOS to talk to the disk.
>
> There are numerous web sites that explain this including some
> documentation on the FreeBSD web site:    http://www.freebsd.org/
>
> ////jerry
>
>
>
> >
> > http://www.informit.com/articles/article.aspx?p=3D32084&seqNum=3D4"
> >
> > as i see, do i need to create a partition(located in the first
> > 1024cylinders) to BOOT from? (sorry)
> >
> > 2009/11/12 Jes=FAs Abidan <jabidan@gmail.com>
> >
> > > no, it's not vista, is XP
> > >
> > > 2009/11/12 Jerry McAllister <jerrymc@msu.edu>
> > >
> > > On Wed, Nov 11, 2009 at 06:57:02PM -0600, Jes=FAs Abidan wrote:
> > >>
> > >> > i did it like you say, but something is happening with my
> installation,
> > >> it
> > >> > boots always the first OS, i don't have any ideas for having a dua=
l
> > >> > system... argh!!
> > >>
> > >> Perchance, is your other system MS-Vista?
> > >> As I mentioned in a previous response, I have heard of people
> > >> having problems with dual booting with Vista and having to
> > >> follow some other procedure for that.   But, I haven't used Vista
> > >> (and do not intend to) so you will have to do some archive searching
> > >> to find those pieces of information.
> > >>
> > >> ////jerry
> > >>
> > >>
> > >>
> > >> >
> > >> > 2009/11/11 Jerry McAllister <jerrymc@msu.edu>
> > >> >
> > >> > > On Wed, Nov 11, 2009 at 02:12:22PM -0600, Jes=FAs Abidan wrote:
> > >> > >
> > >> > > > so, then i need to create 2 slices with gparted, install windo=
ws
> on
> > >> the
> > >> > > > first one, and install freebsd on the second one and label thi=
s
> > >> partition
> > >> > > > automatically by the installer (ad0s1, ad0s2, etc) and install
> the
> > >> > > bootmgr?
> > >> > >
> > >> > > Yes, essentially except for those partition names.
> > >> > >
> > >> > > Create the two slices/primary partitions.
> > >> > > Install the MS-Win in the first one.  I think then MS will call =
it
> > >> 'c:'
> > >> > > Anyway, FreeBSD will think it is ad0s1.
> > >> > >
> > >> > > Then install FreeBSD in the second slice/primary partition.  MS
> will
> > >> not
> > >> > > even know it is there.   FreeBSD will call it ad0s2.
> > >> > >
> > >> > > During the install, that ad0s2 slice will be subdivided accordin=
g
> to
> > >> how
> > >> > > you tell it into FreeBSD partitions with names like ad0s2a (for
> root)
> > >> > > and ad0s2b (for swap), ad0s2d for whatever - maybe /tmp, ad0s2e
> for
> > >> > > something else, such as /usr, etc.
> > >> > >
> > >> > > For my general purpose machines I usually subdivide in to
> > >> > > the following partitions:
> > >> > >  a    mounts as  /              eg:   mount /dev/ad0s2a /
> > >> > >  b               swap
> > >> > >  c    describes the slice and is not a real partition
> > >> > >  d    mounts as  /tmp           eg:   mount /dev/ad0s2d /tmp
> > >> > >  e    mounts as  /usr                  etc
> > >> > >  f    mounts as  /var
> > >> > >  g    mounts as  /home  or something similar
> > >> > >
> > >> > >
> > >> > > For my systems that are single purpose central servers I tend to
> do
> > >> this:
> > >> > >  a    mounts as  /     everything but swap and afscache goes in
> root.
> > >> > >  b               swap
> > >> > >  c    slice description
> > >> > >  d    /afscache
> > >> > >
> > >> > >
> > >> > > If I have a second drive for scratch or work space I tend to do:
> > >> > >  a    mounts as /work  and uses up all the space except extra sw=
ap
> > >> > >  b    used for additional swap
> > >> > >  c    describes the slice
> > >> > >
> > >> > > The sizes of the various partition-subdivisions depends on the
> size
> > >> > > of the disk and the use being made of the machine and what I wan=
t
> > >> > > to install on it and how I want to handle backups.
> > >> > >
> > >> > > ////jerry
> > >> > >
> > >> > >
> > >> > > >
> > >> > > > 2009/11/11 Jerry McAllister <jerrymc@msu.edu>
> > >> > > >
> > >> > > > > On Wed, Nov 11, 2009 at 01:22:58PM -0600, Jes=FAs Abidan wro=
te:
> > >> > > > >
> > >> > > > > > ok. the slices in freebsd are little tricky, i will check =
my
> > >> > > installation
> > >> > > > > > and send some feedback later.
> > >> > > > >
> > >> > > > >
> > >> > > > > ??  FreeBSD slices are pretty straight forward.   They are
> just
> > >> the
> > >> > > > > name of the 4 primary divisions of a disk - limited to 4 by
> BIOS.
> > >> > > > > MS just calls them primary partitions instead of slices.
> > >> > > > >
> > >> > > > > The major difference is how they might be subdivided.  MS do=
es
> > >> what it
> > >> > > > > calls logical partitions.  FreeBSD subdivisions are just
> called
> > >> > > partitions.
> > >> > > > >
> > >> > > > > The fdisk(8) utility creates slices (or primary partitions i=
n
> MS,
> > >> > > though
> > >> > > > > the
> > >> > > > > FreeBSD fdisk is not very conversant with some of the new MS
> types
> > >> so
> > >> > > you
> > >> > > > > may be better off using something else to create primary
> > >> > > partitions/slices
> > >> > > > > if other OSen are being accomodated).   Slices (or primary
> > >> partitions)
> > >> > > are
> > >> > > > > identified by numbers 1..4.
> > >> > > > >
> > >> > > > > The bsdlabel(8) utility in FreeBSD is what subdivides a slic=
e
> in
> > >> to
> > >> > > > > partitions.  It used to be that it was limited to 7 real
> > >> partitions
> > >> > > > > identified with letters a..h with the letter 'c' reserved to
> > >> describe
> > >> > > > > the whole slice and not usable as a real partition.  Partiti=
on
> 'a'
> > >> is
> > >> > > > > normally root mounted as '/' and partition 'b' is used as
> swap.
> > >>  These
> > >> > > > > two (a & b) are conventions and not enforced, except that so=
me
> > >> software
> > >> > > > > may make these assumptions.    My understanding is that the
> newest
> > >> > > > > versions of FreeBSD (8.0) modify or remove the limit and you
> can
> > >> have
> > >> > > > > letters above 'h' and thus more subdivisions in a slice, but=
 I
> > >> haven't
> > >> > > > > tried that yet.
> > >> > > > >
> > >> > > > > In FreeBSD, to create a filesystem from a partition, you run
> > >> newfs(8)
> > >> > > on
> > >> > > > > it.
> > >> > > > >
> > >> > > > > ////jerry
> > >> > > > >
> > >> > > > > >
> > >> > > > > > Thanks a lot.
> > >> > > > > >
> > >> > > > > > 2009/11/11 Jerry McAllister <jerrymc@msu.edu>
> > >> > > > > >
> > >> > > > > > > On Wed, Nov 11, 2009 at 12:27:13PM -0600, Jes=FAs Abidan
> wrote:
> > >> > > > > > >
> > >> > > > > > > > i pressed f2 for freebsd and nothing happens... i
> pressed f1
> > >> for
> > >> > > > > windows.
> > >> > > > > > > >
> > >> > > > > > > > I install freebsd on the first partition and now it
> occurs
> > >> the
> > >> > > > > viceversa,
> > >> > > > > > > i
> > >> > > > > > > > cannot boot windows, does it have to be something with
> the
> > >> order
> > >> > > of
> > >> > > > > the
> > >> > > > > > > > partitions? i mean primary, logical o something like
> this?
> > >> > > > > > >
> > >> > > > > > > MS-Win should optimally be installed on the first primar=
y
> > >> > > partition.
> > >> > > > > > > This is called 'slice 1' by FreeBSD.   Then FreeBSD shou=
ld
> be
> > >> > > installed
> > >> > > > > > > on slice 2.
> > >> > > > > > >
> > >> > > > > > > If the slices are not to your liking, then you may need =
to
> use
> > >> some
> > >> > > > > > > utility such as Parition Magic 7 (I had trouble with PM-=
8)
> or
> > >> > > gparted
> > >> > > > > > > to define the primary partitions/slices before you do an=
y
> of
> > >> the
> > >> > > > > installs.
> > >> > > > > > > But, still, MS-Win should be installed first and  go in
> the
> > >> first
> > >> > > slice
> > >> > > > > > > and FreeBSD later in another slice.  That is because
> MS-Win
> > >> doesn't
> > >> > > > > play
> > >> > > > > > > very well if installed later and/or in a different slice=
.
> > >> > > > > > >
> > >> > > > > > > When you install FreeBSD (after the MS-Win install) sele=
ct
> > >> > > installing
> > >> > > > > > > the FreeBSD MBR (not none or default minimum).    It
> should be
> > >> > > smart
> > >> > > > > > > enough to find both.
> > >> > > > > > >
> > >> > > > > > > I have heard some complaints about MS-Vista and having t=
o
> do
> > >> some
> > >> > > > > > > other monkeying around to get an MBR to handle it
> correctly,
> > >> but I
> > >> > > > > > > don't know details and I do not (lucky me) have any Vist=
a
> > >> machines
> > >> > > > > > > to joust with.
> > >> > > > > > >
> > >> > > > > > > ////jerry
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > 2009/11/11 Jerry McAllister <jerrymc@msu.edu>
> > >> > > > > > > >
> > >> > > > > > > > > On Wed, Nov 11, 2009 at 11:02:35AM -0600, Jes=FAs Ab=
idan
> > >> wrote:
> > >> > > > > > > > >
> > >> > > > > > > > > > Hi there, i have a problem here, i installed windo=
ws
> in
> > >> mi
> > >> > > box
> > >> > > > > and i
> > >> > > > > > > left
> > >> > > > > > > > > a
> > >> > > > > > > > > > partition for freebsd, i finished install of freeb=
sd
> and
> > >> > > > > installed
> > >> > > > > > > the
> > >> > > > > > > > > boot
> > >> > > > > > > > > > mgr of freebsd but when i reboot only windows boot=
s
> with
> > >> f1
> > >> > > > > pressed?
> > >> > > > > > > how
> > >> > > > > > > > > can
> > >> > > > > > > > > > I make the system boots both?
> > >> > > > > > > > >
> > >> > > > > > > > > Not sure all of what you see, but if you literally
> mean
> > >> that
> > >> > > when
> > >> > > > > > > > > you press F1 it always boots MS-Win, that is probabl=
y
> > >> correct.
> > >> > > > > > > > > You will have to press F2 or maybe F3 (depending in
> which
> > >> slice
> > >> > > you
> > >> > > > > > > > > installed FreeBSD) to boot FreeBSD.
> > >> > > > > > > > >
> > >> > > > > > > > > I suspect you mean something a little different, but
> if
> > >> so,
> > >> > > > > > > > > please elaborate.
> > >> > > > > > > > >
> > >> > > > > > > > > ////jerry
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > > _______________________________________________
> > >> > > > > > > > > > freebsd-questions@freebsd.org mailing list
> > >> > > > > > > > > >
> > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >> > > > > > > > > > To unsubscribe, send any mail to "
> > >> > > > > > > > > freebsd-questions-unsubscribe@freebsd.org"
> > >> > > > > > > > >
> > >> > > > > > >
> > >> > > > >
> > >> > >
> > >>
> > >
> > >
>



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