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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |