Installing GRUB from OpenBSD

From: Bajji (bajjisw_at_yahoo.com)
Date: 09/22/04


Date: 22 Sep 2004 12:48:25 -0700

Hi,

    I hit upon this procedure through many trial and error attempts,
so I thought posting it here will be a good way to document it. Also,
most of the substeps are well documented on websites, help documents.

What I wanted to do:
    I had a pc running Windows 98 , XP. I wanted to add OpenBSD (3.5)
to it. This was easy. I wanted to boot all 3 using GRUB (not
straightforward for me). I did not want to install linux just to write
GRUB to my hdd.

    Of course, if you are ready to do this, I wont bore you with
warnings or copylefting.

    (1) In OpenBSD download, compile, install GRUB. (I tried GRUB 2,
but it complained about a missing library, which I tried to install
using pkg_add - to no avail). On my installation, files were installed
to /usr/local/lib/grub/i386-unknown . I also put my menu.lst file
here.

    (2) Use the floppy install documentation to make a GRUB bootable
floppy. grub-install didnt work for me - to install on my hdd. if
grub-install works for you - lucky you.

    (3) Use the floppy to boot to the grub command shell.

    (4) Since my grub files were in /usr (BSD partition g) (and this
was on my first drive, first parition) I mounted g as root
> root (hd0,0,g)
> setup --prefix=/local/lib/grub/i386-unknown/ (hd0)

ta da :)

Bajji



Relevant Pages

  • Re: New build - halt on ACPI Controller
    ... on the hdd from a previous install attempt. ... landed up using the rear panel mains isolator switch to switch it off as ... The use of partition analysis and repair tools unearthed a further two ...
    (uk.comp.homebuilt)
  • Re: Which distro for out of the box for good multimedia support
    ... What sort of programmer does not have an internet connection at home? ... you may take the HDD home with you to install it on the PC there. ... Super Grub Disc and Systemrescue ...
    (comp.os.linux.misc)
  • Re: Xp install problem
    ... Anna wrote: ... I am attempting to install xp after fitting a new HDD following a "failure" of the old one. ... When I reach the point during the install where the "install devices" starts, I get the stop code 0x000000BE. ... If so, it would be worthwhile to remove the graphics card, ensure your onboard graphics capability is enabled and see if the install will succeed. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Xp install problem
    ... I am attempting to install xp after fitting a new HDD following a ... When I reach the point during the install where the "install ... graphics/video card. ... You're certain all your connections & configuration of components ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Xp install problem
    ... I am attempting to install xp after fitting a new HDD following a "failure" of the old one. ... When I reach the point during the install where the "install devices" starts, I get the stop code 0x000000BE. ... If so, it would be worthwhile to remove the graphics card, ensure your onboard graphics capability is enabled and see if the install will succeed. ... You're certain all your connections & configuration of components including the new HDD are proper and your motherboard is properly seated? ...
    (microsoft.public.windowsxp.help_and_support)