View previous topic :: View next topic |
Author |
Message |
DePairet Guest
|
Posted: Sat Jun 29, 2002 11:32 am Post subject: grub boot problem |
|
|
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
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Jun 29, 2002 4:29 pm Post subject: |
|
|
can you post your menu.lst file? Located under /boot/grub _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
DePairet Guest
|
Posted: Sat Jun 29, 2002 11:14 pm Post subject: grml |
|
|
oke, i tested some hardware configurations with my hds.
my problem has nothing to do with grub (lilo does the same )
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
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Jun 29, 2002 11:28 pm Post subject: |
|
|
What do you mean by "grub isnt initialized"? Could you post your error message exactly? |
|
Back to top |
|
|
hxa dismal Guest
|
Posted: Sun Jun 30, 2002 12:22 am Post subject: boot confusion |
|
|
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
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Jun 30, 2002 12:54 am Post subject: Re: grml |
|
|
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 |
|
|
hxa dismal Guest
|
Posted: Sun Jun 30, 2002 12:58 am Post subject: redirection |
|
|
" Delta407"
You could have explained why
Check in w/flight control B4 creating turbulence
-----------------------------------
Rankings are subjective |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sun Jun 30, 2002 2:15 am Post subject: Re: grml |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Jun 30, 2002 3:09 am Post subject: Re: grml |
|
|
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 |
|
|
DePairet Guest
|
Posted: Sun Jun 30, 2002 9:15 am Post subject: hm |
|
|
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
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Sun Jun 30, 2002 10:48 pm Post subject: |
|
|
I believe running lilo or grub is the equivalent. just rewrites the boot sector with all the new junk. |
|
Back to top |
|
|
miki Guest
|
Posted: Mon Jul 01, 2002 7:00 am Post subject: I have a big problem |
|
|
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
Joined: 25 Jun 2002 Posts: 26 Location: Netherlands
|
Posted: Mon Jul 01, 2002 8:20 am Post subject: Re: I have a big problem |
|
|
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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Mon Jul 01, 2002 4:33 pm Post subject: |
|
|
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 |
|
|
|