View unanswered posts | View active topics It is currently Tue May 21, 2013 4:04 am



Reply to topic  [ 15 posts ]  Go to page 1, 2  Next
 Install optware to HDD1 
Author Message

Joined: Mon Feb 06, 2012 11:34 am
Posts: 14
Post Install optware to HDD1
Hi all,

I just managed to install optware with ipkg as package manager. Great !

But after I install a few packages ipkg warns me that I run out of disk space.

Turns out that all the packages are installed in the internal flash memory.

How can I install optware and the packages installed with ipkg on my HDD1?

Thank you.

Sebastiaan.


Tue Apr 17, 2012 12:07 pm
Profile

Joined: Tue Oct 05, 2010 9:35 pm
Posts: 4299
Location: Netherlands
Post Re: Install optware to HDD1
Moved to Other Developments.

_________________
Evert

Playon!HD Mini Firmware 7317 modified [192.168.178.3]
PC Windows 7-64 SP1 [192.168.178.DHCP]
PC Windows 7-64 SP1 + Virtual XP SP3 [192.168.178.DHCP]
Fritz!Box 7390 [192.168.178.1]
Seagate BlackArmor 400 4 x 3TB in RAID-5 [192.168.178.2]


Tue Apr 17, 2012 12:33 pm
Profile

Joined: Tue Jan 31, 2012 2:03 am
Posts: 90
Post Re: Install optware to HDD1
On the internal hard disk is a linux ext3 partition which is mounted on /tmp/hdd/root
Create a directory /tmp/hdd/root/opt

Link the directory.
mount -o bind /tmp/hdd/root/opt /usr/local/etc/opt
On reboot you will have to reenter it again or create a script or modify /usr/local/etc/rcS
Install optware in /tmp/hdd/root/opt

I installed optware on a 4Gb multi media card formatted as ext3 and installed optware there.
1. I can remove the mmc anytime I like
2. If you need to reformat the hard disk again You will have to reinstall optware again.
3. The mount location in my case is fixed at /tmp/usbmounts/mmcblk0p1

Have fun.

JR

_________________
Imac 19" OSX Mountain LIon 10.8
Playon HD2 Firmware_Playon!HD2_PV73700_v9.5.3.r7716. (internal Disk HFS+ Ext3).
Sd card (Ext3 + optware).
Netgear WNDR 3700 Gb Router.
Netgear 8 port Gb Switch.
Ubuntu -> Virtual Box -> OSX.
Ipad 2.
Iphone.


Tue Apr 17, 2012 2:17 pm
Profile

Joined: Mon Feb 06, 2012 11:34 am
Posts: 14
Post Re: Install optware to HDD1
I did try the "mount -o bind" trick but it did not work because the HDD is not mounted with fstab.

"mount -o bind" only works if the device is mounted via fstab.

Sebastiaan.


Tue Apr 17, 2012 2:23 pm
Profile

