Results 1 to 5 of 5

Thread: PBO - Accidentally modify /etc/fstab and not working now

  1. #1
    Join Date
    Mar 2010
    Posts
    2

    Default PBO - Accidentally modify /etc/fstab and not working now

    I accidentally change the /etc/fstab file when I telnet in. I comment out all the items and it become like this:

    # /etc/fstab: static file system information.
    #
    # <file system> <mount pt> <type> <options> <dump> <pass>
    #/dev/root / ext3 rw,noauto 0 1
    #none /proc proc defaults 0 0
    #devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
    #none /sys sysfs defaults 0 0
    #/dev/mtdblock/2 /usr/local/etc yaffs2 rw,noauto 0
    #none /tmp ramfs defaults 0 0

    Now the screen only shows the Box Office logo.
    I connect to the UART and I can see the bootloader is running but there are lots of errors like this:

    DB FILENAME = /tmp/ramfs/Setup
    [DataObject.cpp 494] ---- Create new DB Start -/usr/local/etc/dvdplayer/Setup---
    -
    [DataObject.cpp 507] Can't open database: [14] /tmp/ramfs/Setup
    DB FILENAME = /tmp/ramfs/Setup
    DB FILENAME = /tmp/ramfs/Setup
    .....

    It will reboot after a short while and keeps in the endless rebooting cycle. Although I can tap Enter to issue commends. I tried to change the /etc/fstab, but it won't allow me to change it. (Maybe there is no mount volume). The commend I used is as follows:
    sed -i '5,9 s/#//' /etc/fstab
    sed: no temp file

    I also tried the update the bootcode using TFTP method. The bootcode is flashed successfully, but it goes into the endless rebooting cycle after it powered on, even though I plug in the USB stick with install.img in the root directory.

    I just wondering if there is any way that I can recover it? Can I TFTP the entire install.img to the FLASH?

  2. #2
    Join Date
    Dec 2009
    Location
    ON, Canada
    Posts
    4,910

    Default erase for recovery ..

    since you can connect serially to the PBO, how about this ..?
    2. Turn on any terminal like application, connection at 115200, 8-N-1,
    3. Turn on PBO and long press ESC key,
    4. Now, you will be able to put some commands, type 'erase -m',
    5. Restart PBO with USB stick connected to the PBO with the firmware (install.img file),
    6. Either on the terminal and on TV you will see the PBO starting in recovery mode and flashing itself.
    7. When finished, restart PBO without USB stick.

  3. #3
    Join Date
    Feb 2010
    Location
    Florida
    Posts
    305

    Default

    That should work.

    Make sure you select None in Flow control if you use Windows Hyper Terminal or you will not be able to stop the boot process by holding the ESC key...

  4. #4
    Join Date
    Mar 2010
    Posts
    2

    Default

    Thanks aasoror! You are the MAN!

    It is working now and I was able to flash to the original firmware. Thanks!

  5. #5
    Join Date
    Dec 2009
    Location
    ON, Canada
    Posts
    4,910

    Default

    Quote Originally Posted by taweiho View Post
    Thanks aasoror! You are the MAN!

    It is working now and I was able to flash to the original firmware. Thanks!
    No problem .. good it worked for you

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
  •