Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 17:39:42 +0000 (UTC)
From:      Carlos Antonio Ruggiero <toto@sdf.lonestar.org>
To:        "Duane H. Hesser" <dhh@androcles.com>
Cc:        "Brian T.Schellenberger" <bts@babbleon.org>, <freebsd-hackers@FreeBSD.ORG>, <obrien@FreeBSD.ORG>
Subject:   Re: booting from extended slice
Message-ID:  <Pine.NEB.4.33.0203191732110.5385-100000@sdf.lonestar.org>
In-Reply-To: <200203191710.g2JHAvU79526@androcles.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Mar 2002, Duane H. Hesser wrote:

> Date: Tue, 19 Mar 2002 09:10:56 -0800 (PST)
> From: Duane H. Hesser <dhh@androcles.com>
> To: Brian T.Schellenberger <bts@babbleon.org>
> Cc: freebsd-hackers@FreeBSD.ORG,
>      Carlos Antonio Ruggiero <toto@sdf.lonestar.org>, obrien@FreeBSD.ORG
> Subject: Re: booting from extended slice
>
>
> On 19-Mar-02 Brian T.Schellenberger wrote:
> >
> > Sorry, I've gotten the message now . . . (my mail takes too long to send . .
> > .)
> > the partitions do work just the install doesn't.
> >
> > This seems like an especially silly situation to me . . . I always thought
> > that the filesystem was the limitation here . . .
> >
> > On Tuesday 19 March 2002 12:34 am, Brian T.Schellenberger wrote:
> >| On Monday 18 March 2002 10:49 pm, David O'Brien wrote:
> >| | On Mon, Mar 18, 2002 at 09:44:07PM -0500, Brian T . Schellenberger wrote:
> >| | > What good will it do you if do boot it?  FreeBSD doesn't support UFS in
> >| | > extended partitions anyway.
> >| |
> >| | Yes it does.  Why do you say it doesn't?
> >|
>
> As far as I can tell, the only 'culprit' in this is fdisk itself.

If you want to boot from an extended slice, you'll have to modify
/usr/src/sys/boot/i386/boot1.s boot2.c and the loader. It should be easy
(;-)) to modify fdisk to deal with extended partitions but i do not
think it would be enough.

> The kernel recognizes logical partitions in the extended slice, and
> once the device nodes are made, they can be used normally.
>
> I'm running a multiple-boot system in which the FreeBSD /usr partion
> is on a logical slice in the extended slice.  It was necessary to
> prepare the slices under Linux, and to use a little Holographic
> Shell magic (fortunately, sysinstall allowed me to mount a remote
> filesystem to which the necessary tools were copied) to partition
> and "premount" /usr, after which sysinstall was quite content to
> install to it.
>
> I've often thought since that it would be nice if someone would
> "smarten up" fdisk a bit (including its incarnation within sysinstall).
> I can't think of anything else right now that would be needed.

fdisk and sysinstall seem to use different code so both should be
modified.
>
> --------------
> Duane H. Hesser
> dhh@androcles.com
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
>

toto@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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