Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub boot problem
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
DePairet
Guest





PostPosted: Sat Jun 29, 2002 11:32 am    Post subject: grub boot problem Reply with quote

Hi,

my setup:
pri master: hd
sec master: hd
pri slave: hd
sec slave: cd

ive installed grub sucsessful on my first hd (hda1 boot, hda2 root) but when i boot my system,
grub isnt initialized, and my sys doesnt boot.
if i disconnect my second hd (sec master) everything works fine again.

i hope anybody can help me, sorry for my english :)
Back to top
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Jun 29, 2002 4:29 pm    Post subject: Reply with quote

can you post your menu.lst file? Located under /boot/grub
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
DePairet
Guest





PostPosted: Sat Jun 29, 2002 11:14 pm    Post subject: grml Reply with quote

oke, i tested some hardware configurations with my hds.
my problem has nothing to do with grub (lilo does the same :D)
if i have my second or third (doesnt matter how you call it *g*) is connected my system does not boot correctly from hda but from THIS disk.
could a existing boot mbr(?!?) on this disk create the problem?

im getting really desparate here :(
Back to top
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jun 29, 2002 11:28 pm    Post subject: Reply with quote

What do you mean by "grub isnt initialized"? Could you post your error message exactly?
Back to top
View user's profile Send private message
hxa dismal
Guest





PostPosted: Sun Jun 30, 2002 12:22 am    Post subject: boot confusion Reply with quote

Either grub or lilo, if configured correctly would have displaced
a previous boot sector

suggest you check jumpers of hard /drives, or do you use
cable select ?

Double check cables positions at M/board end

You put a new spin on "dual booting"
-----------------------------------------------
Zen for the masses - waiting for command prompt
Back to top
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jun 30, 2002 12:54 am    Post subject: Re: grml Reply with quote

DePairet wrote:
oke, here comes my menu.lst:


default 0
timeout 5
title=Gentoo
root (hd0,0)
kernel /boot/bzImage root=/dev/hda2

nothing nerve-racking, heh? icon_biggrin.gif

root(hd0,0) is pointing to the first HD and first partition on that disk.
root=/dev/hda2 should point to the partition containing /boot.
You might post your partition setup.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
hxa dismal
Guest





PostPosted: Sun Jun 30, 2002 12:58 am    Post subject: redirection Reply with quote

" Delta407"

You could have explained why
Check in w/flight control B4 creating turbulence
-----------------------------------
Rankings are subjective
Back to top
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sun Jun 30, 2002 2:15 am    Post subject: Re: grml Reply with quote

kanuslupus wrote:
root=/dev/hda2 should point to the partition containing /boot.
You might post your partition setup.


No, root=/dev/... should point to your root partition. root (hd_,_) should point to your boot partition.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jun 30, 2002 3:09 am    Post subject: Re: grml Reply with quote

delta407 wrote:
kanuslupus wrote:
root=/dev/hda2 should point to the partition containing /boot.
You might post your partition setup.


No, root=/dev/... should point to your root partition. root (hd_,_) should point to your boot partition.
Damn! I had a feeling I was going to mix those up.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
DePairet
Guest





PostPosted: Sun Jun 30, 2002 9:15 am    Post subject: hm Reply with quote

oke you guys here comes my /etc/fstab:
/dev/hda1 /boot ext2
/dev/hda2 / ext3
/dev/hda3 none swap


i have no time right now to check the jumpers but ill post the sequense in with my bios detects the hds:
first my root hd (correct)
pri slave is now my cdrom (i changed the configurasation while testing)
sec master another hd (this one screws up the boot progress)
sec slave my thirds hd (nothing special *g*)

is there a way to format the mbr in linux?
Back to top
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Sun Jun 30, 2002 10:48 pm    Post subject: Reply with quote

I believe running lilo or grub is the equivalent. just rewrites the boot sector with all the new junk.
Back to top
View user's profile Send private message
miki
Guest





PostPosted: Mon Jul 01, 2002 7:00 am    Post subject: I have a big problem Reply with quote

In the grub instalation i have very big problems: ok.

hda1=(hd0,0) (swap)
hda2=(hd0,1) (/boot)
hda3=(hd0,2) (/)
hda4=(hd0,3) (/home)

grub> root (hd0,3)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists...no
Checking if "/grub/stage1" exists...no

Error 15: File not found
Note: emerge --usepkg system (is completed and installed)

What is the problem?
Back to top
flater
n00b
n00b


Joined: 25 Jun 2002
Posts: 26
Location: Netherlands

PostPosted: Mon Jul 01, 2002 8:20 am    Post subject: Re: I have a big problem Reply with quote

miki wrote:
In the grub instalation i have very big problems: ok.

hda1=(hd0,0) (swap)
hda2=(hd0,1) (/boot)
hda3=(hd0,2) (/)
hda4=(hd0,3) (/home)

grub> root (hd0,3)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists...no
Checking if "/grub/stage1" exists...no

Error 15: File not found
Note: emerge --usepkg system (is completed and installed)

What is the problem?


the grub> root (hd0,3) command is invalid.
The root command in grub should point to your boot partition, not the root partition. In your case, as hd(0,1) is the boot partition, give the command root (hd0,1) and after that setup (hd0).
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Mon Jul 01, 2002 4:33 pm    Post subject: Reply with quote

you might also need to edit your
grub> kernel /..... to
grub> kernel (hd0,1)/boot/.... root.......
or depending where your kernel is ls /boot krnlimg /boot ,meaning your kernel isnt under/in /boot then
grub> kernel (hd0,1)/vmlinuz root..... ( or bzImage or what ever its named)
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