From NAS-Central Iomega Wiki
Jump to: navigation, search

LifeLine is the firmware which is installed on all modern Iomega/Lenovo NASses. Basically they have this disk layout:

Start MD VG LV size mount point content
Sector 1 512 Legacy MBR
Sector 2 1536 GPT Partition table
/dev/sda1 md0 md0_vg BFDlv 4GB /boot This volume mainly contains 3 files, apps, config and oem, which are loopmounted on the rootfs. apps contains a (small) linux rootfs, while config contains the contents of /etc. oem contains branding info, and is small (+/-50k).
vol1 16GB /mnt/system Seems to contain all stuff which is not in a bare linux rootfs
/dev/sda2 md1 abcdef01_vg lv12345678 rest /mnt/pools/A/A0 Contains the user data

Some models (EZ Media & Backup Center) have an uImage and initrd in the raw diskspace between the GPT and the first partitions. The Home Media Cloud Edition also has a bootloader here. Other models (ix2-200 CE) have the kernel and initrd in flash.

Package Repository

LifeLine Linux distro appears to be based on NSLU2-Linux, so we can make use of their resources with the ipkg package manager.

Create /etc/ipkg.conf and add the following:

src cross
src native

Update package cache:

# ipkg update

Now you can list available packages with:

# ipkg list

Optionally, to keep Optware independent of the stock system, install an alternative "Optware" ipkg under /opt:

# mv /opt/etc/ipkg.conf{,.dist}
# mv /etc/ipkg.conf /opt/etc/
# ipkg -f /opt/etc/ipkg.conf install ipkg-opt
# PATH=/opt/bin:$PATH
# hash -r
# type ipkg
ipkg is /opt/bin/ipkg
# ipkg update
# ipkg install ipkg-opt

Then add /opt/bin to the system-wide PATH in /etc/profile, so that the new ipkg is preferred.

Pages in category "LifeLine"

The following 3 pages are in this category, out of 3 total.