From owner-freebsd-questions@FreeBSD.ORG Thu Nov 12 16:37:51 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A5D61065672 for ; Thu, 12 Nov 2009 16:37:51 +0000 (UTC) (envelope-from jabidan@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id A63968FC21 for ; Thu, 12 Nov 2009 16:37:50 +0000 (UTC) Received: by yxe1 with SMTP id 1so2171838yxe.3 for ; Thu, 12 Nov 2009 08:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=mQKSfzeWC6fPck1sAF+iOsOlC2HKYvs6XkxmwRAhRlc=; b=gtyVh1D+cyZoti6qhNU7Stt0GmA+Yb9vYOXoZaSLpwYawBWUZokEHyij+wOhQjO0Lk hFJ9s7OWdjuEeBG00Rs26Fe9Co/8GshBsWMnabm9GkhcBqiupV5hZVeAbDQsKTWrZmbF M5s/KzZZhfMkQMITSSCuDELVqcmq/DPwCp+s8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SfvUIhj/dTurEQXa4eBZVh+8On0PRqrA24GGsQnYNRsiP/KiXICRCm+Ui3pB0fNEHh cXWTSJ4Ftjz7u3VHFOxMYoXkH76sGXKwUCeLE/gyOk614SfHllmVCFur4EplunAUrS07 xZ8WyvMSekYnFHvcbY1sqYaTopCB5MrOi1+HE= MIME-Version: 1.0 Received: by 10.239.184.157 with SMTP id y29mr331831hbg.54.1258042356275; Thu, 12 Nov 2009 08:12:36 -0800 (PST) In-Reply-To: <20091112160806.GA12548@gizmo.acns.msu.edu> References: <20091111195247.GA6824@gizmo.acns.msu.edu> <20091111205612.GA7167@gizmo.acns.msu.edu> <20091112145253.GA12151@gizmo.acns.msu.edu> <20091112160806.GA12548@gizmo.acns.msu.edu> Date: Thu, 12 Nov 2009 10:12:36 -0600 Message-ID: From: =?ISO-8859-1?Q?Jes=FAs_Abidan?= To: Jerry McAllister Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: cannot boot freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2009 16:37:51 -0000 ok, sorry... 2009/11/12 Jerry McAllister > 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 > > > > > no, it's not vista, is XP > > > > > > 2009/11/12 Jerry McAllister > > > > > > 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 > > >> > > > >> > > 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 > > >> > > > > > >> > > > > 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 > > >> > > > > > > > >> > > > > > > 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 > > >> > > > > > > > > > >> > > > > > > > > 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" > > >> > > > > > > > > > > >> > > > > > > > > >> > > > > > > >> > > > > >> > > > > > > >