deadlocked » Ubuntu/Linux

By: Deadlocked  05/12/2011
Keywords: External Drive

deadlocked » Ubuntu/Linux

OK, another one for posterity. I’ve a desktop PC that I’ve converted into a Ubuntu-based server by putting it in my utility room with no monitor connected to it (that’s what makes it a server, see?). I’ve attached a 750GB external USB HDD to it and run SMB/CIFS and netatalk (for my OS X machines). That’s what makes it a file server, right?

I occasionally run into problems when Ubuntu reboots though – the partitions on the external drive can’t be mounted for whatever reason (usually because they weren’t dismounted properly before the reboot). Ubuntu’s boot process stops and it displays a prompt directing the user to press ‘S’ to skip mounting or ‘M’ to manually fix whatever the problem was. Although you can ping the server, you can’t SSH to it. Once you’ve figured out that that’s why it won’t boot, all you need to do is connect a keyboard, press ‘S’ a couple of times (once for each partition on the external HDD) and Ubuntu will complete its boot cycle. That gets a bit tedious though, so to fix this once and for all, edit your fstab (/etc/fstab) and add ‘nobootwait’ to the options for each drive.

/dev/disk/by-label/STUFF /mnt/STUFF hfsplus auto,users,rw,uid=dermot,nobootwait 0 0
/dev/disk/by-label/MOARSTUFF /mnt/MOARSTUFF hfsplus auto,users,rw,uid=dermot,nobootwait 0 0

Keywords: External Drive

Contact Deadlocked

Email - none provided

Print this page

Share

Other products and services from Deadlocked

05/12/2011

deadlocked » Stuff - shite

Because of our proximity to Wales and especially Northern Ireland, we in the east and north of the country have been able to receive BBC broadcasts for decades despite not paying a license fee in that country. My attempts to circumvent their geo-location recognition mechanisms have always been fruitless until one day lest week when I was reading through the man page for SSH.


05/12/2011

deadlocked » Mac

I’m not sure if it’s a peculiarity of my file server – which runs Ubuntu with netatalk to share via AFP – but even though the server itself showed up in the network sidebar of the ‘Select Image to Restore From…’ file dialog, none of its shares did. My assumption was that I could go into Disk Utility, partition my new HDD and then restore the SparseBundle to it.


05/12/2011

deadlocked » Stuff

What this means is that your humble Mac can function as a streaming video server on your WLAN for your iPhone or iPod Touch with a little bit of legwork and a little PHP app that I threw together. EasyStream should list the video in your EasyStream/Movies folder; tapping on one should cause QuickTime to open and after a short pause to buffer, your video should start playing.