Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB reinstalling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
SmokeX
n00b
n00b


Joined: 28 Jul 2003
Posts: 40

PostPosted: Fri Aug 15, 2003 11:14 am    Post subject: GRUB reinstalling Reply with quote

lo :)
i've just upgraded my motherboard & proccessor on my gentoo box,
but when i'm trying to boot, i'm getting a screen full of "GRUB GRUB"
insted of the grub shell
i had to boot trough installation cd,
and now, when i'm trying to
#grub-install /dev/hdb1
(which i mounted as boot, i already did the chroot to get into my own files,
and i'd mounted all drives)
i'm getting the following
df: '/proc/bus/usb' : No such file or directory
Could not find device for /boot: Not found or not a block device.

my question is, is there any way to reinstall GRUB?
or how may i format /dev/hdb1? (i backed-up my bzImages)
and sould i recompile kernel, and if i do, do i need to use "make clean"
or i can use the old modules?

10x to all helpers
:D
SmokeX
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Fri Aug 15, 2003 12:06 pm    Post subject: Re: GRUB reinstalling Reply with quote

SmokeX wrote:
lo :)
i've just upgraded my motherboard & proccessor on my gentoo box,
but when i'm trying to boot, i'm getting a screen full of "GRUB GRUB"
insted of the grub shell
i had to boot trough installation cd,
and now, when i'm trying to
#grub-install /dev/hdb1
(which i mounted as boot, i already did the chroot to get into my own files,
and i'd mounted all drives)
i'm getting the following
df: '/proc/bus/usb' : No such file or directory
Could not find device for /boot: Not found or not a block device.

Did you mount proc before you entered the chroot?
[quote]my question is, is there any way to reinstall GRUB?
or how may i format /dev/hdb1? (i backed-up my bzImages)
and sould i recompile kernel, and if i do, do i need to use "make clean"
or i can use the old modules?[quote]
You probably won't need to re-emerge grub. Just reconfigure it. You'll probably need to compile a new kernel for your new mothboard/processor features. You will need to compile new modules with that kernel. Just configure the kernel you want to use (Wich you will have symlinked to /usr/src/linux) and do
Code:
make dep && make clean bzImage modules modules_install


Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
SmokeX
n00b
n00b


Joined: 28 Jul 2003
Posts: 40

PostPosted: Fri Aug 15, 2003 4:50 pm    Post subject: Reply with quote

i have no configure for my GRUB except:
Code:

default 0
timeout 10
title=BoX

i'm choosing my kernel while booting, using the GRUB shell
Code:

grub> kernel /bzImage
grub> boot

but i think the problem is not in the kernel (yet) coz it not yet loaded.
when i'm booting from HD, i get my screen filled with "GRUB "
and it all gets stuck.
i tried to resetup grub:
Code:

grub> root (hd0,0)
grub> setup (hd0)

it says that grub has been installed, but it's useless...i get the same
annoying "GRUB GRUB GRUB GRUB GRUB" screen.

how can i format hdb1, and deleting it's MBR?
so i could really get a fresh setup of grub...

10x,
SmokeX
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum