You are not logged in.

#1 2005-10-30 16:12:30

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

[SOLVED]initrd cant find file

Well, I upgraded to the latest kernel on one of my machines, and think GOD I test before rolling out to all my servers, because the upgrade didnt work.

I guess you all want to start using initrd (Why, I have NO idea), well, that is fine, I will roll my own kernels from now on.

How ever, there seem to be a little problem I am having with the standard ARCH kernel. It is not finding my initrd26.img file that is sitting right there in my /boot.

In my menu.lst for grub, I have added the line (As per the instructions)

initrd (hd0,0)/boot/initrd26.img

And, yes, hd0,0 is the correctlocation for my boot partition on the only hard drive I have.

Now, when I boot, I get Error 15: File Not Found.

No matter where I tell it the initrd25.img file is located, it cant find it.

Anyone know how to fix this?

Thanks!!!

Offline

#2 2005-10-30 16:24:27

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [SOLVED]initrd cant find file

I'm not sure, but do you actually need that (hd0,0)? Try 'initrd /boot/initrd26.img'.

The best way to check out things is to use the built-in grub command line.

Offline

#3 2005-10-30 16:28:21

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: [SOLVED]initrd cant find file

I have tried everything...

/dev/hda1
/boot/
/dev/discs/dics0/part1
(hd0,0)

nothing works and when I boot to the install cd and mount my boot partition, I can see the file sitting there as plain as day.

Thanks for the reply!!!

Offline

#4 2005-10-30 16:34:01

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: [SOLVED]initrd cant find file

All right, now this pisses me off.

You couldn't have possibly upgraded to the latest stock kernel because the kernel you are describing is the kernel topwa just moved into testing 10 hours. The reason it was moved into testing is because its the first attempt to use initrd and his announcement on these very forums caution it.

I've yet to try this kernel but, I believe you must configure /etc/initrd.conf and then run mkinitrd auto or something to make the proper image.

There's a link to the bug tracker on that very announcement you may want to file a bug report so he can fix it.

Offline

#5 2005-10-30 16:40:24

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: [SOLVED]initrd cant find file

Penguin wrote:

All right, now this pisses me off.

You couldn't have possibly upgraded to the latest stock kernel because the kernel you are describing is the kernel topwa just moved into testing 10 hours. The reason it was moved into testing is because its the first attempt to use initrd and his announcement on these very forums caution it.

I've yet to try this kernel but, I believe you must configure /etc/initrd.conf and then run mkinitrd auto or something to make the proper image.

There's a link to the bug tracker on that very announcement you may want to file a bug report so he can fix it.

Well, it is the 2.6.14 kernel. I do, however, have testing enabled in my pacman.conf file, so I may have recieved the broken kernel.

Well, I will just copy a different kernel to the machine and go from there. Once I get that back up, I will file a bug report.

Thanks...

Offline

#6 2005-10-30 16:40:53

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [SOLVED]initrd cant find file

What i found was when I had edited the menu.lst grub didn't pick up the change for some reason?

the correct command is :-


initrd /boot/initrd26.img

on next boot press e to edit your option and see if the second line appears if not there is your answer type it in manually to boot then edit the file again...

title  Arch Linux
root   (hd0,7)
kernel /boot/vmlinuz26 root=/dev/hda8 ro vga=773 video=intelfb:off
intird /boot/initrd26.img

thats it it works....

Offline

#7 2005-10-30 17:00:34

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: [SOLVED]initrd cant find file

Yeah, I tried that and it still said file not found.

I will play with it and see what I can do to get it up. I was going to copy a good kernel and modules to the machine and get it up.

Thanks!!!

Offline

#8 2005-10-30 17:43:23

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: [SOLVED]initrd cant find file

OK, the proper line is

initrd /initrd26.img

And that wors like a charm...

Offline

#9 2005-10-30 18:09:55

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: [SOLVED]initrd cant find file

EmbraceThePenguin wrote:

OK, the proper line is

initrd /initrd26.img

And that wors like a charm...

Seperate boot partition?

Offline

#10 2005-10-30 18:34:16

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: [SOLVED]initrd cant find file

Yeah, I have boot on sda1 (Sata drive).

I suppose that would have been something good to put in the original message... Sorry about that.


Joe

Offline

#11 2005-10-30 18:40:28

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [SOLVED]initrd cant find file

yep the .install file warns it is only tested for ide...

Offline

#12 2005-10-30 19:00:45

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: [SOLVED]initrd cant find file

Yeah, I was confused yet again. My test machine is PATA, not SATA. My main machine is SATA.

I will wait to update my main SATA machine till all the bugs are worked out wink

Offline

Board footer

Powered by FluxBB