niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » NetBSD
GRUB
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Julio Uehara
*nix forums beginner


Joined: 03 Apr 2005
Posts: 21

PostPosted: Sat Sep 10, 2005 12:39 pm    Post subject: GRUB Reply with quote

Hello!

I am using 2.0.2, and installed GRUB from /usr/pkgsrc. Created configuration
file (menu.lst) in /usr/pkg/lib/grub/i386-/, where stage1, stage2, ..... etc
files are located.

In trying to install GRUB in MBR, I get the following:

-----------------------------------------------------------
GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> root (hd0,3)
Filesystem type unknown, partition type 0xa9

grub> setup (hd0)

Error 17: Cannot mount selected partition

grub>
-----------------------------------------------------------

I am already using GRUB in Linux (Slack) as a root partition, but now want
to change it to NetBSD.

Any help will be kindly appreciated.

-- Julio
Back to top
Julio Uehara
*nix forums beginner


Joined: 03 Apr 2005
Posts: 21

PostPosted: Sun Sep 11, 2005 3:48 pm    Post subject: Re: GRUB Reply with quote

Julio Uehara <julueh@discovery.net> wrote:

---------- snip ----------

Quote:
In trying to install GRUB in MBR, I get the following:

grub> root (hd0,3)
Filesystem type unknown, partition type 0xa9

grub> setup (hd0)

Error 17: Cannot mount selected partition

---------- snip ----------


Hello!

Problem solved. Proceeded as follows:

1. Created /grub directory.
2. Copied all files in '/usr/pkg/lib/grub/i386-' into /grub.
3. After executing # grub, proceeded as follows:

-----------------------------------------------------------
GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the
possible completions of a device/filename. ]

grub> root (hd0,3,a)
Filesystem type is ffs, partition type 0xa9

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/ffs_stage1_5" exists... yes
Running "embed /grub/ffs_stage1_5 (hd0)"... 14 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+14 p (hd0,3,a)/grub/stage2
/grub/menu.lst
"... succeeded
Done.

grub>

-----------------------------------------------------------

-- Julio
Back to top
russell kym horsell
*nix forums addict


Joined: 01 Mar 2005
Posts: 68

PostPosted: Mon Sep 12, 2005 3:59 am    Post subject: Re: GRUB Reply with quote

Julio Uehara <julueh@discovery.net> wrote:
Quote:
Julio Uehara <julueh@discovery.net> wrote:

....



Thanx for that. May save me having to buy a bigger hammer sometime. Wink
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 6:09 am | All times are GMT
navigation Forum index » *nix » BSD » NetBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Howto fix grub after converting to reiserfs marc Debian 1 Tue Jul 11, 2006 9:30 pm
No new posts GRUB problems phoenix.ckelly@gmail.com Setup 5 Mon Jul 10, 2006 5:12 pm
No new posts GRUB advanced configuration elesser Setup 2 Thu Jul 06, 2006 6:55 pm
No new posts Grub couldn't use command "dump"? karl121212@163.com Setup 0 Thu Jul 06, 2006 9:57 am
No new posts Grub dual boot problem Weldon Wallick Suse 2 Wed Jul 05, 2006 2:43 pm

Loans | Myspace Layouts | Remortgaging | Debt Consolidation | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1745s ][ Queries: 16 (0.0541s) ][ GZIP on - Debug on ]