Author Topic: How Long for initial PXE boot  (Read 11573 times)

dcubox1

  • Veteran
  • ***
  • Posts: 130
    • View Profile
Re: How Long for initial PXE boot
« Reply #15 on: April 30, 2010, 03:17:19 pm »
I guess it depends on the script!! I shall give it a go and see if it helps,...one things for sure, it cant make it any worse( ill prob regret them words later!!)

dcubox1

  • Veteran
  • ***
  • Posts: 130
    • View Profile
Re: How Long for initial PXE boot
« Reply #16 on: April 30, 2010, 08:00:02 pm »
Ok so I deleted my MD re-ran
Code: [Select]
'/usr/pluto/bin/Diskless_CreateTBZ.sh this time it did not get stuck on the kernelproblem i was having but now it runs the setup script every time it boots as in it keeps looping through the setup all the time? Any suggestions!!

dcubox1

  • Veteran
  • ***
  • Posts: 130
    • View Profile
PXE boot issue
« Reply #17 on: April 30, 2010, 10:57:49 pm »
Ok so I now have a new error on the setup, it gets as far as setting up the AV Wizard and the Message is :
Failed to Setup X with no options to do anything??? is this something I can fix?

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: How Long for initial PXE boot
« Reply #18 on: May 01, 2010, 12:32:30 am »
Reboot the MD, it worked for me.

SpiderSprog

  • Regular Poster
  • **
  • Posts: 30
    • View Profile
Re: How Long for initial PXE boot
« Reply #19 on: April 22, 2011, 07:52:01 pm »
Still having the problem ?

check the soft links on the MD in /usr/pluto/diskless/XX where XX is the MD designation.  Mine show.

initrd.img -> /usr/pluto/diskless/53/boot/initrd.img-2.6.27-14-generic
vmlinuz -> /usr/pluto/diskless/53/boot/vmlinuz-2.6.27-14-generic

You may have to manually fix if they are not pointing to the correct kernel boot files.
Everytime I generated a new MD they would point to ...27-7-generic which was wrong.

appologies for bumping on old post but I think I have this problem

the kernel refferences in /usr/pluto/diskless/81/boot dont seem to match my installed kernel
see below

Code: [Select]
uname -r
2.6.32-02063208-generic
chris@dcerouter:/$ cd /usr/pluto/diskless/81/boot
chris@dcerouter:/usr/pluto/diskless/81/boot$ ls
abi-2.6.27-17-generic     initrd.img                    System.map-2.6.27-17-generic  vmlinuz
config-2.6.27-17-generic  initrd.img-2.6.27-17-generic  vmcoreinfo-2.6.27-17-generic  vmlinuz-2.6.27-17-generic

could soemone please give me a step by step how to fix this?
I found a few howtos on changing sym link targets but not sure if thats the right way to fix this, I could be barking up the wrong tree

Thanks

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: How Long for initial PXE boot
« Reply #20 on: April 22, 2011, 08:09:27 pm »
what does ls -l /usr/pluto/diskless/81/boot show

SpiderSprog

  • Regular Poster
  • **
  • Posts: 30
    • View Profile
Re: How Long for initial PXE boot
« Reply #21 on: April 22, 2011, 09:08:13 pm »
Code: [Select]
chris@dcerouter:/usr/pluto/diskless/81/boot$ ls -l /usr/pluto/diskless/81/boot
total 26956
-rw-r--r-- 1 root root  621769 2011-04-22 19:52 abi-2.6.32-02063208-generic
drwxr-xr-x 2 root root    4096 2011-04-22 19:53 backups
-rw-r--r-- 1 root root  112095 2011-04-22 19:52 config-2.6.32-02063208-generic
-rw-r--r-- 2 root root 8479041 2011-04-22 19:52 initrd.img
-rw-r--r-- 2 root root 8479041 2011-04-22 19:52 initrd.img-2.6.32-02063208-generic
-rw-r--r-- 1 root root 1835655 2011-04-22 19:52 System.map-2.6.32-02063208-generic
-rw-r--r-- 2 root root 3999264 2011-04-22 19:52 vmlinuz
-rw-r--r-- 2 root root 3999264 2011-04-22 19:52 vmlinuz-2.6.32-02063208-generic

I've been tinkering in /usr/pluto/diskless/81/boot since my last post
  • cp'd over the above files from /boot
  • made new symlinks to vmlinuz and initrd.img using "sudo ln initrd.img-2.6.32-02063208-generic initrd.img"


shouldn't the output of ls -l /usr/pluto/diskless/81/boot show where the symlinks point to, did i recreate them incorrectly?

I also couldn't find an equivelant for vmcoreinfo-2.6.27-17-generic in /boot

