It is currently Wed Jun 19, 2013 4:20 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 9  Next
Author Message
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Wed Sep 02, 2009 9:20 pm 
Rookie Tonidoid
Rookie Tonidoid
Joined: Wed Sep 02, 2009 12:30 pm
Posts: 4

Alas... my fear. It is an Iomega (ooo... ahhh...ooo... an EMC company... yawn yawn...) something or other... wait... it is an http://www.amazon.com/gp/product/B001D7REJ4 to be exact.... love Amazon... wait... spend to much money there, hate Amazon (inside voice).

Technically a Seagate in a pretty wrapper I think: http://go.iomega.com/en-us/products/ext ... ewItem_tab

I will scrounge a different storage thingy and try as suggested. Mostly relieved that the one thing that I do in life - RTFM - had not failed me.

Thank you very much for the fast response and suggestions (seriously).

Paul


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Mon Jan 11, 2010 8:26 am 
Guru Tonidoid
Guru Tonidoid
Joined: Mon Nov 09, 2009 6:42 am
Posts: 165

I cannot get this to work :(

I have followed the instructions to the letter and have had no luck.

Here is my setup: Western Digital My Book Essential 1TB, 2 partitions, first one of 2GB and the rest in the second partition.

When I run the
Code:
cp -dpr /root/app/ /media/usb0/root/
command, nothing happens, is this normal? I do not get any sort of message? How long should I wait for the directory to copy?

Please find results to the following commands:

Code:
# df -h /
Filesystem            Size  Used Avail Use% Mounted on
rootfs                462M  284M  174M  63% /


Code:
# ls -l /media/usb0
total 172236
drwxr-xr-x  2 root root      4096 Nov 15  2008 bin
drwxr-xr-x  2 root root      4096 Aug 29 22:17 boot
-rw-r--r--  1 root root       187 Jul 12  2009 changes.txt
drwxr-xr-x  9 root root      4096 Jan  9  2009 dev
drwxr-xr-x 64 root root      4096 Jul 13  2009 etc
drwxr-xr-x  2 root root      4096 Jun 16  2009 home
drwxr-xr-x 11 root root      4096 May 20  2009 lib
drwx------  2 root root     16384 Jan 11 18:18 lost+found
drwxr-xr-x 10 root root      4096 Jan 30  2009 media
drwxr-xr-x  2 root root      4096 Jun 16  2009 mnt
-rw-r--r--  1 root root   4957156 Aug 30 00:51 modules.tar.gz
drwxr-xr-x  2 root root      4096 Apr 19  2009 opt
dr-xr-xr-x  2 root root      4096 Jan  1  1970 proc
drwxr-xr-x  8 root root      4096 Aug 27 20:25 root
-rw-r--r--  1 root root 171127779 Aug 30 00:08 rootfs.tar.gz
drwxr-xr-x  2 root root      4096 Jan 28  2009 sbin
drwxr-xr-x  2 root root      4096 Nov 13  2008 selinux
drwxr-xr-x  2 root root      4096 Jan 20  2009 srv
drwxr-xr-x  2 root root      4096 Jan  1  1970 sys
drwxr-xr-x  7 root root      4096 Jul 12  2009 tmp
drwxr-xr-x 15 root root      4096 Nov 13  2008 usr
drwxr-xr-x 13 root root      4096 May 17  2009 var


Code:
# ls -l /media/usb0/boot
total 2696
-rw-r--r-- 1 root root   65757 Aug 29 22:17 fat.ko
-rw-r--r-- 1 root root   64617 Aug 29 22:17 fuse.ko
-rw-r--r-- 1 root root 2595208 Aug 30 00:49 uImage
-rw-r--r-- 1 root root   14967 Aug 29 22:17 vfat.ko


Code:
# du -hs /media/usb0/lib/modules/2.6.30-rc6/
6.3M   /media/usb0/lib/modules/2.6.30-rc6/


Does everything look okay or not?

I'd appreciate the help as I have been fighting with the plug for a while now and it's obviously giving me a good beating!

Thanks


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Mon Jan 11, 2010 9:25 am 
Rookie Tonidoid
Rookie Tonidoid
Joined: Wed Sep 02, 2009 12:30 pm
Posts: 4

The copy should run quite fast (a few seconds). Can you put the output of a mount command here?

e.g.

Code:
you@usermachinename:~$ mount

It should return something like (but this is not exactly how yours will look):


rootfs on / type rootfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
tmpfs on /var/cache/apt type tmpfs (rw,noatime)
/dev/sdb1 on /media/usb0 type ext3 (rw,nodev,sync,noatime)


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Mon Jan 11, 2010 9:31 am 
Guru Tonidoid
Guru Tonidoid
Joined: Mon Nov 09, 2009 6:42 am
Posts: 165

Thanks for your reply pacmano

here is the output of the mount command

Code:
rootfs on / type rootfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /media/usb0 type ext3 (rw,nodev,sync,noatime)
/dev/sda2 on /media/usb1 type vfat (rw,nodev,sync,noatime)
tmpfs on /var/cache/apt type tmpfs (rw,noatime)


Looks good?

Thanks


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Mon Jan 11, 2010 9:45 am 
Guru Tonidoid
Guru Tonidoid
Joined: Mon Nov 09, 2009 6:42 am
Posts: 165

I think I have found out what's wrong but I don't know how to fix it :oops:

It seems that my all of the Tonido stuff has been copied to my second partition. So now, my 'media' folder is in the partition that I should be using for booting, and the 'tonido' stuff is in the second partition, which I cannot boot from. What should I do?

Code:
root@TonidoPlug:~# mount
rootfs on / type rootfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda2 on /media/usb0 type vfat (rw,nodev,sync,noatime)
/dev/sda1 on /media/usb1 type ext3 (rw,nodev,sync,noatime)
tmpfs on /var/cache/apt type tmpfs (rw,noatime)
root@TonidoPlug:~# cd /media/usb0
root@TonidoPlug:/media/usb0# ls
Documentaries  Films  TV series  music  photos  torrent  websharepro  workspace
root@TonidoPlug:/media/usb0# cd /root
root@TonidoPlug:~# cd /media/usb1
root@TonidoPlug:/media/usb1# ls
bin          dev   lib         mnt             proc           sbin     sys  var
boot         etc   lost+found  modules.tar.gz  root           selinux  tmp
changes.txt  home  media       opt             rootfs.tar.gz  srv      usr


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Mon Jan 11, 2010 11:15 am 
Guru Tonidoid
Guru Tonidoid
Joined: Mon Nov 09, 2009 6:42 am
Posts: 165

I really feel like giving up on the whole thing! :evil:

Tried 3 times, including once reformatting my whole hard drive, to no avail. My rootfs just won't move to sda1!!!!

here is the latest result for df -h

Code:
root@TonidoPlug:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                462M  284M  174M  63% /
tmpfs                 251M     0  251M   0% /lib/init/rw
varrun                251M  232K  251M   1% /var/run
varlock               251M     0  251M   0% /var/lock
udev                  251M   20K  251M   1% /dev
tmpfs                 251M     0  251M   0% /dev/shm
tmpfs                 251M     0  251M   0% /var/cache/apt
/dev/sda1             4.6G  794M  3.6G  18% /media/usb0
/dev/sda2             926G  1.7M  926G   1% /media/usb1


Any ideas anyone?

Thanks


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Mon Jan 11, 2010 3:14 pm 
Tonido Team
Tonido Team
Joined: Wed Jan 28, 2009 11:30 pm
Posts: 1361

Hi,
TonidoPlug can boot only of the first partition of the first USB harddisk.
Thats how the bios of the plug (uBoot) is configured.

Can you have only one partition in the entire harddisk and try.


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Mon Jan 11, 2010 6:40 pm 
Guru Tonidoid
Guru Tonidoid
Joined: Mon Nov 09, 2009 6:42 am
Posts: 165

Hi

thanks for your reply. I am a bit reluctant to have only one partition as it'll be ext3 and it's a bit of a pain to mount + copy/paste files on OS X using this system, but I'll try tonight and will let you know the outcome.

Cheers


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Tue Jan 12, 2010 4:12 am 
Guru Tonidoid
Guru Tonidoid
Joined: Mon Nov 09, 2009 6:42 am
Posts: 165

Okay Tuxedo, I have made only 1 partition in my HDD and tried to follow the instructions. I now get this error and cannot proceed further.

Code:
mkfs.ext3 /dev/sda1
mke2fs 1.41.3 (12-Oct-2008)
Could not stat /dev/sda1 --- No such file or directory

The device apparently does not exist; did you specify it correctly?


What does that mean?

I have tried another df -h and get this as output:

Code:
Filesystem            Size  Used Avail Use% Mounted on
rootfs                462M  284M  173M  63% /
tmpfs                 251M     0  251M   0% /lib/init/rw
varrun                251M  256K  251M   1% /var/run
varlock               251M     0  251M   0% /var/lock
udev                  251M  4.0K  251M   1% /dev
df: `/dev/shm': No such file or directory
df: `/dev/pts': No such file or directory
tmpfs                 251M   22M  230M   9% /var/cache/apt
udev                  251M  4.0K  251M   1% /dev


What should I do next?

Oh, yes, and I forgot to mention that now my plug is not working at all from the browser, I just get a 404 error. This is really starting to get on my nerves. This plug was supposed to make my life easier, but it certainly isn't right now...

Thanks


Offline
 Profile  
 Post subject: Re: Booting TonidoPlug using USB Drive
PostPosted: Tue Jan 12, 2010 9:37 am 
Tonido Team
Tonido Team
Joined: Wed Jan 28, 2009 11:30 pm
Posts: 1361

Ok, looks like the drive was mounted when the partition was made. So kernel will not reload the drive changes. So a plug reboot will probably help.

Before you format the drive, you can see if the drive is accessible by the plug
Code:
 # fdisk -l  //this command will return all partitions from attached drive


Quote:
Oh, yes, and I forgot to mention that now my plug is not working at all from the browser, I just get a 404 error.
What url were you trying to access. Can you please post a screenshot of the 404 error.


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 9  Next

All times are UTC - 6 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: