Unix Technical Forum

Installing GRUB from OpenBSD

This is a discussion on Installing GRUB from OpenBSD within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> Hi, I hit upon this procedure through many trial and error attempts, so I thought posting it here will ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 06:05 AM
Bajji
 
Posts: n/a
Default Installing GRUB from OpenBSD

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com