DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 4th March 2012
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Default How start OpenBSD using Grub2?

/etc/grub.d/40_custom
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "OpenBSD" { 
set root=(hd1,4)
chainloader +1 
}
From Ubuntu:
Quote:
# update-grub
$ sudo update-grub
Quote:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-38-generic
Found initrd image: /boot/initrd.img-2.6.32-38-generic
Found linux image: /boot/vmlinuz-2.6.32-36-generic
Found initrd image: /boot/initrd.img-2.6.32-36-generic
Found linux image: /boot/vmlinuz-2.6.32-35-generic
Found initrd image: /boot/initrd.img-2.6.32-35-generic
Found Scientific Linux release 6.2 (Carbon) on /dev/sda10
done
But ater the reboot i don't see the menu from starting OpenBSD.
As you see previously during the update is never listed OpenBSD and, in effect, during the reboot that entry is never present.

I have tried even these combinations:
1)
Quote:
set root=(hd1,4,a)
chainloader +1
2)
Quote:
set root='(hd1,4)'
chainloader +1
3)
Quote:
set root=(hd1,4)
chainloader +1
boot
but no one work! Damn!!! I tried for half day and i can't start openbsd!

The OS is on the sdb1 (for linux) and wd1 (for openbsd) and i use all the hdd.
Where i'm wrong?

Last edited by aleunix; 4th March 2012 at 11:03 AM.
Reply With Quote
 

Tags
boot, grub2

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD how to start (basic setup) wesley Guides 4 18th July 2012 06:29 PM
Grub2 and NetBSD Ninguem NetBSD General 0 29th July 2011 03:48 AM
Grub2 sucks. NetBSD won't load. Mr-Biscuit NetBSD General 6 10th March 2011 09:36 PM
Start problem after the installation of OpenBSD 4.6 aleunix OpenBSD Installation and Upgrading 12 21st December 2009 06:59 PM
start KDE on OpenBSD LiveCD ccc OpenBSD Installation and Upgrading 5 3rd November 2008 10:24 PM


All times are GMT. The time now is 03:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick