Page 7 of 9

Re: Booting TonidoPlug using USB Drive

Posted: Fri Jan 07, 2011 6:48 am
by michelk
I can only add to this thread that most USB drive won't boot w the w/lamp stack... I have posted my experience om a different thread. It's nothing to do with permissions (I had that solved long time ago on the one and only one drive working) but with spin-up latency.

Re: Booting TonidoPlug using USB Drive

Posted: Thu Jan 13, 2011 6:59 pm
by Rusty
My Linux knowledge is limited (to the time i've owned a Plug!). I've read the talk of booting from USB as leaving the flash memory "as a backup". I'd like the flexibility of a USB HDD boot, as I'd like to install a different DLNA app to talk to my Sony BDP-S570; uShare streams nothing! (That's a whole other question in itself; which DLNA app to talk to Sony BDPs?!)

Say I do setup USB HDD booting; if I decide I want to boot from the internal flash again as the norm, how would I tell the Plug to stop booting off of USB HDD?

Can I make the primary partition on the USB HDD unbootable by setting it to 'not active'?

Will the BIOS always boot from USB if the USB device is capable?

Re: Booting TonidoPlug using USB Drive

Posted: Thu Jan 13, 2011 7:08 pm
by bradley4681
It will always try to boot off USB first and if it finds a bootable drive on USB it will boot it. If you ever wanted to return to booting from the internal flash just unplug your USB device, boot, and then plug your USB device back in. From there you can mount the external drive and rename the boot directory. The next time you reboot it should boot to internal without needing to be unplugged.

Code: Select all

cd /media/YourUSBdriveName
mv boot boot.old


If you ever wanted to go back just rename the boot folder back to just boot. there may be a different/better way to accomplish this but I just tried it myself and it worked.

Re: Booting TonidoPlug using USB Drive

Posted: Wed Jan 19, 2011 12:56 am
by DonnieP
Well, apparently I just wasted $100 on Tonido. My pre-existing 2TB Western Digital powered USB drive: I've tried every possible combination of rebooting, unplugging, you name it all evening and never got it to boot to USB. Otherwise when it boots to NAND it mounts all partitions fine and they are usable for anything but booting. Suggestion: Tonido, you are going to have to provide the necessary tools for people to adjust their uBoot environment to boot to USB regardless of how long a drive takes to get ready. Very frustrating for an experienced Linux user.

Re: Booting TonidoPlug using USB Drive

Posted: Wed Jan 19, 2011 3:23 am
by agrajag
You should check, if your HDD has a MBR based partitiontable or an GPT based one (or MBR+GPT mixed up) tonido boots only from MBR based partition tables and only if the systemfiles are on the 1st partition (if you've more than one). since you've only 2TB there will be now problem with an MBR based partition.

Re: Booting TonidoPlug using USB Drive

Posted: Wed Jan 19, 2011 6:18 am
by DonnieP
agrajag wrote:You should check, if your HDD has a MBR based partitiontable or an GPT based one (or MBR+GPT mixed up) tonido boots only from MBR based partition tables and only if the systemfiles are on the 1st partition (if you've more than one). since you've only 2TB there will be now problem with an MBR based partition.

Partition table is msdos according to parted. And the rootfs and modules files were untarred to the first partition which was formatted ext3.

Re: Booting TonidoPlug using USB Drive

Posted: Wed Jan 19, 2011 8:11 am
by agrajag
OK. But you can still could have a mixed Table with MBR+GPT.
What does

Code: Select all

fdisk -l /dev/sdX

output? (replace X with the correct device)

Re: Booting TonidoPlug using USB Drive

Posted: Wed Jan 19, 2011 7:38 pm
by DonnieP
agrajag wrote:OK. But you can still could have a mixed Table with MBR+GPT.
What does

Code: Select all

fdisk -l /dev/sdX

output? (replace X with the correct device)


Code: Select all

root@TonidoPlug:~# fdisk -l

Disk /dev/sda: 2000.3 GB, 2000396746752 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000524bc

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2462    19769344   83  Linux
/dev/sda2            2462        2681     1757184   82  Linux swap / Solaris
/dev/sda3            2681      243202  1931984896   83  Linux


Re: Booting TonidoPlug using USB Drive

Posted: Thu Jan 20, 2011 1:51 pm
by agrajag
Hmm, okay looks like a regular good ol' MBR Partition-Table.
I think you've copied over the Systemfiles to the 1st partition?
You can see the Steps here: viewtopic.php?f=32&t=2217
(only the 1st part)

Other ideas:
Is the disk plugged directly to the Plug or through a USB Hub?
Is the disk USB-Powered?

Re: Booting TonidoPlug using USB Drive

Posted: Thu Jan 20, 2011 6:29 pm
by DonnieP
Yes, I copied system files over to /dev/sda1 following the procedure in the manual, but I will try the method you reference using the flash image instead. The usb drive has its own power and is plugged directly into the tonidoplug, no hub.