How I setup a dual-boot PC?

Dan Bikle dan.bikle at gmail.com
Sun Jul 23 07:19:00 UTC 2006


ok,

I figured it out.

I just had to tinker a bit with the installation interface
provided by the installation cdrom.

The main thing I did was put the 6.1 root file system on
this device:

/dev/ad8s4a

and then mount that device as /

I now have my PC configured so that I can boot:

XP
FreeBSD 5.5
FreeBSD 6.1

Next, I need to figure out how to get X-windows to work on my console.

X-windows works fine if I use an X-server on my Mac or my Linux box
but when I type startx on the console, the console just goes dark
and does nothing.

Also, the virtual terminals [ alt f2,3,4... ] go dead.

This means I need to ssh in and then reboot to get my console back.

I suspect a hardware issue since pciconf -vl says this about my
graphics interface:

none3 at pci1:5:0:    class=0x030000 card=0x2a31103c chip=0x5a611002 rev=0x00
hdr=0x00
    vendor   = 'ATI Technologies Inc'
    class    = display
    subclass = VGA

According to man pciconf,
none3
means
'there is no device configured in the kernel for the PCI device in question'
which I is suspect is a problem [ but I'm not sure it's the root cause
behind
my x-windows problem ].

Anyone out there have any x-windows battle scars and possibly useful tips
and or advice ??

Thanks,

-Dan

On 7/22/06, Dan Bikle <dan.bikle at gmail.com> wrote:
>
> FreeBSD people,
>
> I'm trying to figure out how to setup dual boot on my PC.
>
> The PC has a 250G drive.
>
> Currently, when I boot, I see this menu on the console:
>
> F1  DOS
> F2  DOS
> F3  FreeBSD
> F4  FreeBSD
>
> F1 I avoid; The factory put an XP thingee there.
> F2 works well, when I pick it, the box boots with XP.
> F3 works well, when I pick it, the box boots with FreeBSD 5.5
>
> F4 does not work; I want it to boot FreeBSD 6.1
>
> So I did the obvious thing.
>
> I got a 6.1 installation CD and walked through the install.
>
> During the install, I asked that /dev/ad8s4d be mounted as /.
>
> But when I am given the F1,2,3,4 boot menu,
> and when I pick F4,
> I see this error:
>
> F4 Invalid partition
> No /boot/loader
> FreeBSD / i386 boot
> Default: 0:ad(0,a)/boot/kernel/kernel
>
> boot:
>
> Can any of you give me any tips on how to make /dev/ad8s4d
> bootable?
>
> Or can you give me an understanding about how I can tell the
> ' boot: ' prompt that I want to boot off of /dev/ad8s4d
>
>
> BTW......
>
> After I boot 5.5,  I'm able to mount the partition
> I want to boot from.
>
> So, I mounted it as /root61
>
> I see this:
>
> df -k
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/ad8s3a  91913630 20140014 64420526    24%    /
> /dev/ad8s4d  94132520  1077196 85524724     1%    /root61
> devfs               1        1        0   100%    /dev
> linprocfs           4        4        0   100%    /usr/compat/linux/proc
>
> When I look in /root61,
> I see this:
>
> moibsd# ls -la /root61/boot/kernel/kernel
> -r-xr-xr-x  1 root  wheel  6687708 May  6 21:42 /root61/boot/kernel/kernel
> moibsd# ls -la /root61
> total 56
> drwxr-xr-x  20 root  wheel      512 Jul 21 18:32 .
> drwxr-xr-x  28 root  wheel     1024 Jul 22 13:55 ..
> -rw-r--r--   2 root  wheel      801 May  6 21:00 .cshrc
> -rw-r--r--   2 root  wheel      251 May  6 21:00 .profile
> drwxrwxr-x   2 root  operator   512 Jul 21 18:29 .snap
> -r--r--r--   1 root  wheel     6187 May  6 21:00 COPYRIGHT
> drwxr-xr-x   2 root  wheel     1024 Jul 21 18:29 bin
> drwxr-xr-x   5 root  wheel      512 Jul 21 18:32 boot
> drwxr-xr-x   2 root  wheel      512 Jul 21 18:29 cdrom
> drwxr-xr-x   2 root  wheel      512 Jul 21 18:29 cdrom1
> lrwxr-xr-x   1 root  wheel       10 Jul 21 18:32 compat -> usr/compat
> drwxr-xr-x   2 root  wheel      512 Jul 21 18:29 dev
> drwxr-xr-x   2 root  wheel      512 Jul 21 18:29 dist
> drwxr-xr-x  18 root  wheel     2048 Jul 21 18:35 etc
> drwxr-xr-x   3 root  wheel     1024 Jul 21 18:29 lib
> drwxr-xr-x   2 root  wheel      512 Jul 21 18:29 libexec
> drwxr-xr-x   2 root  wheel      512 May  6 20:54 mnt
> dr-xr-xr-x   2 root  wheel      512 May  6 20:54 proc
> drwxr-xr-x   2 root  wheel     2560 Jul 21 18:29 rescue
> drwxr-xr-x   2 root  wheel      512 Jul 21 18:29 root
> drwxr-xr-x   2 root  wheel     2560 Jul 21 18:29 sbin
> lrwxrwxrwx   1 root  wheel       11 Jul 21 18:29 sys -> usr/src/sys
> drwxrwxrwt   2 root  wheel      512 May  6 20:54 tmp
> drwxr-xr-x  16 root  wheel      512 Jul 21 18:32 usr
> drwxr-xr-x  22 root  wheel      512 Jul 21 18:32 var
> moibsd#
>
>
> Thanks,
> -Dan
>
>
>


More information about the freebsd-questions mailing list