
- #USER FTP DISK QUOTA MYBOOKLIVE INSTALL#
- #USER FTP DISK QUOTA MYBOOKLIVE UPDATE#
- #USER FTP DISK QUOTA MYBOOKLIVE ARCHIVE#
- #USER FTP DISK QUOTA MYBOOKLIVE SOFTWARE#
- #USER FTP DISK QUOTA MYBOOKLIVE PASSWORD#
#USER FTP DISK QUOTA MYBOOKLIVE INSTALL#
apt-get install ca-certificates build-essential uboot-mkimage ncurses-dev unzipĭownload and patch the kernel wget wget wget xz -dc linux-2.6.32.65.tar.xz | tar cd patch -p1 -i patch -p1 -i. In our chroot, we now install all the tools we require for kernel building and creation of th eu-boot bootloader entrypoint.

These are mostly common options, the tmpfs size is limited since the MybookLive only has 256MB RAM. dev/sda4 /mnt/data ext4 defaults,auto,noatime,nodiratime 0 0 dev/sda1 / ext3 defaults,noatime,nodiratime 0 0 My choice is to mount the big data partition to /mnt/data, feel free to adjust. Therefore we have to change the following line in /etc/ssh/sshd_config: PermitRootLogin: prohibit-passwordĪlternatively, you can place the public part of your ssh key in /root/.ssh/authorized_keys.
#USER FTP DISK QUOTA MYBOOKLIVE PASSWORD#
Newer versions of openssh in debian disallow password based login for the root user. In the chroot, we install openssh-server and set a password for the root user apt-get apt-get install openssh-server passwd Gondor:/tmp# mount -o bind /dev /newsys/dev/ Mounting dev and proc: Gondor:/tmp# mount -o bind /proc /newsys/proc/ Gondor:~# mount -o bind /DataVolume/shares/kernel/ /newsys/root/kernel/ Gondor:~# mkdir /DataVolume/shares/kernel to: deb stable main contrib non-freeĭeb stable/updates main contrib non-freeĭeb-src stable/updates main contrib non-freeĭeb stable-updates main contrib non-freeĭeb-src stable-updates main contrib non-freeįor kernel compilation, the 2G default space are not enough, thus we bind-mountĪn external directory before chrooting. Gondor:/tmp# echo 'gondor' > /newsys/etc/hostnameĮdit /newsys/etc/apt/sources.list Gondor:/tmp# vim /newsys/etc/apt/sources.listĬhange content e.g. Networking setup is achived by copying interfaces and nf and setting a hostname Gondor:/tmp# cp /etc/network/interfaces /newsys/etc/network/ Gondor:/tmp# gpg -no-default-keyring -keyring /usr/share/keyrings/debian-archive-keyring.gpg -keyserver -recv-keys 6FB2A1C265FFB764īootstrap the base system Gondor:/tmp# debootstrap -arch powerpc wheezy /newsys/
#USER FTP DISK QUOTA MYBOOKLIVE ARCHIVE#
I had to import the new debian archive keys since the ones on my mybooklive were too old

Gondor:/tmp# dpkg -i debootstrap_1.0.67_all.deb Bootstrap Debianįirst we install debootstrap Gondor:/tmp# wget If the system is unbootable, you have to do this by disassembling the MyBookLive and attaching the HD to an external Computer running Linux. RECOVERY: In case that something went wrong and you need to restore the original system, add sda1 to the raid and resync. Now we can format the empty partition and mount it. Mdadm: hot removed /dev/sda1 from /dev/md1 Gondor:/boot# mdadm -manage /dev/md1 -remove /dev/sda1 Lets first fail and remove sda1: Gondor:/boot# mdadm -manage /dev/md1 -fail /dev/sda1

In this case, it is md1 but other MyBook Live systems seem to have different device numbers. The RAID device can beįound out via proc filesystem: Gondor:/boot# cat /proc/mdstat We will use sda1 as our new root partition and thus remove it from the RAID 1. Number Start End Size File system Name Flagsģ 15.7MB 528MB 513MB linux-swap(v1) primary Sector size (logical/physical): 512B/512B Welcome to GNU Parted! Type 'help' to view a list of commands. Some similar output: Gondor:/boot# parted

One of the two RAID 1 partitions for our new system in this guide. The system partition is a raid 1 such that upgrades can be rolled back. Furthermore, we obtain security patches directly from debian instead of relying on infrequent firmware upgrades.
#USER FTP DISK QUOTA MYBOOKLIVE SOFTWARE#
If you don’t need the dlna software and are interested in installing software for a more ‘recent’ system, here we go. It cannot be easily upgraded to wheezy though. The standard installation is a mix of debian squeeze and wheezy and comes with dlna / air play software, ftp, smb and afp access, all configurable through a web interface. The MyBook Live is hardware wise a pretty nice NAS, featuring an embedded powerpc board and gigabit ethernet.
#USER FTP DISK QUOTA MYBOOKLIVE UPDATE#
