Results 1 to 5 of 5
When I boot using PXE Boot into openSuse, from the menu, I get an error saying 'invalid or corrupt kernel image'. The initrd.img file, and vmlinuz file were both copied ...
- 05-14-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 3
PXE Booting openSUSE, gives ‘invalid or corrupt image’
When I boot using PXE Boot into openSuse, from the menu, I get an error saying 'invalid or corrupt kernel image'. The initrd.img file, and vmlinuz file were both copied from a openSUSE 11.2 system, which is what I'm trying to setup PXE Boot for. PXE Boot works fine, dhcpd, and tftpd both work fine, the box receives an ip, it is directed to the proper file which I know by viewing the log file /var/log/messages, they are at the bottom so you can see them.
=================================
ll /boot/vmlinuz lrwxrwxrwx 1 root root 28 May 12 20:46 /boot/vmlinuz -> vmlinuz-2.6.31.5-0.1-default ll /boot/initrd lrwxrwxrwx 1 root root 27 May 12 21:25 /boot/initrd -> initrd-2.6.31.5-0.1-default
initrd.img and vmlinuz were copied from initrd-2.6.31.5-0.1-default and vmlinuz-2.6.31.5-0.1-default respectively
=================================
tree suse suse -- 11.2 |-- i586 | |-- initrd.img |-- vmlinuz `-- x86_64
3 directories, 2 files
======================
pxlinux.cfg
timeout 300 default menu.c32 prompt 0
menu title PXE Menu
label Boot openSuse 11.2 i586 menu label Boot openSuse 11.2 kernel suse/11.2/i586/vmlinuz append initrd=suse/11.2/i586/initrd.img
========================
/var/log/messages
May 13 21:23:58 edna in.tftpd[16342]: RRQ from 10.0.0.254 filename linux-install/pxelinux.0 May 13 21:23:58 edna xinetd[10467]: START: tftp pid=16341 from=10.0.0.254
May 13 21:23:58 edna in.tftpd[16342]: tftp: client does not accept options
May 13 21:23:58 edna in.tftpd[16343]: RRQ from 10.0.0.254 filename linux-install/pxelinux.0 May 13 21:23:58 edna in.tftpd[16344]: RRQ from 10.0.0.254 filename linux-install/pxelinux.cfg/20c6a714-806d-d711-b751-000bcd89309d
May 13 21:23:58 edna in.tftpd[16345]: RRQ from 10.0.0.254 filename linux-install/menu.c32 May 13 21:23:58 edna in.tftpd[16346]: RRQ from 10.0.0.254 filename linux-install/pxelinux.cfg/20c6a714-806d-d711-b751-000bcd89309d
May 13 21:24:01 edna in.tftpd[16350]: RRQ from 10.0.0.254 filename linux-install/suse/11.2/i586/vmlinuz
May 13 21:25:58 edna dhcpd: Dynamic and static leases present for 10.0.0.254.
May 13 21:25:58 edna dhcpd: Remove host declaration pxeboot or remove 10.0.0.254
May 13 21:25:58 edna dhcpd: from the dynamic address pool for name
May 13 21:25:58 edna dhcpd: DHCPREQUEST for 10.0.0.254 from 00:0b:cd:89:30:9d via eth0 May 13 21:25:58 edna dhcpd: DHCPACK on 10.0.0.254 to 00:0b:cd:89:30:9d via eth0
May 13 21:39:01 edna xinetd[10467]: EXIT: tftp status=0 pid=16341 duration=903(sec)
- 05-14-2010 #2Linux Newbie
- Join Date
- Mar 2007
- Posts
- 139
What are you exactly doing?
Insofar I know PXE-boot is used to boot a computer on which no OS is installed.
You boot via the network from another computer which is set-up as a PXE-boot server.
The computer on which you boot must have the BIOS ability to boot as PXE-boot.
So PXE is not for booting a computer on which suse already is installed.
- 05-14-2010 #3Just Joined!
- Join Date
- May 2010
- Posts
- 3
Okay,I know exactly what PXE Boot is used for, right now it's setup to boot for multiple CentOS and multiple Fedora versions.
openSuse being on the laptop currently has nothing to do with me trying to run an openSuse install from my PXE Boot server, I was merely giving information as to where I got the initrd.img and vmlinuz files.
- 05-14-2010 #4Just Joined!
- Join Date
- May 2010
- Posts
- 3
cleanup of the above data
Heres a cleanup of the above data. As well as the inclusion of a tcpdump during the pxeboot process.
When I boot using PXE Boot into openSuse, from the menu, I get an error saying 'invalid or corrupt kernel image'. The initrd.img file, and vmlinuz file were both copied from a openSUSE 11.2 system, which is what I'm trying to setup PXE Boot for. PXE Boot works fine, dhcpd, and tftpd both work fine, the box receives an ip, it is directed to the proper file which I know by viewing the log file /var/log/messages, they are at the bottom so you can see them.
When I boot using PXE Boot into openSuse, from the menu, I get an error saying 'invalid or corrupt kernel image'. The initrd.img file, and vmlinuz file were both copied from a openSUSE 11.2 system, which is what I'm trying to setup PXE Boot for. PXE Boot works fine, dhcpd, and tftpd both work fine, the box receives an ip, it is directed to the proper file which I know by viewing the log file /var/log/messages, they are at the bottom so you can see them.
=================================
ll /boot/vmlinuz
lrwxrwxrwx 1 root root 28 May 12 20:46 /boot/vmlinuz -> vmlinuz-2.6.31.5-0.1-default
ll /boot/initrd
lrwxrwxrwx 1 root root 27 May 12 21:25 /boot/initrd -> initrd-2.6.31.5-0.1-default
initrd.img and vmlinuz were copied from initrd-2.6.31.5-0.1-default and vmlinuz-2.6.31.5-0.1-default respectively
=================================
tree suse
suse
`-- 11.2
|-- i586
| |-- initrd.img
| `-- vmlinuz
`-- x86_64
3 directories, 2 files
======================
[root@edna ~]# tree /tftpboot
/tftpboot
`-- linux-install
|-- README.txt
|-- centos
| `-- 5.4
| |-- i386
| | |-- initrd.img
| | `-- vmlinuz
| `-- x86_64
| |-- initrd.img
| `-- vmlinuz
|-- fedora
| `-- 12
| `-- i386
| |-- initrd.img
| |-- ks.cfg
| |-- pxelinux.0
| `-- vmlinuz
|-- menu.c32
|-- pxeboot.msg
|-- pxelinux.0
|-- pxelinux.cfg
| |-- 01-00-0b-cd-89-30-9d
| |-- 20c6a714-806d-d711-b751-000bcd89309d
| `-- default
|-- suse
| `-- 11.2
| |-- i586
| | |-- initrd.img
| | `-- vmlinuz
| `-- x86_64
`-- teros-tftpboot.tar.bz2
==============================
pxlinux.cfg
-----------
timeout 300
default menu.c32
prompt 0
menu title PXE Menu
label Boot openSuse 11.2 i586
menu label Boot openSuse 11.2
kernel suse/11.2/i586/vmlinuz
append initrd=suse/11.2/i586/initrd.img
========================
/var/log/messages
-----------------
May 13 21:23:58 edna in.tftpd[16342]: RRQ from 10.0.0.254 filename linux-install/pxelinux.0
May 13 21:23:58 edna xinetd[10467]: START: tftp pid=16341 from=10.0.0.254
May 13 21:23:58 edna in.tftpd[16342]: tftp: client does not accept options
May 13 21:23:58 edna in.tftpd[16343]: RRQ from 10.0.0.254 filename linux-install/pxelinux.0
May 13 21:23:58 edna in.tftpd[16344]: RRQ from 10.0.0.254 filename linux-install/pxelinux.cfg/20c6a714-806d-d711-b751-000bcd89309d
May 13 21:23:58 edna in.tftpd[16345]: RRQ from 10.0.0.254 filename linux-install/menu.c32
May 13 21:23:58 edna in.tftpd[16346]: RRQ from 10.0.0.254 filename linux-install/pxelinux.cfg/20c6a714-806d-d711-b751-000bcd89309d
May 13 21:24:01 edna in.tftpd[16350]: RRQ from 10.0.0.254 filename linux-install/suse/11.2/i586/vmlinuz
May 13 21:25:58 edna dhcpd: Dynamic and static leases present for 10.0.0.254.
May 13 21:25:58 edna dhcpd: Remove host declaration pxeboot or remove 10.0.0.254
May 13 21:25:58 edna dhcpd: from the dynamic address pool for name
May 13 21:25:58 edna dhcpd: DHCPREQUEST for 10.0.0.254 from 00:0b:cd:89:30:9d via eth0
May 13 21:25:58 edna dhcpd: DHCPACK on 10.0.0.254 to 00:0b:cd:89:30:9d via eth0
May 13 21:39:01 edna xinetd[10467]: EXIT: tftp status=0 pid=16341 duration=903(sec)
[root@edna ~]# tcpdump -vvv -xx host 10.0.0.254 and portrange 67-69 -w ./output &
[root@edna ~]# tcpdump -r output reading from file output, link-type EN10MB (Ethernet)
15:24:54.220501 IP 10.0.0.254.ah-esp-encap > edna.tftp: 41 RRQ "linux-install/pxelinux.0" octet tsize 0
15:24:54.226140 IP 10.0.0.254.acp-port > edna.tftp: 46 RRQ "linux-install/pxelinux.0" octet blksize 1456
15:24:54.290149 IP 10.0.0.254.57089 > edna.tftp: 93 RRQ "linux-install/pxelinux.cfg/20c6a714-806d-d711-b751-0" [|tftp]
15:24:54.297018 IP 10.0.0.254.57090 > edna.tftp: 52 RRQ "linux-install/menu.c32" octet tsize 0 blksize 1408
15:24:54.332628 IP 10.0.0.254.57091 > edna.tftp: 93 RRQ "linux-install/pxelinux.cfg/20c6a714-806d-d711-b751-0" [|tftp]
15:24:57.533939 IP 10.0.0.254.57092 > edna.tftp: 66 RRQ "linux-install/suse/11.2/i586/vmlinuz" octet tsize 0 b
15:26:55.632550 IP edna.bootps > 10.0.0.254.bootpc: BOOTP/DHCP, Reply, length: 300Last edited by rfelsburg; 05-14-2010 at 07:42 PM. Reason: inclusion of a tcpdump during the pxeboot process
- 05-15-2010 #5Linux Newbie
- Join Date
- Mar 2007
- Posts
- 139
Sorry chap, I really don't have an idea of what you are doing.
Copying what to where and so on.
But maybe someone else here has.
Anyway, it might help to look at:
PXE boot installation - openSUSE


Reply With Quote