Subject: Re: need a multiboot with FreeBSD
To: Jeremy C. Reed <reed@reedmedia.net>
From: Onno Ebbinge <onno.ebbinge@gmail.com>
List: netbsd-help
Date: 10/12/2005 11:26:04
Hi Jeremy,

Probably way more power than you need but Ranish Partition Manager does
everything you want, and more. If you read the doc's and experiment a bit y=
ou
can make it jump through hoops (with 30 primary partitions).

http://www.ranish.com/part/

Regards,
Onno


On 10/12/05, Jeremy C. Reed <reed@reedmedia.net> wrote:
> From NetBSD-daily I installed latest NetBSD 3-BETA using sysinst.
>
> I didn't see any option to create a boot selector. I did install NetBSD t=
o
> my first slice on wd0.
>
> When I rebooted, FreeBSD came up. I have FreeBSD on its ad0s3 -- which is
> my third slice on same (and only harddisk).
>
> I attempted to create boot loader in FreeBSD with its:
>
> fdisk -B -b ad0
>
> But rebooting said "Invalid partition table".
>
> So I reboot again to sysinst and from the shell I run:
>
> fdisk -c /usr/mdec/mbr_bootsel /dev/wd0
>
> Then after reboot it gives me a prompt:
>
> Fn:
>
> But no choices and says error whatever I press except Enter.
>
> And it takes me back to FreeBSD.
>
> From NetBSD, I also tried:
>
> installboot -v /dev/rwd0e /usr/mdec/bootxx_ffsv2
>
> I tried several different things rebooting back and forth between FreeBSD
> and NetBSD. But it is a slow process.
>
> Any ideas for NetBSD on how to get my boot menu? (Or FreeBSD ideas?)
>
> I want a choice at menu to boot: NetBSD first fdisk partition or FreeBSD
> at third fdisk partition.
>
> FreeBSD tells me:
>
> glacier# fdisk ad0
> ******* Working on device /dev/ad0 *******
> parameters extracted from in-core disklabel are:
> cylinders=3D77520 heads=3D16 sectors/track=3D63 (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=3D77520 heads=3D16 sectors/track=3D63 (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 169 (0xa9),(NetBSD)
>      start 63, size 10233342 (4996 Meg), flag 80 (active)
>          beg: cyl 0/ head 1/ sector 1;
>          end: cyl 636/ head 254/ sector 63
> The data for partition 2 is:
> sysid 130 (0x82),(Linux swap or Solaris x86)
>      start 10233405, size 610470 (298 Meg), flag 80 (active)
>          beg: cyl 637/ head 0/ sector 1;
>          end: cyl 674/ head 254/ sector 63
> The data for partition 3 is:
> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
>      start 10843875, size 10233405 (4996 Meg), flag 80 (active)
>          beg: cyl 675/ head 0/ sector 1;
>          end: cyl 1023/ head 254/ sector 63
> The data for partition 4 is:
> <UNUSED>
>
> And:
>
> glacier# disklabel ad0s1
> disklabel: /dev/ad0s1: no valid label found
> glacier# disklabel ad0s3
> # /dev/ad0s3:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>    a:  1048576        0    4.2BSD        0     0     0
>    b:   341600  1048576      swap
>    c: 10233405        0    unused        0     0         # "raw" part,
> don't edit
>    d:  8843229  1390176    4.2BSD        0     0     0
>
>
> Thanks,
>
>
>   Jeremy C. Reed
>