Stand-alone GRUB HELP
John Do
pcbsdguy at yahoo.ca
Sun Sep 11 22:17:11 PDT 2005
Hi Glen,
Thanks for the reply
I tried the following and there was no change to the
boot menu:
boot0cfg -B -s 5 ad0
boot0cfg -B -s 2 ad2
--- Glenn Dawson <glenn at antimatter.net> wrote:
> At 09:18 PM 9/11/2005, John Do wrote:
> >Hi guys
> >
> >I have been reading documentation and I'm still
> >confused.
> >
> >I have Windows on ad0 and FreeBSD on ad2
> >
> >I installed the BSD bootloader but it is only
> booting
> >Windows.
> >
> >There is some limitation or problem and no matter
> what
> >I try in the emergency shell I cannot configure
> >boot0cfg to work properly.
> >
> >So I need two solutions to try:
> >
> >How do I configure the BSD boot loader to work to
> boot
> >both Windows and FreeBSD? I have tried commands
> like
> >
> >boot0cfg -B -s 2 ad2 and it doesn't seem to help or
> >boot
>
> I think what you want is:
>
> test54# boot0cfg -B -s 5 ad0
> test54# boot0cfg -B -s 1 ad2
>
> If you reboot, you should end up booting from the
> first slice on ad2.
>
> This is what everything looks like on one of my test
> boxes:
>
> test54# boot0cfg -v ad4
> # flag start chs type end chs
> offset size
> 1 0x00 0: 1: 1 0x07 1023:254:63
> 63 20964762
> 2 0x80 1023:255:63 0xa5 1023:254:63
> 20964825 20964825
> 3 0x00 1023:255:63 0x07 1023:254:63
> 41929650 61432560
> 4 0x00 1023:255:63 0xa5 1023: 80:63
> 103362210 287359758
>
> version=1.0 drive=0x80 mask=0xf ticks=182
> options=packet,update,nosetdrv
> default_selection=F5 (Drive 1)
>
> test54# boot0cfg -v ad6
> # flag start chs type end chs
> offset size
> 1 0x80 0: 1: 1 0xa5 1023:254:63
> 63 156296322
>
> version=1.0 drive=0x80 mask=0xf ticks=182
> options=packet,update,nosetdrv
> default_selection=F1 (Slice 1)
>
> Not exactly the same as your setup, but close. On
> ad4, 1 is windows,
> 2 is FreeBSD, 3 and 4 are non-bootable. On ad6, 1
> is FreeBSD.
>
> -Glenn
>
>
>
> >Second solution:
> >
> >Stand-alone GRUB install
> >
> >How can I install GRUB stand-alone? How do I
> install
> >it into /boot? I guess /boot = some mounted
> partition
> >of a unix OS?
> >
> >Would it be best to make /boot under the existing
> >FreeBSD partition?
> >
> >The more exact details the better. I've been
> >scratching my head over this for days
> >
> >thx!
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam? Yahoo! Mail has the best spam
> protection around
> >http://mail.yahoo.com
> >_______________________________________________
> >freebsd-questions at freebsd.org mailing list
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
__________________________________________________________
Find your next car at http://autos.yahoo.ca
More information about the freebsd-questions
mailing list