HFS+ and other questions about Archlinux

Ask questions about Arch Linux ARM. Please search before making a new topic.

HFS+ and other questions about Archlinux

Postby hilikustue » Thu Sep 22, 2011 11:01 am

Hi,

I recently bought a Pogoplug Pro and I am bit disappointed about its functionality.
So I decided that I will get my hands dirty and install Archlinux ARM on it. (mainly I want to run a Plex Media Server, sabnzbd and samba on it)

I have an external Hard drive with 2 TB which is almost full. It is formatted in HFS+.

Can Archlinux handle HFS+? Because otherwise I would have to wait until I can afford a second external hard drive, copy that, reformat and so on.

I read many guides and many times the guides say that the process of installing archlinux does not affect the original software installed on the Pogoplug. The question is, can I choose which OS should boot? This way I could retain the Pogoplug services when I know I am gonna be away for a longer period and otherwise boot Archlinux. That would be pretty neat.

If I have my 2 TB Hard drive and a second 4 TB hard drive, can I do a Software Raid 1 with Archlinux? So that the 2 TB drive would be mirrored with the 4 TB drive but leave the spare 2 TB usable?

Thank you in advance for the help.
hilikustue
 
Posts: 30
Joined: Thu Sep 22, 2011 10:51 am

Re: HFS+ and other questions about Archlinux

Postby WarheadsSE » Thu Sep 22, 2011 12:30 pm

Plex is not open source, and as far as I have manged to see, there are no ARM binaries, so that one is out of the question (sorry)

As for choosing which to boot, there is a small script that can be run to "return" to factory OS (aka, it resets the bootloader variables to point at the built-in NAND as compared to the usb/sata drive.)

You can do a software raid 1 I believe, but to be honest, you're not going to see any great performance with it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: HFS+ and other questions about Archlinux

Postby hilikustue » Thu Sep 22, 2011 12:50 pm

Thank you for your answer.

I forgot to say in my first post that I am not a complete Linux noob but I am an experienced user. I worked as a user for about a year Suse and Mint and I even had to install some software via compiling and so on using the terminal. But when it goes down to bootloaders and so on, well yeah I am a noob in this area^^

Ok, that leaves Plex out. I am not too fixed on Plex and I think I remember from various searches and reads that an XBMC or Boxee Server thingy should run on the Pogo, right?

Regarding the boot: So theoretically it should be possible to have two scripts at hand, which I could run on the Pogo and therefore change the bootloader and which OS to boot by simply executing one of the scripts? Then I reboot and voila. Or am I thinking this too easy?

The Software Raid 1 shouldn't be too hard for the CPU or USB. Anything above 5 MB/s is absolutely sufficient for my needs anyways.

That leaves the question with HFS+ compatibility.
hilikustue
 
Posts: 30
Joined: Thu Sep 22, 2011 10:51 am

Re: HFS+ and other questions about Archlinux

Postby WarheadsSE » Thu Sep 22, 2011 2:46 pm

I have no HFS(+) drives myself, so I can't speak to that.

I can however easily create a set of 2 scripts for you to use for switching back and forth, yes.

The current 'oxnas-revert.sh' script is a little overkill for just swapping back and forth.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: HFS+ and other questions about Archlinux

Postby ankit » Thu Sep 22, 2011 4:28 pm

The oxnas kernel you get when you install arch does support hfs+ in read-only mode. I believe it should also work with read-write if you disable journaling on the file system (but I haven't tried this).
ankit
 
Posts: 3
Joined: Thu Aug 25, 2011 7:54 pm

Re: HFS+ and other questions about Archlinux

Postby hilikustue » Thu Oct 13, 2011 12:36 pm

Hi,

today I installed Archlinux on an 8 GB Flash Drive (to have enough space to play around).
I already did the first steps and created a 4 GB Swap File (I read that sabnzbd works better with a bigger swap file and since I have an 8 GB Stick...)
I installed cherokee, samba and sabnzbd (I dodn't configure it yet though)
I plugged my external drive into my Mac and deactivated Journaling.
Then I plugged it into the Plug but of course it doesn't automount. How can I activate automount? Or how exactly do I access the drive? The folder mnt and media was empty.

On another note:
I just typed in reboot in the shell and my Plug is flashing its light for 3 minutes now. How long does it take to reboot? Could this be because of the big swapfile?

thank you.


Edit:
After 3 hours of flashing I cut the power to my pogoplug and unplugged the external HDD. Then I plugged it into the power supply again. After another 2 minutes of flashing I wanted to try the tip given in the installation tutorial:
$this->bbcode_second_pass_quote('', 'P')lace your boot drive in another Linux computer/device and check the file system. If you're still having issues then we'll proceed with starting from scratch on the rootfs.

So I plugged the USB Flash Drive into my Mac, mapped it to a virtual Linux Mint Installation and tried the Disk Utility. This gives me an error:
$this->bbcode_second_pass_quote('', 'T')he device is busy. Details: Device is mounted and no online capability in fsck tool for file system

What could I do now?

Edit2:
Ok, I followed this guide on the installation tutorial page here http://archlinuxarm.org/platforms/armv6 ... provideov3 :
$this->bbcode_second_pass_quote('', ' ')Following steps 7 and 8 above, partition and format the drive (using the correct /dev device, highly likely NOT sda). Download and extract the root filesystem tarball onto the new ext3 partition as the root user, not just sudo. Create a file at /usr/local/mac_addr and place in it your Pro's MAC address (its on the bottom of the unit) in the format XX:XX:XX:XX:XX:XX. Safely umount the drive from the computer, plug it back in to the powered-off Pogoplug, and then plug in the Pogoplug.

It is still flashing but I get an IP address and log into the Plug via SSH. YES!!
I am not sure what I should do now from here. Should I continue now from step 9 http://archlinuxarm.org/platforms/armv6 ... provideov3 ?

Edit3:
I did manage to restore the Pogoplug to the Pogoplug Software by searching this forum and getting the needed files manually. I am reinstalling Archlinux at the moment like it is described in the tutorial again.
I am still curious what fried the file system on the usb stick.
hilikustue
 
Posts: 30
Joined: Thu Sep 22, 2011 10:51 am
Top


Return to User Questions

Who is online

Users browsing this forum: No registered users and 21 guests