Register
Results 1 to 5 of 5
  1. #1
    Newbie
    Join Date
    Dec 2009
    Posts
    6
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default Help to bootargs and multiboot from hdd

    Iam trying to get a E2 image working on a hdd with multiboot, I have a DGS based image in flash.

    I have installed the E2 image in sda3 on hdd ( I have made 4 partitions )

    My pc ip is 192.168.1.101 and box 192.168.1.102

    Have tried with these bootargs:

    setenv menu_1 'front_puts "DGS i Flash";setenv ipaddr 192.168.1.102;setenv serverip 192.168.1.101;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=1500 quiet";setenv bootcmd "bootm a0060000"';saveenv;boot

    setenv menu_2 'front_puts "USB STICK";setenv ipaddr 192.168.1.102;setenv serverip 192.168.1.101;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:2 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb2 rw rootdelay=10 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";seten v bootcmd "run bootusb";saveenv;boot'

    setenv menu_3 'front_puts "HD SDA 3";setenv ipaddr 192.168.1.102;setenv serverip 192.168.1.101;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv boothdd "run bootargshdd;ide reset;ext2load ide 0:3 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargshdd "setenv bootargs console=ttyAS1,115200 panic=3 bigphysarea=10240 root=/dev/sda3 rw rootdelay=1 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";seten v bootcmd "run boothdd";saveenv;boot'

    setenv menu_4 'front_puts "HD SDA 4";setenv ipaddr 192.168.1.102;setenv serverip 192.168.1.101;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv boothdd "run bootargshdd;ide reset;ext2load ide 0:4 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargshdd "setenv bootargs console=ttyAS1,115200 panic=3 bigphysarea=10240 root=/dev/sda4 rw rootdelay=1 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";seten v bootcmd "run boothdd";saveenv;boot'

    saveenv

    but I cant get it to run... neither of the images, I have putty running when booting
    Putty stops... and says....
    ** Unable to read "boot/uImage" from ide 0:3 **
    ## Booting image at a5ff0000 ...
    Bad Magic Number

    Anybody.. some ideas???

  2. #2
    Admin Assistant
    aftermath's Avatar
    Join Date
    Mar 2008
    Posts
    4,345
    Thanks Thanks Given 
    106
    Thanks Thanks Received 
    255
    Thanked in
    136 Posts

    Default

    bad magic number means one of these things.

    either a bad formatted partition which cant be read.

    maybe the partition needs mounted.

    maybe the image you unpacked is corrupt.

    solution :
    in nlb settings turn off format HDD, and also turn off in nlb settings turn off format HDD, and also off check HDD on boot .
    format HDD to just 1 partition and make it ext3 .

    Boot DGS based image.
    FTP a different stick version E2 to /media
    then unpack it using telnet commands.

    flash the latest DGS multiboot config or search here for a newish one.

    boot image from HDD by holding down number 6 on remote control while you switch on the box..
    some multiboot configs are different so take notice of the number to press.
    Edit/Delete Message

  3. #3
    Newbie
    Join Date
    Dec 2009
    Posts
    6
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    Quote Originally Posted by aftermath View Post
    bad magic number means one of these things.

    either a bad formatted partition which cant be read.

    maybe the partition needs mounted.

    maybe the image you unpacked is corrupt.

    solution :
    in nlb settings turn off format HDD, and also turn off in nlb settings turn off format HDD, and also off check HDD on boot .
    format HDD to just 1 partition and make it ext3 .

    Boot DGS based image.
    FTP a different stick version E2 to /media
    then unpack it using telnet commands.

    flash the latest DGS multiboot config or search here for a newish one.

    boot image from HDD by holding down number 6 on remote control while you switch on the box..
    some multiboot configs are different so take notice of the number to press.
    Edit/Delete Message
    I will try that... but I cant understand something, I have tried the guide with a USB.stick with the same result!!

    I am using PGI 0,5 in flash.. I am not shure where to change the NLB setting for the hdd???

  4. #4
    Admin Assistant
    aftermath's Avatar
    Join Date
    Mar 2008
    Posts
    4,345
    Thanks Thanks Given 
    106
    Thanks Thanks Received 
    255
    Thanked in
    136 Posts

    Default

    Quote Originally Posted by calle3 View Post
    I am using PGI 0,5 in flash.. I am not shure where to change the NLB setting for the hdd???
    sorry i thought you were using NLB image in flash.
    just check your HDD settings on PGI, and dissable anything that could format or set up your HDD on booting.

    NLB images alter the HDD on booting and create a swat partition so your HDD becomes sda1 for sway and sda2 for main partition.

    but best to format into 1 partition , ext3 for using E2 on HDD or ex2 for E2 on USB stick

  5. #5
    Newbie
    Join Date
    Dec 2009
    Posts
    6
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    Quote Originally Posted by aftermath View Post
    sorry i thought you were using NLB image in flash.
    just check your HDD settings on PGI, and dissable anything that could format or set up your HDD on booting.

    NLB images alter the HDD on booting and create a swat partition so your HDD becomes sda1 for sway and sda2 for main partition.

    but best to format into 1 partition , ext3 for using E2 on HDD or ex2 for E2 on USB stick
    I had some problems format my hdd with telnet before I tried to install E2. I couldnt format sda1 but all the others partitions. That means my box wouldnt show my hdd anymore all the hdd settings is grayed out....
    Would you recomend me to use another image in flash??

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.