View previous topic :: View next topic |
Author |
Message |
BeyondFate n00b
Joined: 29 Mar 2003 Posts: 53
|
Posted: Mon Mar 31, 2003 2:51 am Post subject: So Close |
|
|
Hi all,
I started with Stage1 last night and have gone through the install process. Where I am stuck is in editing /etc/lilo.conf
I put in the information:
boot=/dev/hde1 (hde is correct for my setup)
map=/boot/map
install=/boot/boot.b
prompt
timeout=3
lba32
default=Gentoo
image=/boot/vmlinuz-2.4.20 (this is the line that gives me errors)
label=Gentoo
read-only
root=/dev/hde3
When i then run /sbin/lilo I get a fatal: open /boot/vmlinuz-2.4.20 No file/dir
image is supposed to point to my kernel to boot. if the name of my kernel isn't vmlinuz-2.4.20 then how can i find it and put the correct name here?
everything else up until this point has worked, and i am understanding what i am doing so far which is good.
Thanks in advance,
BF |
|
Back to top |
|
|
therobot Apprentice
Joined: 07 Jun 2002 Posts: 256 Location: Canada
|
Posted: Mon Mar 31, 2003 2:53 am Post subject: |
|
|
if you followed all the instructions, it should be named bzImage |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Mar 31, 2003 2:54 am Post subject: |
|
|
What do you get when you "ls -l /boot" ? |
|
Back to top |
|
|
BeyondFate n00b
Joined: 29 Mar 2003 Posts: 53
|
Posted: Mon Mar 31, 2003 2:55 am Post subject: |
|
|
Sorry, i forgot (important?) information. The kernel i emerged was Gentoo-source
thanks |
|
Back to top |
|
|
BeyondFate n00b
Joined: 29 Mar 2003 Posts: 53
|
Posted: Mon Mar 31, 2003 3:00 am Post subject: |
|
|
You 2 are FAST!
I tried bzImage, no luck, same error.
When i run ls -l /boot:
lrwxrwxrwx 1 root root boot-> .
-rw-r--r-- 1 root root boot-bmp.b
-rw-r--r-- 1 root root boot-menu.b
-rw-r--r-- 1 root root boot-text.b
lrwxrwxrwx 1 root root boot.b -> boot-menu.b
-rw-r--r-- 1 root root chain.b
drwxr-xr-x 1 root root grup
drwx------ 1 root root lost+found
-rw-r--r-- 1 root root mbr.b
-rw-r--r-- 1 root root os2_d.b
whew, a pain to type that out.. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Mar 31, 2003 3:33 am Post subject: |
|
|
After you compile a kernel, you need to copy it to /boot
Code: | # cp /usr/src/linux/arch/i386/boot/bzImage /boot |
Then rerun /sbin/lilo to make it bootable. |
|
Back to top |
|
|
BeyondFate n00b
Joined: 29 Mar 2003 Posts: 53
|
Posted: Mon Mar 31, 2003 3:40 am Post subject: |
|
|
I compliled the kernel, using menuconfig per the instructions. it worked great, i choose the parts I wanted to be included, it was great.
when i exited, i was careful to save it. now, when i go in the /usr/src folder, it is empty. Seems i don't have the kernel i configured available to copy over...
any ideas why that would be missing? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Mar 31, 2003 4:02 am Post subject: |
|
|
"make menuconfig" just sets up your .config file
Now you have to compile :
Code: | # make dep && make clean bzImage modules modules_install |
|
|
Back to top |
|
|
BeyondFate n00b
Joined: 29 Mar 2003 Posts: 53
|
Posted: Mon Mar 31, 2003 4:10 am Post subject: |
|
|
i did that, i swear! i am trying different things now, i did find the bzImage and copy it over. i hadnt chroot'ed into my installation, i was still on the CD.
i emerge-C lilo and emerge grub to try that. not working yet, but iam plugging away at it. i think since i am on an ATA controller (onboard) it is giving me a bit more in the way of difficulties. never easy huh? |
|
Back to top |
|
|
BeyondFate n00b
Joined: 29 Mar 2003 Posts: 53
|
Posted: Mon Mar 31, 2003 4:20 am Post subject: |
|
|
well, i almost go it. grub boots up a bunch of stuff now. then, my kernel panics.
kernel panic: VFS: unable to mount root fs on 00:00
Please append a correct "root" boot option
VFS: Can not open root device "dev/hde3" or 00:00
I have some playing around to do, but my hard drive IS on hde
(ATA IDE onboard Controller)
hde1 -> boot
hde2 -> swap
hde3 -> root
my DVD drive, not on the onboard controller, is hda
and my cdburner, not on the onboard controller, is hdc.
getting closer and closer... |
|
Back to top |
|
|
BeyondFate n00b
Joined: 29 Mar 2003 Posts: 53
|
Posted: Mon Mar 31, 2003 4:25 am Post subject: |
|
|
for my filesystems, i used ext3 for the boot and reisierfs for my root.
could the filesystem be the problem? (ie, i forgot an arg for it in fstab or something?)
In watching it boot up carefully, it looks like my ATA Controller is seen and setup although its hard to tell with all the text whizzing by. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Mar 31, 2003 4:29 am Post subject: |
|
|
It could be a typo :
Quote: | VFS: Can not open root device "dev/hde3" or 00:00 |
Try "/dev/hde3" instead of "dev/hde3" |
|
Back to top |
|
|
BeyondFate n00b
Joined: 29 Mar 2003 Posts: 53
|
Posted: Mon Mar 31, 2003 4:35 am Post subject: |
|
|
YES!!!
A typo it was! I am in now (for the first time..exciting!)
cyrillic, i could kiss you
THANK YOU! |
|
Back to top |
|
|
|