Results 1 to 10 of 11
I've been chipping away at this rock best as I can, but I don't know what to do here:
Per instructions, from /root , I start grub. I did 'root ...
- 07-19-2004 #1Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Almost installed, problems in GRUB
I've been chipping away at this rock best as I can, but I don't know what to do here:
Per instructions, from /root , I start grub. I did 'root (hd0,1)' and got a favorable response. Then I did 'setup (hd0)' and I got this:Okay. I think grub is checking the wrong directory, but I don't know if (or how) I should re-direct grub, or if I need to move a directory: /mnt/gentoo/boot/grub/ has files that appear to be where grub should look. This directory includes:Code:Checking if "/boot/grub/stage1" exists... no Checking if "/grub/`stage1" exists... no
(various filesystems)_stage1_5
grub.conf.sample
menu.lst
splash.xpm.gz
stage1
stage2
Note that I have a /boot partition. I've come too far to screw this up now: any thoughts?
- 07-19-2004 #2Linux User
- Join Date
- Jun 2003
- Location
- Huntington Beach, CA
- Posts
- 390
That's a normal output, don't worry about it. And if you're chrooted into the system, /boot/grub is the correct path, not /mnt/gentoo/boot/grub.
- 07-19-2004 #3Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
I think I see what's up, but my mind is bloown:
I've been doing the install on vc1 while reading the install manual on vc2 and using vc3 and vc4 for finding, cat-ing and ls-ing files, trying to follow what's happening. I just discovered that ls on vc1 is different from that on vc3 and vc4. If I understand, that's because I chroot-ed on vc1 only, so I have a different directory structure. Right? Too wild! Thanks for your help.
- 07-19-2004 #4Yes.
Originally Posted by drakebasher
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 07-23-2004 #5Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Gotta love GRUB
I beg to differ. The response that I called "favorable" was that GRUB told me I had pointed it to an ext2fs. I thought that that meant /boot since I had set-up /boot as ext2 and all other partitions as ext3. I now recognize that ext3 and ext2 are indistinguishable to GRUB. I had erroneously pointed GRUB to /root because I naively believed that what GRUB meant by "root" was "root" and not "boot". I guess I should have taken a clue from hd"first"=hd"one minus one" and that hd"cdrom" doesn't count and sda=hd??
Originally Posted by Dillinger
So that's sour grapes. Now (after having followed Gentoo's handbook pretty nearly meticulously) when I boot I do get the pleasure of their splash screen, but I miss the wonder of it all when I'm told that Gentoo can't find the init file. Okay, I wondered what was up when the handbook suggested that users of genkernel needed the initrd line in the grubconf but left it to our imagination for non-genkernel users.
Back to the point: The install is complete except for booting. I have found a file named initrd-2.6.5-gentoo. Note that it lacks the .img extension. It is a binary file. The grub.conf file is complete and, I believe, correct, except for the pointer to initrd. Do I need to do something to process the initrd file which lacks .img? I already tried:Note the addition of the .img extension and that the /tmp/boot directory puts it to the correct partition.Code:cp /initrd-2.6.5-gentoo /tmp/boot/initrd-2.6.5-gentoo.img
In absence of above, if I choose to follow the kernel's instructions:what, exactly would be the phrasing?Code:Kernel panic: No init found. Try passing init= option to kernel.
Guidance will be greatly appreciated.
- 07-23-2004 #6
- 07-24-2004 #7
i think i had to much to drink.....or did i just read what i did (.img?)? so i will sleep on it.....

I geuss the question is did you use genkernel or not?
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 07-24-2004 #8Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
I did not use genkernel. In the installation manual, section 9.b. on installing grub, they show different grubs depending on whether genkernel was used or not and if not, they don't show a line for initrd. I guess that means that starting from stage 1 or 2 will include all of the initrd instructions in the kernel? So that's why I'm confused as to why the kernel panic message says that init can't be found.... Any background you can offer will be welcomed.
- 07-24-2004 #9
- 08-26-2004 #10Just Joined!
- Join Date
- Aug 2004
- Posts
- 21
Can you boot from the livecd, chroot in, and post your grub.conf?


Reply With Quote
