Subject: | |
From: | |
Reply To: | |
Date: | Tue, 28 Apr 2015 19:25:59 +0200 |
Content-Type: | multipart/alternative |
Parts/Attachments: |
|
|
Hi,
Yes, I'm aware of this and this is what I checked first. In fact, I
removed the initrd from the directory where vmlinuz was located and it
produced an error during PXE boot. Thus I am confident that I am using
the intended vmlinuz and initrd. What really worries me is that the end
result, just after the %pre script (the pb is the same is the script is
empty), is that /lib/modules contains modules for an older kernel
version... The only possibility for me would be to have the old initrd
version (7.0) but I don't even have it on my system!
Cheers,
Michel
Le 28/04/2015 19:20, Stephen John Smoogen a écrit :
>
> I ran into this with upstream last week:
> http://smoogespace.blogspot.com/2015/04/note-to-future-self-random-problems.html
>
> The kernel and initrd.img must be the kernel and initrd.img that is in
> the version being used in the pivot root (eg if you have 7.0 kernel
> and 7.1 kernel). This was because the pxe boot was referring to an old
> kernel that I didn't realize until I checked what exactly the pxe
> server had.
>
> On 24 April 2015 at 10:52, Michel Jouvin <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
> I double-checked the kernel version used and the kernel version of
> the modules provided by initrd (using lsinitrd, I should have done
> it before) with SL 7.1: in fact, they are both the same,
> 3.10.0.229 <tel:3.10.0.229>. But when PXE booting vmlinuz+initrd,
> I end up with kernel modules for 3.10.0.123 <tel:3.10.0.123>
> (version from 7.0) in /lib/modules... How this is possible? I
> removed the initrd file checked with lsinitrd to ensure that I was
> getting an error when booting about the missing file so I am
> really using this initrd file...
>
> I am lost... Any idea is welcome!
>
> Michel
>
>
> Le 24/04/2015 17:52, Michel Jouvin a écrit :
>
> Hi,
>
> I don't know if this is related in some ways to the other
> recent thread about "SL 7.1, PXE install". I'm struggling with
> SL7.1 (and I have the same pb with CentOS 7.1) when trying to
> do a PXE install of a machine using the last versions of
> images/pxeboot/vmlinuz and initrd.img. The install fails when
> trying to set the default filesystem type to XFS (that I don't
> use on this machine) because the xfs module is not found.
> Looking at console (ALT/F2), I saw that the kernel version
> provided by vmlinuz (uname -r) is not matching the kernel
> version for which modules are provided in initrd
> (/lib/modules). If I take vmlinuz and initrd from SL7.0 I
> don't see the problem (but I am not sure I can install 7.1
> booting with vmlinuz/initrd from 7.0).
>
> Is it expected ? Am I doing a trivial mistake ? Or is there an
> issue ?
>
>
>
>
> --
> Stephen J Smoogen.
>
|
|
|