how to mount an usb on azbox ME with e2
how to mount an usb on azbox ME with e2
i am taping mount on my telnet
root@azbozhd:~#mount
rootfs on / type rootfs (rw)
mtd3 on / type jffs2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/mtdblock2 on /boot type jffs2 (rw)
tmpfs on /var type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
automount(pid1898) on /autofs type autofs (rw)
If you mean hdd usb try this
1. Connect to AzBox by telnet and type this command
umount /dev/sda1
2. Now we will format HDD in ext3 FS
mkfs.ext3 /dev/sda1
3. With this command we will mount HDD under /media/hdd
mount /dev/sda1 /media/hdd
4. To be able to record and use timeshift we need to create directory movie in /media/hdd
cd /media/hdd
mkdir movie
In Telnet type the following command, df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 248.0M 69.6M 178.4M 28% /
udev 2.0M 324.0K 1.7M 16% /dev
/dev/mtdblock2 7.0M 2.7M 4.3M 39% /boot
tmpfs 74.2M 272.0K 74.0M 0% /var
tmpfs 74.2M 8.0K 74.2M 0% /tmp
/dev/sda1 931.3G 579.5G 351.8G 62% /media/hdd
What do you see in your telnet window when you type df -h?
yes i see in my telnet window when i type df -h
but see these
The hard disk isn't mounted.
Try the instructions again in post number 4 by tsakman but skip the first instruction and report back.
2. Now we will format HDD in ext3 FS
mkfs.ext3 /dev/sda1
-sh mkfs.ext3: not found
Type the following into Telnet.
fdisk /dev/sda
You will see the following prompt below... type p after Command (m for help):
Command (m for help): p
This will display your disk information.
Now on the Command prompt type n for new partition.
Command (m for help): n
Command action
e extended
p primary partition (1-4)
Type p for Primary Partition.
Partition number (1-4): 1
You will see First cylinder (default 1) press return key
You will see Last cylinder (default your hdd size) press return key
Press w to write partition.
type quit to exit fdisk
now type the following.
mkfs.ext3 /dev/sda1
Depending on the size of your HDD this will take approx 10-20 minutes to complete.
Now edit the fstab file in the /etc folder.
Add the following line below to the bottom of your fstab file and save it.
/dev/sda1 /media/hdd auto defaults 0 0
Now mount the drive with this command
mount /dev/sda1 /media/hdd
now make a movie directory
cd /media/hdd
mkdir movie
Your drive is now ready to use.
Last edited by LeeGW; 28-03-2012 at 01:15 PM.
thanks man for answer my q
when i type the following into Telnet.
fdisk /dev/sda
Press n for new partition
Press 1
invalid partition number for type '1'
command action
e extended
p primary partition (1-4)
in my fstab
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts auto mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
/dev/mtdblock2 /boot jffs2 rw 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
/dev/sda1 /media/hdd auto defaults 0 0
/dev/sdb1 /media/usb auto defaults 0 0
/dev/sdc1 /media/hdd1 auto defaults 0 0
/dev/sda1 /media/hdd ext3 defaults 1 2
Thank you for your answer
I'm almost close to the answer
Again, thank
Delete the line /dev/sda1 /media/hdd ext3 defaults 1 2 on line 11 of your fstab as you already have it defined in line 8 of your fstab.
I've updated the instructions in post #10 to include the instruction to press p for primary partition.
Here's the full procude below which should now get you up and running.
fdisk /dev/sda
You will see the following prompt below... type p after Command (m for help):
Command (m for help): p
This will display your disk information.
Now on the Command prompt type n for new partition.
Command (m for help): n
Command action
e extended
p primary partition (1-4)
Type p for Primary Partition.
Partition number (1-4): 1
You will see First cylinder (default 1) press return key
You will see Last cylinder (default your hdd size) press return key
Press w to write partition.
type quit to exit fdisk
now type the following.
mkfs.ext3 /dev/sda1
Depending on the size of your HDD this will take approx 10-20 minutes to complete.
Now mount the drive with this command
mount /dev/sda1 /media/hdd
now make a movie directory
cd /media/hdd
mkdir movie
Your drive is now ready to use.
Last edited by LeeGW; 28-03-2012 at 01:27 PM.
thank you
now i can record
Bookmarks