Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 1999 21:54:02 +0200
From:      Guido van Rooij <guido@gvr.org>
To:        FreeBSD-hackers <FreeBSD-hackers@freebsd.org>
Subject:   booting from a second slice
Message-ID:  <19990930215402.A449@gvr.gvr.org>

next in thread | raw e-mail | index | archive | help

what is the correct way (if at all) to boot off a second FreeBSD
slice, given the following fdisk table (see below)?
I thought that the three stage boot would make such a think possible.
F2 in the boot manager does not work, but I would have thought that
the loader would enable me to say currdev=disk1s2a:
but an ls gives an error (lik unable to open xxx or something like that).
I know about the 1024 cylinder limit, however I would expect loader
to be able to work beyond that limit..

(btw: I take it that nextboot does not work with the btx stuff (couldn't
locate any such stuff in the sources). If so, it should probably be
removed in the i386 case (not in pc98 case though).

fdisk table:
******* Working on device /dev/rwd0 *******
parameters extracted from in-core disklabel are:
cylinders=12595 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=12595 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 3071313 (1499 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 1023/ sector 63/ head 15
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 3071376, size 3071376 (1499 Meg), flag 0
        beg: cyl 1023/ sector 63/ head 255;
        end: cyl 1023/ sector 63/ head 15
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 6142752, size 3071376 (1499 Meg), flag 0
        beg: cyl 1023/ sector 63/ head 255;
        end: cyl 1023/ sector 63/ head 15
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 9214128, size 3481632 (1700 Meg), flag 0
        beg: cyl 1023/ sector 63/ head 255;
        end: cyl 1023/ sector 63/ head 15

-Guido


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?19990930215402.A449>