Booting TonidoPlug using USB Drive

Support for your TonidoPlug
michelk
Regular Tonidoid
Regular Tonidoid
Posts: 17
Joined: Tue Dec 07, 2010 5:25 am

Re: Booting TonidoPlug using USB Drive

Postby michelk » Fri Jan 07, 2011 6:48 am

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.

Rusty
Regular Tonidoid
Regular Tonidoid
Posts: 17
Joined: Tue Nov 24, 2009 4:03 am

Re: Booting TonidoPlug using USB Drive

Postby Rusty » Thu Jan 13, 2011 6:59 pm

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?

bradley4681
Super Tonidoid
Super Tonidoid
Posts: 25
Joined: Fri Jan 07, 2011 2:49 pm

Re: Booting TonidoPlug using USB Drive

Postby bradley4681 » Thu Jan 13, 2011 7:08 pm

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.

DonnieP
Regular Tonidoid
Regular Tonidoid
Posts: 15
Joined: Sun Jan 16, 2011 9:02 pm

Re: Booting TonidoPlug using USB Drive

Postby DonnieP » Wed Jan 19, 2011 12:56 am

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.

User avatar
agrajag
Veteran Tonidoid
Veteran Tonidoid
Posts: 77
Joined: Tue Dec 14, 2010 9:25 am

Re: Booting TonidoPlug using USB Drive

Postby agrajag » Wed Jan 19, 2011 3:23 am

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.

DonnieP
Regular Tonidoid
Regular Tonidoid
Posts: 15
Joined: Sun Jan 16, 2011 9:02 pm

Re: Booting TonidoPlug using USB Drive

Postby DonnieP » Wed Jan 19, 2011 6:18 am

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.

User avatar
agrajag
Veteran Tonidoid
Veteran Tonidoid
Posts: 77
Joined: Tue Dec 14, 2010 9:25 am

Re: Booting TonidoPlug using USB Drive

Postby agrajag » Wed Jan 19, 2011 8:11 am

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)

DonnieP
Regular Tonidoid
Regular Tonidoid
Posts: 15
Joined: Sun Jan 16, 2011 9:02 pm

Re: Booting TonidoPlug using USB Drive

Postby DonnieP » Wed Jan 19, 2011 7:38 pm

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


User avatar
agrajag
Veteran Tonidoid
Veteran Tonidoid
Posts: 77
Joined: Tue Dec 14, 2010 9:25 am

Re: Booting TonidoPlug using USB Drive

Postby agrajag » Thu Jan 20, 2011 1:51 pm

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?

DonnieP
Regular Tonidoid
Regular Tonidoid
Posts: 15
Joined: Sun Jan 16, 2011 9:02 pm

Re: Booting TonidoPlug using USB Drive

Postby DonnieP » Thu Jan 20, 2011 6:29 pm

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.


Return to “TonidoPlug Support”

Who is online

Users browsing this forum: No registered users and 9 guests