<br><br><div class="gmail_quote">On Sun, Dec 21, 2008 at 8:36 AM, Frank Millman <span dir="ltr"><<a href="mailto:frank@chagford.com">frank@chagford.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Mikkel L. Ellertson wrote:<br>
><br>
> Frank Millman wrote:<br>
> ><br>
> > Still no luck, I am afraid. This is what I have done.<br>
> ><br>
> > #chroot /mnt/sysimage.<br>
> ><br>
> > 'uname -r' shows 2.6.27.5-117.fc10.i586<br>
> ><br>
> > I ran 'mkinitrd -v /boot/test.img 2.6.27.5-117.fc10.i586'.<br>
> I put the<br>
> > -v in to see what was happening, but it just returns to the<br>
> prompt silently.<br>
> ><br>
> I think that should be:<br>
><br>
> mkinitrd -v /boot/test.img 2.6.27.5-117.fc10<br>
><br>
> (no .586)<br>
><br>
> > #ls /boot shows nothing - I don't think it is mounted.<br>
> ><br>
> easy fix - "mount /boot" after running chroot.<br>
><br>
> I am surprised that you did not get an error when it could<br>
> not find the kernel.<br>
><br>
> No modules available for kernel "2.6.27.5-117.fc10.i586"<br>
><br>
<br>
</div>Thanks for your patience, Mikkel. I think I am getting closer.<br>
<br>
I tried the suggestion of running 'yum update kernel' while in rescue mode<br>
on the second machine. It seemed to work, but it still would not boot.<br>
<br>
I put the drive back in the original machine, and it booted ok. The problem<br>
with X freezing seems to have gone away, so I will use it in this machine as<br>
originally intended. However, I would still like to complete the exercise of<br>
getting it to boot in the other machine. (Aarhg, I spoke to soon! I just<br>
tried it again and it has frozen. However, that is a topic for another<br>
thread ...)<br>
<br>
I ran 'yum update', which updated 53 packages. As mentioned I had previously<br>
run 'yum update kernel'. The kernel now seems to be 2.6.27.7-134.fc10.i686.<br>
However, uname -r still shows 2.6.27.5-117.fc10.i586. What is the official<br>
way of finding out which kernel is running?<br>
<br>
I ran mkinitrd on the original machine, just to see if it would work. If I<br>
type 'mkinitrd -v /boot/test.img 2.6.27.7-134.fc10' (without the .i686), I<br>
get the message 'No  modules available ...' If I include the '.i686', it<br>
works, and creates /boot/test.img.<br>
<br>
I don't know how to tell it to use the new image. Is there a way to change<br>
boot options without booting off the intstallation dvd and selecting 'rescue<br>
mode'? I did boot in rescue mode, and tried 'initrd=test.img' and<br>
'initrd=/boot/test.img', but in both cases it said it could not find<br>
test.img.<br>
<br>
You mentioned modifying grub.conf, but I do not have a grub directory in<br>
/boot at all. There is an an entry in /etc for grub.conf, but it is a link<br>
to /boot/grub/grub.conf, so it cannot find it.<br>
<br>
I then moved the HDD back to the second machine and booted in rescue mode.<br>
This time 'ls /boot' did show the contents correctly - the previous problem<br>
where it did not seem to be mounted has gone away. I ran mkinitrd and it<br>
worked, but I still don't know how to tell it to use the new image. I tried<br>
saving '/boot/initrd-2.6.27.7-134.fc10.i686.img', and then copying<br>
'test.img' over it, but when I tried booting normally I got the original<br>
<div class="Ih2E3d">error message -<br>
<br>
Volume group "VolGroup00" not found<br>
Unable to access resume device (/dev/VolGroup00/LogVol01)<br>
mount: error mounting /dev/root on /sysroot as ext3: No such file or<br>
directory<br>
<br>
</div>I suspect that I am closer, and my problem now is that I don't know how to<br>
tell it to use the new image. Hopefully someone can give me a nudge in the<br>
right direction.<br>
<br>
</blockquote><div><br><br>What does <br><br>rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.{ARCH}\n"|grep kernel|sort<br><br>return? <br><br>Also, what do you have in /etc/grub.conf? <br></div></div><br clear="all">
<br>-- <br>Paulo Roma Cavalcanti<br>LCG - UFRJ<br>