Seite 4 von 5 ErsteErste ... 2345 LetzteLetzte
Ergebnis 31 bis 40 von 50
  1. #31
    Neuer Benutzer
    Registriert seit
    11.02.2014
    Beiträge
    27
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Oh my god! I've made a little big disaster! All the time I was pointing to a wrong IP where is one of my servers, its a mini pc and the boot was on usb stick, so now after repartition of usb stick the server doesn't boot anymore. Thats why fdisk wasn't showing correct size.
    Now i have to fix pc boot. I'll continue with ipbox later.
    Very sorry for time wasting!


  2. #32
    Neuer Benutzer
    Registriert seit
    11.02.2014
    Beiträge
    27
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Hi Santa, I've fixed my server.
    Can we start again? this time from hard disk.

    AAF-ipbox9000:~# fdisk -l


    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes


    Device Boot Start End Blocks Id System
    /dev/sda1 1 38913 312568641 1 FAT12


  3. #33
    VIP Avatar von santa
    Registriert seit
    07.05.2012
    Beiträge
    7.844
    Thanks
    1.070
    Thanked 5.005 Times in 1.790 Posts
    Now the Same like post #30, only delete Part 1.
    And you have to open fdisk with /dev/sda
    mfg santa

    GigaBlue Quad Plus -->Yamaha AV Receiver-->Panasonic Plasma

    derzeit noch in Betrieb:
    IPBox 9000, Technisat Digicorder HDS2+, AT 500


  4. The Following User Says Thank You to santa For This Useful Post:



  5. #34
    Neuer Benutzer
    Registriert seit
    11.02.2014
    Beiträge
    27
    Thanks
    9
    Thanked 0 Times in 0 Posts
    When I create first primary part;

    xxx (=max cylinder/4)

    What should i put instead xxx?

    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 1
    First cylinder (1-38913, default 1): 1
    Last cylinder or +size or +sizeM or +sizeK (1-38913, default 38913): xxx
    Last cylinder or +size or +sizeM or +sizeK (1-38913, default 38913): 38913


    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 2
    No free sectors available


  6. #35
    VIP Avatar von santa
    Registriert seit
    07.05.2012
    Beiträge
    7.844
    Thanks
    1.070
    Thanked 5.005 Times in 1.790 Posts
    delete

    n
    p
    1
    1
    38750

    n
    p
    2
    return
    38800

    n
    p
    3
    return
    38850

    n
    p
    4
    return
    return

    w


    mkswap -L SWAPPART /dev/sda2
    mkfs.ext2 -I128 -b4096 -L MINI3 /dev/sda3
    mkfs.ext2 -I128 -b4096 -L MINI4 /dev/sda4

    mkfs.ext4 -L RECORD /dev/sda1

    the last comand could make problems, but then we format this part later, pleas post
    all what you have done.
    mfg santa

    GigaBlue Quad Plus -->Yamaha AV Receiver-->Panasonic Plasma

    derzeit noch in Betrieb:
    IPBox 9000, Technisat Digicorder HDS2+, AT 500


  7. The Following User Says Thank You to santa For This Useful Post:



  8. #36
    Neuer Benutzer
    Registriert seit
    11.02.2014
    Beiträge
    27
    Thanks
    9
    Thanked 0 Times in 0 Posts
    As you said, last command failed, I think everything else is fine.

    * * * * * * * * * * * * * * * * * * * * * * * * * * *
    * __ __ __________ *
    * / \ / \ | ________) *
    * / __ \ / __ \ | | *
    * / / \ \ / / \ \ | |_____ *
    * / /____\ \ / /____\ \ | _____) *
    * / /______\ \ / /______\ \ | | *
    * / / \ \ / / \ \ | | *
    * (__) (__) (__) (__) (___) *
    * *
    * * * * * * * * * * * * * * * * * * * * * * * * * * *


    >> wElc0me to AAF Don't Cry Image (Image 38)


    >> AAF_M15000_rev_3650_ipbox9000_enigma2


    * * * * * * * * * * * * * * * * * * * * * * * * * * *




    BusyBox v1.19.2 (2011-10-03 06:39:15 CEST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.


    AAF-ipbox9000:~# fdisk /dev/sda


    The number of cylinders for this disk is set to 38913.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
    (e.g., DOS FDISK, OS/2 FDISK)


    Command (m for help): d
    Selected partition 1


    Command (m for help): 1
    1: unknown command
    Command Action
    a toggle a bootable flag
    b edit bsd disklabel
    c toggle the dos compatibility flag
    d delete a partition
    l list known partition types
    n add a new partition
    o create a new empty DOS partition table
    p print the partition table
    q quit without saving changes
    s create a new empty Sun disklabel
    t change a partition's system id
    u change display/entry units
    v verify the partition table
    w write table to disk and exit


    Command (m for help): d
    No partition is defined yet!


    Command (m for help):
    AAF-ipbox9000:~# fdisk /dev/sda


    The number of cylinders for this disk is set to 38913.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
    (e.g., DOS FDISK, OS/2 FDISK)


    Command (m for help): d
    Selected partition 1


    Command (m for help): 1
    1: unknown command
    Command Action
    a toggle a bootable flag
    b edit bsd disklabel
    c toggle the dos compatibility flag
    d delete a partition
    l list known partition types
    n add a new partition
    o create a new empty DOS partition table
    p print the partition table
    q quit without saving changes
    s create a new empty Sun disklabel
    t change a partition's system id
    u change display/entry units
    v verify the partition table
    w write table to disk and exit


    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 1
    First cylinder (1-38913, default 1): 1
    Last cylinder or +size or +sizeM or +sizeK (1-38913, default 38 913): 38750


    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 2
    First cylinder (38751-38913, default 38751): Using default valu e 38751
    Last cylinder or +size or +sizeM or +sizeK (38751-38913, defaul t 38913): 38800


    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 3
    First cylinder (38801-38913, default 38801): Using default valu e 38801
    Last cylinder or +size or +sizeM or +sizeK (38801-38913, defaul t 38913): 38850


    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Selected partition 4
    First cylinder (38851-38913, default 38851): Using default valu e 38851
    Last cylinder or +size or +sizeM or +sizeK (38851-38913, defaul t 38913): Using default value 38913


    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table
    AAF-ipbox9000:~# mkswap -L SWAPPART /dev/sda2
    Setting up swapspace version 1, size = 411259904 bytes
    UUID=5f374766-406c-4580-b72e-b16053968c0a
    AAF-ipbox9000:~# mkfs.ext2 -I128 -b4096 -L MINI3 /dev/sda3
    [mkfs.info] start (-I128 -b4096 -L MINI3 /dev/sda3)
    *** InfoBox v1.7 by GOst4711 and nit ***
    1920x1080, 32bpp
    mke2fs 1.41.14 (22-Dec-2010)
    ------- Programmende
    *** InfoBox v1.7 by GOst4711 and nit ***
    1920x1080, 32bpp
    Filesystem label=MINI3
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    100480 inodes, 100406 blocks
    5020 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=104857600
    4 block groups
    32768 blocks per group, 32768 fragments per group
    25120 inodes per group
    Superblock backups stored on blocks:
    32768, 98304


    Writing inode tables: done
    Writing superblocks and filesystem accounting information: done


    This filesystem will be automatically checked every 25 mounts o r
    180 days, whichever comes first. Use tune2fs -c or -i to overr ide.


    ------- Programmende
    *** InfoBox v1.7 by GOst4711 and nit ***
    AAF-ipbox9000:~# 1920x1080, 32bpp
    ------- Programmende
    AAF-ipbox9000:~# mkfs.ext2 -I128 -b4096 -L MINI4 /dev/sda4
    [mkfs.info] start (-I128 -b4096 -L MINI4 /dev/sda4)
    *** InfoBox v1.7 by GOst4711 and nit ***
    1920x1080, 32bpp
    mke2fs 1.41.14 (22-Dec-2010)
    ------- Programmende
    *** InfoBox v1.7 by GOst4711 and nit ***
    1920x1080, 32bpp
    Filesystem label=MINI4
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    126592 inodes, 126511 blocks
    6325 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=130023424
    4 block groups
    32768 blocks per group, 32768 fragments per group
    31648 inodes per group
    Superblock backups stored on blocks:
    32768, 98304


    Writing inode tables: done
    Writing superblocks and filesystem accounting information: done


    This filesystem will be automatically checked every 27 mounts o r
    180 days, whichever comes first. Use tune2fs -c or -i to overr ide.


    ------- Programmende
    AAF-ipbox9000:~# *** InfoBox v1.7 by GOst4711 and nit ***
    1920x1080, 32bpp
    ------- Programmende
    AAF-ipbox9000:~# mkfs.ext4 -L RECORD /dev/sda1
    -sh: mkfs.ext4: not found
    AAF-ipbox9000:~# fdisk -l


    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes


    Device Boot Start End Blocks Id System
    /dev/sda1 1 38750 311259343+ 83 Linux
    /dev/sda2 38751 38800 401625 83 Linux
    /dev/sda3 38801 38850 401625 83 Linux
    /dev/sda4 38851 38913 506047+ 83 Linux
    AAF-ipbox9000:~#


  9. #37
    VIP Avatar von santa
    Registriert seit
    07.05.2012
    Beiträge
    7.844
    Thanks
    1.070
    Thanked 5.005 Times in 1.790 Posts
    ok, reboot.

    i need this:

    fw_printenv
    mfg santa

    GigaBlue Quad Plus -->Yamaha AV Receiver-->Panasonic Plasma

    derzeit noch in Betrieb:
    IPBox 9000, Technisat Digicorder HDS2+, AT 500



  10. #38
    Neuer Benutzer
    Registriert seit
    11.02.2014
    Beiträge
    27
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Code:
    AAF-ipbox9000:~# fw_printenv
    baudrate=115200
    preboot=if edb toenv ethaddr; then echo "Setup mac address."; else echo "Use def                                                      ault mac address.";  fi; bootmenu
    menu_timeout=echo booting...;front_puts "booting";boot
    menu_serialbreak=echo entering boot loader console.;front_puts "console"
    menu_upgusb=setenv stdout vga;setenv stderr vga;if usbupg; then reset; else echo                                                       Oops...; echo You can debug through serial port.; fi
    menu_upgusbhost=setenv stdout vga;setenv stderr vga;if usbupghost; then reset; e                                                      lse echo Oops...; echo You can debug through serial port.; fi
    menu_upgserial=setenv stdout vga;setenv stderr vga;serial_upgrade;reset
    menu_set2set=setenv stdout vga;setenv stderr vga;serial_set2set;reset
    menu_hddfmt=setenv bootargs $bootargs format_hdd=1;front_puts "format hdd";boot
    menu_debugmode=setenv bootargs $bootargs debug debug_app=1;front_puts "debug she                                                      ll";boot
    menu_upgnet=setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 q                                                      uiet" factory_update=1;front_puts "net upg";boot
    menu_tvmode=set_tvmode;boot
    serial#=cuberevo-mini2 debugging
    board=cuberevo-mini2_27
    monitor_base=0xA0000000
    monitor_len=0x00040000
    monitor_sec=1:0
    load_addr=0x84000000
    unprot=protect off $monitor_sec
    update=erase $monitor_sec;cp.b $load_addr $monitor_base $monitor_len;protect on                                                       $monitor_sec
    ipaddr=192.168.178.1
    gateway=192.168.178.254
    netmask=255.255.255.0
    serverip=192.168.178.254
    menu_1=setenv bootargs "console=ttyAS1,115200 root=/dev/mtdblock3 mem=128m ip=$i                                                      paddr:$serverip:$gateway:$netmask:cuberevo:eth0:off coprocessor_mem=4m@0x1000000                                                      0,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd                                                       "bootm a0060000";saveenv;front_puts FLASH;boot
    menu_2=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/                                                      uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200                                                       root=/dev/sda1 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cube                                                      revo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 n                                                      whwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_                                                      puts SDA1-USB;boot
    menu_3=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:2 a5ff0000 boot/                                                      uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200                                                       root=/dev/sda2 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cube                                                      revo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 n                                                      whwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_                                                      puts SDA2-USB;boot
    menu_4=setenv bootide "run bootargside;ide reset;ext2load ide 0:1 a5ff0000 boot/                                                      uImage;bootm a5ff0000";setenv bootargside "setenv bootargs console=ttyAS1,115200                                                       root=/dev/sda3 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cube                                                      revo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 n                                                      whwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootide";saveenv;front_                                                      puts SDA3-IDE;boot
    menu_5=setenv bootide "run bootargside;ide reset;ext2load ide 0:2 a5ff0000 boot/                                                      uImage;bootm a5ff0000";setenv bootargside "setenv bootargs console=ttyAS1,115200                                                       root=/dev/sda4 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cube                                                      revo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 n                                                      whwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootide";saveenv;front_                                                      puts SDA4-IDE;boot
    menu_6=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/                                                      uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200                                                       root=/dev/sdb1 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cube                                                      revo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 n                                                      whwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_                                                      puts SDB1-USB;boot
    menu_7=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:2 a5ff0000 boot/                                                      uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200                                                       root=/dev/sdb2 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cube                                                      revo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 n                                                      whwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_                                                      puts SDB2-USB;boot
    menu_8=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:3 a5ff0000 boot/                                                      uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200                                                       root=/dev/sdb3 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cube                                                      revo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 n                                                      whwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_                                                      puts SDB3-USB;boot
    menu_9=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:4 a5ff0000 boot/                                                      uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200                                                       root=/dev/sdb4 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cube                                                      revo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 n                                                      whwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_                                                      puts SDB4-USB;boot
    menu_0=setenv ipaddr 192.168.1.10;setenv serverip 192.168.1.9;setenv gateway 192                                                      .168.1.1;setenv netmask 255.255.255.0;setenv bootargs "console=ttyAS1,115200 roo                                                      t=/dev/nfs nfsroot=/mnt/nfs/enigma/ron rw rootpath=/mnt/nfs/enigma/ron ip=$ipadd                                                      r:$serverip:$gateway:$netmask:cuberevo:eth0:off mem=128m coprocessor_mem=4m@0x10                                                      000000,4m@0x10400000 init=/bin/devinit nwhwconf=device:eth0,hwaddr:$ethaddr";set                                                      env bootcmd "nfs a5ff0000 192.168.1.9:/mnt/nfs/enigma/ron/boot/uImage;bootm a5ff                                                      0000";saveenv;front_puts NFS;boot
    bootusb=run bootargsusb;usb reset;ext2load usb 0:2 a5ff0000 boot/uImage;bootm a5                                                      ff0000
    bootargsusb=setenv bootargs console=ttyAS1,115200 root=/dev/sda2 rw init=/bin/de                                                      vinit ip=192.168.178.1:192.168.178.254:192.168.178.254:255.255.255.0:cuberevo:et                                                      h0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf                                                      =device:eth0,hwaddr:00:13:18:02:40:14
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:13:18:02:40:14
    bootargs=console=ttyAS1,115200 root=/dev/mtdblock3 mem=128m ip=192.168.178.1:192                                                      .168.178.254:192.168.178.254:255.255.255.0:cuberevo:eth0:off coprocessor_mem=4m@                                                      0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:00:13:18:02:40:                                                      14
    bootcmd=bootm a0060000
    Geändert von santa (17.02.2014 um 20:35 Uhr) Grund: use codebox


  11. #39
    VIP Avatar von santa
    Registriert seit
    07.05.2012
    Beiträge
    7.844
    Thanks
    1.070
    Thanked 5.005 Times in 1.790 Posts
    Code:
    fw_setenv menu_3 'setenv bootide "run bootargside;ide reset;ext2load ide 0:3 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargside "setenv bootargs console=ttyAS1,115200 root=/dev/sda3 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootide";saveenv;front_puts SDA3-IDE;boot'
    
    
    fw_setenv menu_4 'setenv bootide "run bootargside;ide reset;ext2load ide 0:4 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargside "setenv bootargs console=ttyAS1,115200 root=/dev/sda4 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootide";saveenv;front_puts SDA4-IDE;boot'


    cd /autofs/sda3
    if this is possible, open ftp and copy image to /autofs/sda3
    after that, telnet again:

    tar xvzf *.tar.gz
    mfg santa

    GigaBlue Quad Plus -->Yamaha AV Receiver-->Panasonic Plasma

    derzeit noch in Betrieb:
    IPBox 9000, Technisat Digicorder HDS2+, AT 500



  12. #40
    Neuer Benutzer
    Registriert seit
    11.02.2014
    Beiträge
    27
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Ok, copied and unziped.
    What next? we are close yes?


Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •