DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th January 2010
dennky dennky is offline
Port Guard
 
Join Date: Dec 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default grub on obsd

I install grub from ports and then run grub-install --no-floppy sd0 (my disk is sd0) but got error "Format of install_device not recognized". I try also with grub-install --no-floppy hd0 "The file /grub/stage1 not read correcty.". Also i try with /dev/sd0 and /dev/hd0 but nothing "Not foundor not a block device".
Reply With Quote
  #2   (View Single Post)  
Old 12th January 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,805
Thanked 214 Times in 189 Posts
Default

Read the instructions in /usr/local/share/doc/grub/README.OpenBSD very carefully.

Specifically, make careful note of the example shown for using grub-install. If "hd0" fails, then try using a raw device, such as /dev/rsd0c.
Reply With Quote
  #3   (View Single Post)  
Old 13th January 2010
dennky dennky is offline
Port Guard
 
Join Date: Dec 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

I read and make menu.lst. dmesg tell me "/dev/rsd0a: file system is clean; not checking" and df "/dev/sd0a ************** Mounted on /" and fdisk sd0

Code:
0: E8   <Unknown ID
1: 01   DOS FAT-12
2: 00  unused
3: 3F  <Uknown ID>
I try grub-install --no-floppy /dev/rsd0a and /dev/rsd0b and /dev/rsd0c "The file /grub/stage1 not read correctly".

Last edited by dennky; 13th January 2010 at 08:00 PM.
Reply With Quote
  #4   (View Single Post)  
Old 13th January 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,805
Thanked 214 Times in 189 Posts
Default

The MBR partition table you posted looks damaged.

1) Post the output of "# fdisk sd0"
2) Post the output of "# cat /grub/device.map"
3) Post the output of "$ dmesg"

Please use [code] and [/code] around each, to make them readable.

One should not attempt multibooting without a good backup!

Last edited by jggimi; 13th January 2010 at 08:05 PM.
Reply With Quote
  #5   (View Single Post)  
Old 13th January 2010
dennky dennky is offline
Port Guard
 
Join Date: Dec 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

I noticed just backup data and reset mbr then i will try to install grub.
Reply With Quote
  #6   (View Single Post)  
Old 14th January 2010
dennky dennky is offline
Port Guard
 
Join Date: Dec 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

I installed grub pt is was the problem. Create menu.lst
Code:
default 0
timeout 5
title OpenBSD
root (hd0 ,1)
chainloader +1
cat /grub/device.map
Code:
 (hd0) /dev/rsd0c
But when boot i got message
Code:
 Error 11: Unrecognized device string
Hot to modify now menu.lst ?

Last edited by dennky; 14th January 2010 at 07:02 PM.
Reply With Quote
  #7   (View Single Post)  
Old 14th January 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,805
Thanked 214 Times in 189 Posts
Default

As requested already, please post the output of:
  • # fdisk sd0
  • # dmesg
and, now that I discover you have a second disk, post the output of:
  • # fdisk sd1
Reply With Quote
  #8   (View Single Post)  
Old 14th January 2010
dennky dennky is offline
Port Guard
 
Join Date: Dec 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

sd1 is usb. fdisk sd0
Code:
 0: 07
*1: A6
 2: 07
 3: 07
In dmesg for disk
Code:
 sd0 at scsibus0...
Reply With Quote
  #9   (View Single Post)  
Old 14th January 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,805
Thanked 214 Times in 189 Posts
Default

How to report a problem:

English: http://www.openbsd.org/report.html
Deutsch: http://www.openbsd.org/de/report.html
Français: http://www.openbsd.org/fr/report.html
Nederlandse: http://www.openbsd.org/nl/report.html
Polska: http://www.openbsd.org/pl/report.html

Specifically, look to the section titiled "How to create a problem report".
Reply With Quote
Old 14th January 2010
dennky dennky is offline
Port Guard
 
Join Date: Dec 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Omg i found the problem was so stupid mistake (spacing).
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

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
Restore OBSD Over SSH revzalot OpenBSD Installation and Upgrading 16 2nd September 2009 06:45 PM
GRUB on previous Linux installation indiocolifa FreeBSD Installation and Upgrading 2 26th March 2009 06:50 AM
Dropped to grub terminal, stumped. Jack OpenBSD Installation and Upgrading 3 12th December 2008 03:09 PM
boot0cfg or grub and mount (HARDDISK PROBLEM) disappearedng FreeBSD General 9 10th July 2008 06:26 PM
Having trouble adding 7.0 to GRUB 0.97 Arenlor FreeBSD General 4 26th June 2008 01:02 AM


All times are GMT. The time now is 04:23 PM.


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