Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-28-2004, 05:47 PM   #1
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
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
which bring me to the grub prompt (grub>).
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
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
grub-install --root-directory=/boot /dev/hdb
yes as answer to the previous command
Old 04-28-2004, 08:13 PM   #3
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/
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 !

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


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 / openSUSE 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 > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:52 PM.

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