News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

How Long for initial PXE boot

Started by dcubox1, April 28, 2010, 07:18:02 PM

Previous topic - Next topic

dcubox1

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

Ok so I deleted my MD re-ran '/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

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

Reboot the MD, it worked for me.

SpiderSprog

Quote from: THEVILLAIN on April 29, 2010, 02:20:13 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

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

what does ls -l /usr/pluto/diskless/81/boot show
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

SpiderSprog

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

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



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

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