Joined: Tue Jan 31, 2012 2:03 am
Posts: 90
Post Re: Install optware to HDD1
I tried this just now
/ # mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw,nodiratime)
devpts on /dev/pts type devpts (rw)
none on /sys type sysfs (rw)
none on /tmp type ramfs (rw)
/dev/mtdblock/2 on /usr/local/etc type yaffs (rw,noatime)
/dev/rd/0 on /mnt/rd type vfat (rw,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
/dev/mmc/blk0/part1 on /tmp/usbmounts/mmcblk0p1 type ext3 (rw)
/dev/scsi/host0/bus0/target0/lun0/part1 on /tmp/hdd/volumes/HDD1 type ufsd (rw,nodiratime,nls=utf8,uid=0,gid=0,fmask=0,dmask=0,nocase,force)
/dev/scsi/host0/bus0/target0/lun0/part3 on /tmp/hdd/root type ext3 (rw)

mount -o bind /tmp/hdd/root/opt /usr/local/etc/opt

/ # mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw,nodiratime)
devpts on /dev/pts type devpts (rw)
none on /sys type sysfs (rw)
none on /tmp type ramfs (rw)
/dev/mtdblock/2 on /usr/local/etc type yaffs (rw,noatime)
/dev/rd/0 on /mnt/rd type vfat (rw,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
/dev/mmc/blk0/part1 on /tmp/usbmounts/mmcblk0p1 type ext3 (rw)
/dev/scsi/host0/bus0/target0/lun0/part1 on /tmp/hdd/volumes/HDD1 type ufsd (rw,nodiratime,nls=utf8,uid=0,gid=0,fmask=0,dmask=0,nocase,force)
/dev/scsi/host0/bus0/target0/lun0/part3 on /tmp/hdd/root type ext3 (rw)
/dev/scsi/host0/bus0/target0/lun0/part3 on /usr/local/etc/opt type ext3 (rw)

Did you created directories
/usr/local/etc/opt
/tmp/hdd/root/opt

JR

_________________
Imac 19" OSX Mountain LIon 10.8
Playon HD2 Firmware_Playon!HD2_PV73700_v9.5.3.r7716. (internal Disk HFS+ Ext3).
Sd card (Ext3 + optware).
Netgear WNDR 3700 Gb Router.
Netgear 8 port Gb Switch.
Ubuntu -> Virtual Box -> OSX.
Ipad 2.
Iphone.


Tue Apr 17, 2012 2:49 pm
Profile

Joined: Mon Feb 06, 2012 11:34 am
Posts: 14
Post Re: Install optware to HDD1
My bad.

It did work.

Do you know how big that root partition on the HDD is?

And if its to small can i change it?

Thanks a million

Sebastiaan.


Tue Apr 17, 2012 2:53 pm
Profile

Joined: Tue Jan 31, 2012 2:03 am
Posts: 90
Post Re: Install optware to HDD1
/usr/local/etc # df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 118.4M 118.4M 0 100% /
/dev/mtdblock/2 40.0M 1.7M 38.3M 4% /usr/local/etc
/dev/rd/0 40.0k 40.0k 0 100% /mnt/rd
/dev/mmc/blk0/part1 1.9G 324.1M 1.5G 18% /tmp/usbmounts/mmcblk0p1
/dev/scsi/host0/bus0/target0/lun0/part1 148.0G 10.3G 137.7G 7% /tmp/hdd/volumes/HDD1
/dev/scsi/host0/bus0/target0/lun0/part3 509.6M 26.7M 456.9M 6% /tmp/hdd/root

It think is is possible but might have to use Gparted on a linux box to resize the partition
and also have the chance the HDD2 will not except this and ask for a format, else use mmc card

JR

_________________
Imac 19" OSX Mountain LIon 10.8
Playon HD2 Firmware_Playon!HD2_PV73700_v9.5.3.r7716. (internal Disk HFS+ Ext3).
Sd card (Ext3 + optware).
Netgear WNDR 3700 Gb Router.
Netgear 8 port Gb Switch.
Ubuntu -> Virtual Box -> OSX.
Ipad 2.
Iphone.


Tue Apr 17, 2012 3:00 pm
Profile

Joined: Tue Oct 05, 2010 9:35 pm
Posts: 4299
Location: Netherlands
Post Re: Install optware to HDD1
You can use the GParted Live CD with a Windows PC to repartition the hard disk.

Quote:
The third Ext3 partition has an original size of 512 MB and is intended for extensions of the firmware. Transmission is installed on this partition, when that is switched on. If you desire to use many additional extensions, you may enlarge this partition to 1 or 2 GB. I set the size at 1024 MB. Under SDK 0 and 3 I was unable to enlarge this partition to more than 1,945 MB without the Playon prompting to format the disk again. This restriction no longer exists in SDK 4 and 5.

_________________
Evert

Playon!HD Mini Firmware 7317 modified [192.168.178.3]
PC Windows 7-64 SP1 [192.168.178.DHCP]
PC Windows 7-64 SP1 + Virtual XP SP3 [192.168.178.DHCP]
Fritz!Box 7390 [192.168.178.1]
Seagate BlackArmor 400 4 x 3TB in RAID-5 [192.168.178.2]


Tue Apr 17, 2012 3:05 pm
Profile

Joined: Mon Feb 06, 2012 11:34 am
Posts: 14
Post Re: Install optware to HDD1
Huray

I think it works.

Thanks a million.

I will pull out the hd and stick it into a computer and try to enlarge the partition to 1,945mb.

Sebastiaan.


Tue Apr 17, 2012 3:08 pm
Profile

Joined: Tue Oct 05, 2010 9:35 pm
Posts: 4299
Location: Netherlands
Post Re: Install optware to HDD1
Before taking out the hard disk, try if you can repartition it as a USB hard disk. That means just connecting the USB cable.
I could repartition a USB disk (not the Playon however) with the GParted Live CD.

_________________
Evert

Playon!HD Mini Firmware 7317 modified [192.168.178.3]
PC Windows 7-64 SP1 [192.168.178.DHCP]
PC Windows 7-64 SP1 + Virtual XP SP3 [192.168.178.DHCP]
Fritz!Box 7390 [192.168.178.1]
Seagate BlackArmor 400 4 x 3TB in RAID-5 [192.168.178.2]


Tue Apr 17, 2012 3:13 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.