Booting TonidoPlug using USB Drive

Support for your TonidoPlug
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 8:55 pm

agrajag wrote: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)

I followed the steps at this link - based on the flash image rather than the method in the manual . . . and it worked! Don't really understand why it worked, but the browser access also works, which addresses another post I have out there about when I boot from the plug itself. So now I just need to figure out how to connect to my already existing tonido account to my usb-booted tonido rather than creating a new account.

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 » Fri Jan 21, 2011 6:41 am

Good to hear that it's working now.
Copy your profile to the stick is also descriped in the tutorial.
But here again in short terms:

1. Boot your Plug from the internal memory.
2. attach the USB drive
3. SSH into the Plug
4. control, if the USB-Drive gets mounted (and where it's mounted)

Code: Select all

mount

5. stop Tonido on the Plug and copy over your profile

Code: Select all

 initictl emit tstop

Code: Select all

cp -dpr /root/app/ /media/disk1part1/root/


(Change "disk1part1" to your needs.)

6. reboot your Plug now from the stick.
7. Go to the PlugAdmin-Site and change your Plug-Admin/SSH password (default is: "nosoup4u" or "nosoup4you")
8. Get a Beer and relax! :D

kleinfelter
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Wed Sep 23, 2009 3:40 pm

It Works! (Re: Booting TonidoPlug using USB Drive)

Postby kleinfelter » Wed Apr 06, 2011 5:49 pm

I've been going round-and-round for hours and hours, trying to get my TonidoPlug to boot from a USB flash drive. I tried 3 different drives (different brands, sizes, ext2 and ext3). I lovingly hand-crafted the partition table, ensuring that there was 1 partition, active, formatted, with un-tarred image.

It just kept booting from internal flash.

Then I simply entered "reboot" at the command prompt, with the USB connected, and it booted USB.

Rule: If it won't cold-boot USB, try warm-booting USB.

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

Re: Booting TonidoPlug using USB Drive

Postby Rusty » Thu Apr 07, 2011 1:44 am

That's funny, because mine always fails to boot from USB if i warm-boot. I have to have the plug powered-off, with usb drive already attached, and then power the plug on to get it to see the usb drive as a bootable option.

I suspect it is something to do with the usb drive's spin-up responsiveness; it spins-up quicker if the device it's plugged into has just been powered-on. If the device has been kept on and rebooted, then the usb drive stays asleep and doesn't come on in time for the plug to boot from it.

If i issue a "shutdown -r" command in ssh i'm sure my plug will boot into the flash memory, which means remote restarts are not available to me...

michelk
Regular Tonidoid
Regular Tonidoid
Posts: 17
Joined: Tue Dec 07, 2010 5:25 am

Re: Booting TonidoPlug using USB Drive

Postby michelk » Thu Apr 07, 2011 12:21 pm

rusty,

You are right. I have 2 plugs and time to time they lose their connection to the USB drive with my perfectly working LAMP stack (and Medical app). Usually it's when I am not using the plug (i am the only one having access). To restart I can only power off/on. I have tried every other boot... I even tried to trigger the reboot myself (hey, I rather control when it fails) to no avail.

I have looked at all the LOG files but can't find anything failing. Is there a way the plug itself could detect the FS is "gone" and initiate from the inside a "mount" or whatever is need to get back the USB drive online?

BTW, I have 5 different drives (make and size) with which I have tried and I have a CRON job that writes a new file every minute... just to keep the drive spinning.

Thanks

bendy
Super Tonidoid
Super Tonidoid
Posts: 40
Joined: Tue Mar 29, 2011 5:02 am

Re: Booting TonidoPlug using USB Drive

Postby bendy » Fri Apr 15, 2011 11:46 am

Help please: Boot from flash drive & have External HDD

I have the plug booting from a flash drive (great howto)

I also have a 500Gb external powered drive that I cant boot from (one of the non-boot ones i guess)

So i thought get a powered USB hub
Plug in the booting flash and the HDD
boot off the flash and have the 500Gb drive as storage.

But it does not want to boot.

It does boot from the flash if the HDD is not plugged in.

Any thoughts?

Thanks

emerzon
Rookie Tonidoid
Rookie Tonidoid
Posts: 2
Joined: Fri Mar 04, 2011 8:47 pm

Re: Tonidoplug U-Boot support

Postby emerzon » Sun Jun 19, 2011 7:15 pm

Tuxedo wrote:Hi,
Unfortunately, Tonido plug doesn't come with the mini-usb jack or the SD card slot.

However you will have a normal usb slot and you can use a USB key or an external harddisk to boot your plug from that. If you are planning to use an external harddisk we would recommend a powered external harddisk. If you have multiple USB devices you can use an USB hub.


Hi. I can boot another OS if I connect a USB Drive directly to Tonido USB port, but connecting it to a USB Hub doesn't seem to do the trick.
The USB Hub works fine after Tonido booted, though.

Is there any trick to be able to boot from a thumbdrive on a USB hub?

dongadoy
Guru Tonidoid
Guru Tonidoid
Posts: 197
Joined: Wed Oct 28, 2009 9:28 pm
Location: Framingham, MA, USA

Re: Booting TonidoPlug using USB Drive

Postby dongadoy » Tue Jun 21, 2011 3:04 pm

Experiment with other ports of the USB hub. If that does not help, experiment with other USB hubs. That's the feeling I get from reading these forums.

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

Re: Booting TonidoPlug using USB Drive

Postby bradley4681 » Thu Aug 11, 2011 4:47 pm

i have been booting off a 4gb flash drive from a usb 2.0 hub for some time. however if i have my 2tb usb drive plugged into the hub at the same time the plug boots from internel storage only. has anyone else run into this?

dongadoy
Guru Tonidoid
Guru Tonidoid
Posts: 197
Joined: Wed Oct 28, 2009 9:28 pm
Location: Framingham, MA, USA

Re: Booting TonidoPlug using USB Drive

Postby dongadoy » Fri Aug 12, 2011 6:09 am

Yes. Read this thread for many different stories.


Return to “TonidoPlug Support”

Who is online

Users browsing this forum: No registered users and 5 guests