SpiderSprog

  • Regular Poster
  • **
  • Posts: 30
    • View Profile
Re: How Long for initial PXE boot
« Reply #22 on: April 23, 2011, 08:11:21 pm »
Ok so I got the symbolic links in /usr/pluto/diskless/##/ and  /usr/pluto/diskless/##/boot pointing to the correct kernels

I copied over the files from /boot since the correct ones werent in  /usr/pluto/diskless/##/boot by default

ls -l reports the following



Code: [Select]
chris@dcerouter:/usr/pluto/diskless/120/boot$ ls -l
total 26908
-rw-r--r-- 1 root root  508481 2010-03-12 04:56 abi-2.6.27-17-generic
-rw-r--r-- 1 root root  621769 2011-04-23 18:54 abi-2.6.32-02063208-generic
-rw-r--r-- 1 root root   91462 2010-03-12 04:56 config-2.6.27-17-generic
-rw-r--r-- 1 root root  112095 2011-04-23 18:54 config-2.6.32-02063208-generic
lrwxrwxrwx 1 root root      63 2011-04-23 17:58 initrd.img -> /usr/pluto/diskless/120/boot/initrd.img-2.6.32-02063208-generic
-rw-r--r-- 1 root root 8517964 2011-04-23 17:02 initrd.img-2.6.27-17-generic
-rw-r--r-- 1 root root 8479041 2011-04-23 18:54 initrd.img-2.6.32-02063208-generic
-rw-r--r-- 1 root root 1033092 2010-03-12 04:56 System.map-2.6.27-17-generic
-rw-r--r-- 1 root root 1835655 2011-04-23 18:54 System.map-2.6.32-02063208-generic
-rw-r--r-- 1 root root    1074 2010-03-12 04:58 vmcoreinfo-2.6.27-17-generic
lrwxrwxrwx 1 root root      60 2011-04-23 17:58 vmlinuz -> /usr/pluto/diskless/120/boot/vmlinuz-2.6.32-02063208-generic
-rw-r--r-- 1 root root 2252720 2010-03-12 04:56 vmlinuz-2.6.27-17-generic
-rw-r--r-- 1 root root 3999264 2011-04-23 18:54 vmlinuz-2.6.32-02063208-generic

and in /usr/pluto/diskless/120

Code: [Select]
chris@dcerouter:/usr/pluto/diskless/120$ ls -l
total 84
drwxr-xr-x   2 root root  4096 2011-04-23 16:55 bin
drwxr-xr-x   2 root root  4096 2011-04-23 18:54 boot
drwxr-xr-x   5 root root  4096 2011-04-23 17:00 dev
drwxr-xr-x 126 root root 12288 2011-04-23 17:58 etc
drwxr-xr-x   3 root root  4096 2011-04-23 17:01 home
lrwxrwxrwx   1 root root    63 2011-04-23 18:54 initrd.img -> /usr/pluto/diskless/120/boot/initrd.img-2.6.32-02063208-generic
drwxr-xr-x  15 root root  4096 2011-04-23 16:59 lib
drwxr-xr-x   2 root root  4096 2011-04-23 17:01 media
drwxr-xr-x   3 root root  4096 2011-04-23 16:55 mnt
drwxr-xr-x   2 root root  4096 2010-09-19 10:15 opt
drwxr-xr-x   2 root root  4096 2008-10-20 13:27 proc
drwxr-xr-x   6 root root  4096 2011-04-23 17:58 root
drwxr-xr-x   2 root root  4096 2011-04-23 17:02 sbin
drwxr-xr-x   2 root root  4096 2010-09-19 10:15 srv
drwxr-xr-x   2 root root  4096 2008-10-14 14:02 sys
drwxrwxrwt   3 root root  4096 2011-04-23 17:02 tmp
drwxr-xr-x  12 root root  4096 2011-04-23 16:51 usr
drwxr-xr-x  16 root root  4096 2011-04-23 16:59 var
lrwxrwxrwx   1 root root    60 2011-04-23 18:54 vmlinuz -> /usr/pluto/diskless/120/boot/vmlinuz-2.6.32-02063208-generic

I've re ran diskless.sh, reloaded router, rebuilt media director and through webui (each time having to fix sym links), and rebooted the core but I'm still getting "could not find kernel image" error when I try to PXE boot, see pic.

Its an asus B202 if that helps, up to date bios, I haven't done the r8168 as the wiki said it wasnt needed for 0810.  I#ve also checked tftpboot for symlinks but couldnt find any.

Any ideas?  Please

P.S. Would it be frowned upon if I reposted this in a new thread?, not sure if this one has gone off topic