Difference between revisions of "Maintenance Mode"
Ezra pound (talk | contribs) |
Ezra pound (talk | contribs) |
||
Line 20: | Line 20: | ||
<pre> | <pre> | ||
− | Menu version 1. | + | Menu version 1.05 |
Enter system PIN: **** | Enter system PIN: **** | ||
Line 27: | Line 27: | ||
\-------------------------/ | \-------------------------/ | ||
− | [ Humax HDR-Fox T2 (humax) 1.02. | + | [ Humax HDR-Fox T2 (humax) 1.02.32/2.15 ] |
1 - Restart into maintenance mode. | 1 - Restart into maintenance mode. | ||
Line 34: | Line 34: | ||
x - Exit and close connection. | x - Exit and close connection. | ||
diag - Run a diagnostic. | diag - Run a diagnostic. | ||
− | cli - | + | cli - System command line (advanced users). |
Please select option: | Please select option: | ||
− | |||
</pre> | </pre> | ||
Line 51: | Line 50: | ||
Select the first Item in this Menu e.g. 1 - Restart into maintenance Mode, The Humax will close the current Telnet session and reboot and display 'MAINTENANCE' on HDR after a short delay, the following Menu will then be displayed Note:- Fix-Disk is not available on the a HD-Fox T2 :- | Select the first Item in this Menu e.g. 1 - Restart into maintenance Mode, The Humax will close the current Telnet session and reboot and display 'MAINTENANCE' on HDR after a short delay, the following Menu will then be displayed Note:- Fix-Disk is not available on the a HD-Fox T2 :- | ||
<pre> | <pre> | ||
− | + | Menu version 1.05 | |
− | + | Enter system PIN: **** | |
− | + | ||
+ | /---------------------------------------------\ | ||
+ | | M A I N T E N A N C E M O D E M E N U | | ||
+ | \---------------------------------------------/ | ||
+ | |||
+ | [ Humax HDR-Fox T2 (humax) 1.02.32/2.15 ] | ||
− | + | 1 - Check and repair hard disk (fix-disk). | |
+ | 2 - Clear persistent EPG data. | ||
+ | x - Leave maintenance mode (Humax will restart). | ||
+ | diag - Run a diagnostic. | ||
+ | cli - System command line (advanced users). | ||
− | + | Please select option: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
Line 150: | Line 151: | ||
\-----------------------------------------/ | \-----------------------------------------/ | ||
− | [Humax HD-Fox T2 (humaxhd) 1.02. | + | [Humax HD-Fox T2 (humaxhd) 1.02.32/2.15] |
1 - Convert USB flash drive to EXT2 | 1 - Convert USB flash drive to EXT2 |
Revision as of 12:01, 2 April 2013
Note: If you are planning to use maintenance mode, it is recommended that you first upgrade to Customised Firmware version 2.14 or above.
Background
Maintenance Mode has been created to enable the Humax to carry out special functions that can’t be run in normal mode, When this mode is running there will be no TV Tuner, TV Recording or Custom Firmware Graphical User Interface (GUI), on Custom Firmware Version 2.13 and later, Maintenance Mode is indicated on the Humax display as follows :- 'MAINTENANCE' on HDR and 'UtiL' on HD)
Access to this mode is via Telnet - Command line only.
When the Custom Firmware boots up it will look for a special file, If it finds this file, the Firmware will boot into Maintenance Mode and then delete the file, If the file is not found the Firmware will boot into the normal Custom Firmware
Note:- Wi-Fi may not be supported in Maintenance mode, If it is not possible to telnet into the Maintenance mode use a wired LAN
Enter Telnet Menu
The first stage in entering Maintenance Mode is to access the Humax via Telnet e.g. :-
Enter 0000 <return> for system PIN
Menu version 1.05 Enter system PIN: **** /-------------------------\ | T E L N E T M E N U | \-------------------------/ [ Humax HDR-Fox T2 (humax) 1.02.32/2.15 ] 1 - Restart into maintenance mode. 2 - Remove web interface password. stat - Show what the box is currently doing. x - Exit and close connection. diag - Run a diagnostic. cli - System command line (advanced users). Please select option:
If the Telnet Menu is not present, Maintenance mode can be initiated by using Telnet command line
touch /var/lib/humaxtv/mod/maintenance.boot
reboot
Enter Maintenance Mode (HDR-Fox T2)
Select the first Item in this Menu e.g. 1 - Restart into maintenance Mode, The Humax will close the current Telnet session and reboot and display 'MAINTENANCE' on HDR after a short delay, the following Menu will then be displayed Note:- Fix-Disk is not available on the a HD-Fox T2 :-
Menu version 1.05 Enter system PIN: **** /---------------------------------------------\ | M A I N T E N A N C E M O D E M E N U | \---------------------------------------------/ [ Humax HDR-Fox T2 (humax) 1.02.32/2.15 ] 1 - Check and repair hard disk (fix-disk). 2 - Clear persistent EPG data. x - Leave maintenance mode (Humax will restart). diag - Run a diagnostic. cli - System command line (advanced users). Please select option:
If the Maintenance Mode Menu is not present, Fix-Disk mode can be initiated by using Telnet command line
fix-disk
Fix-Disk
Select 1) from the Maintenance Mode Menu to initiate the Fix-Disk utility :-
Please select option: 1 Any additional options (or press return for none): [See note2] Checking partition /dev/sda3... Checking partition /dev/sda1... Creating swap file... Checking partition /dev/sda2... Are you having problems with a delete loop [Y/N]?
If the Humax is constantly displaying the word 'Deleting', answer Yes, if not answer No.
Fix-Disk Notes :-
- Fix-disk may appear to 'freeze' for long periods, this normal, the process can take hours
- Option -x -c = enable e2fsck extensions and Check for bad blocks / add them to the bad block list
- If the web interface hard disk diagnostic highlights attributes 197 or 198 in red, then the additional fix-disk test/repair should run
- After a fix-disk run it is normal to get the following message :- Some areas of the hard disk are not mounted, Not all functions will be available.
Maintenance Mode Notes
While in Maintenance Mode Only Telnet is functional, The following Notes are Valid for the HDR-Fox T2:-
- Wi-Fi may not be supported in Maintenance mode, If it is not possible to telnet into the Maintenance mode use a wired LAN
- Disk are shown as /dev/sda, /dev/sdb, etc
- An external HDD found on boot will be /dev/sda and the internal HDD will be /dev/sdb
- An External HDD connected after boot will be /dev/sdb and the internal HDD will be /dev/sda
- Partitions on those disks are /dev/sda1, /dev/sda2 etc
- fdisk -lu HIDE Will display Disks and their Partitions
- df -h HIDE Will display Mounted Disks
Exit Maintenance Mode
To exit Maintenance Mode, Selext 'x' from the Telmet Menu or Telnet the following :-
reboot
What is Maintenance Mode for ?
At present, it is used for checking the HDR internal disk file system and formatting USB hard disks up to 2TB (The standard Humax format only works up to 1TB)
Run a file system check on the Internal Hard Disk Drive
See notes on the fix-disk utility
Format a WD Elements 2TB USB external Hard Disk
These are some extracted notes for drive = /dev/sda1 :-
- Ensure you are formatting the correct drive e.g. /dev/sda1 or /dev/sda2
- unmount drive (if Mounted already mounted) with e.g. umount /dev/sda1
- Partition the disk with using fdisk -u /dev/sda1 then p to display current
- d to delect current
- n to create primary partition
- p to select primary partition
- Partition no = 1 First Sector = 2048 last sector = default
- p to display new selection e.g. Disk /dev/sda: 2000.3 GB, 2000396746752 bytes
- w to write new partition and exit fdisk
- Format new partition with mkfs.ext3 /dev/sda1
- format will will take about 20 minutes for a 2TB disk
Enter Maintenance Mode (HD-Fox T2)
After selecting option one from the Main Telnet Menu and rebooting the HD-Fox T2, the front display will show 'UtIL' after a short delay, Indication the unit is in Maintenance Mode, When a new Telnet session is started, the HD-Fox T2 will display the following :-
/-----------------------------------------\ | M A I N T E N A N C E M O D E M E N U | \-----------------------------------------/ [Humax HD-Fox T2 (humaxhd) 1.02.32/2.15] 1 - Convert USB flash drive to EXT2 2 - Clear persistent EPG data. x - Leave maintenance mode (Humax will restart). diag - Run a diagnostic. cli - Exit to system Command line (Advanced users).
A Guide to converting a USB flash drive to EXT2 for Custom Firmware operation is HERE