View previous topic :: View next topic |
Author |
Message |
joshua Tux's lil' helper
Joined: 19 Jun 2002 Posts: 134 Location: Wiesbaden
|
Posted: Wed Jun 19, 2002 9:54 am Post subject: Grub: "Error 22: No such partition" |
|
|
Hi there!
This one seems very strange to me. First of all I have an ASUS A7V board with integrated 2nd IDE-controller Promise Ultra 100 and one 60Gb HD attached to it - no additional harddisks, just this one. So I started installing Gentoo exactly following the instructions - highly impressed, I love the installation so far. After partitioning, creation of filesystems and mounting I'm now at installing grub, which does not work for me at all.
I have the following partitions:
- /dev/hde1 ext3 mounted as /boot
- /dev/hde2 ntfs (unmounted)
- /dev/hde4 swap mounted as swap
- /dev/hde5 xfs mounted as /
- /dev/hde6 ntfs (unmounted)
Oh, and /boot/boot links to /boot
What I want to do now is to install grub into the MBR of /dev/hde, which should be named (hd0) inside of grub, because it is the one and only (that is: first) harddisk in my system (please don't answer "use (hd4)!", because that won't work for sure!).
As the instruction says I start grub and typed:
Code: |
grub> root (hd0,0)
Filesystem is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 d (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed
Error 22: No such partition
grub>
|
So now I don't understand, how grub can access (hd0,0) but not (hd0) ? What it actually did is, it killed my old lilo ("LI" at bootup), which was my intention, but does not install itself.
Thanks for help
joshua |
|
Back to top |
|
|
joshua Tux's lil' helper
Joined: 19 Jun 2002 Posts: 134 Location: Wiesbaden
|
Posted: Wed Jun 19, 2002 10:25 am Post subject: Solved it |
|
|
No idea how, but i just did the installation again - without the emerge and build steps. now it works. Strange ... maybe I mistyped sth. |
|
Back to top |
|
|
joshua Tux's lil' helper
Joined: 19 Jun 2002 Posts: 134 Location: Wiesbaden
|
Posted: Wed Jun 19, 2002 1:32 pm Post subject: ... and ran into it again |
|
|
rebooted, had to reinstall grub, same error as above (see first post).
any ideas? |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Wed Jun 19, 2002 2:29 pm Post subject: |
|
|
can u post your menu.lst file ?
where did you put it?
it find /boot fine - so the problem's not there.. it says:
"(hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed " |
|
Back to top |
|
|
joshua Tux's lil' helper
Joined: 19 Jun 2002 Posts: 134 Location: Wiesbaden
|
Posted: Wed Jun 19, 2002 2:43 pm Post subject: maybe ... |
|
|
... maybe it's because I had still chroot'ed to /mnt/gentoo, after i did
Code: |
exit
grub
... same as above ...
|
it worked again.
that's strange in my eyes, but It might to be supposed to work this way and I did not read the docs carefully enough? I think there is nothing special about my menu.lst, it's:
Code: |
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Linux
root (hd0,0)
kernel /bzImage root=/dev/hde5
title=Windows 2000
root (hd0,1)
chainloader +1
|
Anyway, now it works and I'm glad, I did not switch back to lilo, grub is really nice.
Needles to tell all you Gentoos that Gentoo rocks. But it does, and I have to say it. Gentoo ROCKS!
Thank you, I'm sorry for troublemaking ...
Have a nice day!
joshua |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Wed Jun 19, 2002 3:14 pm Post subject: |
|
|
nps - glad you got it all worked out, and yeah gentoo DOES rock!
|
|
Back to top |
|
|
|
|
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
|
|