LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-28-2004, 05:47 PM   #1
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
Grub setup problem (/boot/grub/stage1 not found)


My partition layout is as follows:

hdb1 - hdb9 contains linux of other distributions.

/dev/hdb10 /boot
/dev/hdb11 /

I install Grub via
Code:
apt-get install grub
However, I notice stage1, stage2, *stage1_5 files are not in /boot/grub. In fact, the grub directory is not even there. So I created /boot/grub and copy the files stage1, stage2 and various *stage1_5 into /boot/grub. Afterwhich, as root, I run
Code:
grub
which bring me to the grub prompt (grub>).
Code:
grub> find /boot/grub/stage1
returns the Errror that it cannot be found. However, I can locate stage1 in /boot/grub/ by 'ls' and 'locate'.

Any advice, please?

Thanks !
 
Old 04-28-2004, 06:44 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
grub-install --root-directory=/boot /dev/hdb
update-grub
yes as answer to the previous command
 
Old 04-28-2004, 08:13 PM   #3
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Original Poster
Rep: Reputation: 30
david:/boot# grub-install --root-directory=/boot /dev/hdb
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /boot/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb

Also, I have /boot/boot/grub directory after running grub-install --root-directory=/boot /dev/hdb. Is that correct?

How do I put GRUB into the boot sector of a partition instead of putting it in the MBR via grub-install? I'm using W2kpro to allow me to choose the OS I want to load.

Thanks !

Quote:
Originally posted by mrcheeks
grub-install --root-directory=/boot /dev/hdb
update-grub
yes as answer to the previous command
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
Grub theme not shown/found by grub...please help.. deepclutch Debian 4 11-30-2005 05:33 PM
grub error 21 stage1.5 wxman2 Suse/Novell 2 08-27-2005 10:45 AM
grub Error 6:Mismatched o corrupt version of stage1/stage 2 mikmok Linux - General 2 03-02-2004 11:52 AM


All times are GMT -5. The time now is 05:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration