DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st June 2008
Arenlor Arenlor is offline
New User
 
Join Date: Jun 2008
Posts: 1
Thanked 0 Times in 0 Posts
Default Having trouble adding 7.0 to GRUB 0.97

As stated in the title I'm trying to add FreeBSD 7.0 to my GRUB 0.97 list. My current attempt is:
Code:
title FreeBSD
root (hd0,2a)
kernel /boot/loader
savedefault
makeactive
chainloader +1
I get error 22 partition not found. The line in fdisk for it is:
# /dev/sda3 5991 7296 10490445 83 Linux
Any help on fixing this would be much appreciated.
Reply With Quote
  #2   (View Single Post)  
Old 21st June 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
VPN Cryptographer
 
Join Date: Apr 2008
Location: NYC
Posts: 351
Thanked 31 Times in 25 Posts
Default

Sometimes some versions of grub have trouble with FreeBSD partitions. I don't really follow grub too much anymore, but it does seem as if you're mixing methods. (I could be wrong about that though, perhaps what you have is generally accepted practice now.)

I would try just these lines and see if it works. In other words, don't add them to what you have, get rid of what you have and try this.

title FreeBSD
rootnoverify (hd0,2)
chainloader +1

See if you have any luck--that just passes it on to the FreeBSD partition and lets the O/S, that is is, the FreeBSD install, worry about its own booting. Note that this method should work even if you chose not to install a boot loader during installation.
Reply With Quote
  #3   (View Single Post)  
Old 21st June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Thanked 25 Times in 24 Posts
Default

root (hd0,2,a)

Although, depending on the distribution of GRUB(*1_5 files)
you should not use the "a" label descriptor.
In all cases, wether labels ere/are not recognized, tje hard drive descriptor (hd0,2) is sufficient to boot from chainloader +1
Remove the "a" or put a comma before the "a".
__________________
da more I know I know I know nuttin'
Reply With Quote
  #4   (View Single Post)  
Old 21st June 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
VPN Cryptographer
 
Join Date: Apr 2008
Location: NYC
Posts: 351
Thanked 31 Times in 25 Posts
Default

Yuppers, I missed the missing comma. Sigh, I am getting old.
Reply With Quote
  #5   (View Single Post)  
Old 26th June 2008
ninjatux's Avatar
ninjatux ninjatux is offline
Real Name: Baqir Majlisi
Spam Deminer
 
Join Date: May 2008
Location: Antarctica
Posts: 293
Thanked 15 Times in 15 Posts
Default

Yeah, the missing comma is the culprit. Also, GRUB 0.97 is the latest version that's anywhere near stable. GRUB 2 is horribly unstable and unpredictable.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE)
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
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
Adding drives annoys OpenBSD. diw OpenBSD General 4 4th September 2008 02:14 AM
Adding a separate /home JMJ_coder NetBSD General 2 29th August 2008 10:45 AM
boot0cfg or grub and mount (HARDDISK PROBLEM) disappearedng FreeBSD General 9 10th July 2008 06:26 PM


All times are GMT. The time now is 10:41 AM.


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