![]() |
2013-12-03
, 07:15
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#841
|
The Following User Says Thank You to juiceme For This Useful Post: | ||
![]() |
2013-12-03
, 07:21
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#842
|
Edit: Is this execute OK? (have run chmod a+rx /sbin/preinit*)
~ # ls -l /sbin/preinit*
lrwxrwxrwx 1 root root 5 Oct 29 22:51 /sbin/preinit -> /init
![]() |
2013-12-03
, 07:32
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#843
|
Yeah thought so have just tried with this code via ssh with preinits.tar in device MYDocs but message can't find directory etc?
garp@garp-Lenovo-B590:~$ sudo su
[sudo] password for garp:
root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15
************************************************** ******
* Welcome to RM-696 ubiboot-02 maintanance console *
************************************************** ******
Enter passphrase for key 'my_n9_identity':
~ # tar -xvf preinits.tar -C /
tar: can't open 'preinits.tar': No such file or directory
~ #
echo "" > /sys/devices/platform/musb_hdrc/gadget/lun0/file
mount /dev/mmcblk0p1 /mnt/1
mount /dev/mmcblk0p2 /mnt/2
tar -xvf /mnt/1/preinits.tar -C /mnt/2/
sync ; umount /mnt/1 ; umount /mnt/2
![]() |
2013-12-03
, 07:36
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#844
|
But MyDocs is mounted and also the 3 other partitions both looking to Home map and Nautilus is'n it enough?
Just doing this:"Once the device reboots, keep the USB cable plugged in to enter “maintenance mode”. You will notice that the File Manager of your Linux Distribution will open and will mount/show all the partitions:"
http://wiki.maemo.org/Ubiboot#Moving...g_Filebox_Root
By the way I have also unpacked preinits.tar to rootfs '/' by archive isn't it enough?
Just doing this
![]() |
2013-12-03
, 07:41
|
Posts: 959 |
Thanked: 3,427 times |
Joined on Apr 2012
|
#845
|
![]() |
2013-12-03
, 09:03
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#846
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
![]() |
2013-12-03
, 10:13
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#847
|
Ok, on my system, /home/user/MyDocs/boot is a folder, not a file, containing ubiboot.conf, ubiboot-02.menus.cpio, zImage_2.6.32.54-ubiboot-02_040613 and zImage_2.6.32.54-ubiboot-0http://talk.maemo.org/maemo/images/editor/color.gif2_301013. I don't see a log anywhere.
![]() |
2013-12-03
, 11:35
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#848
|
There are two different things here, and you are mixing them up
See, you can have either the partitions mounted to your PC, and then you are working on them on the PC, or you can ssh into the device and mount the partitions on the device and work on them there.
You cannot mix these methods, you cannot have single partition mounted to 2 different devices at the same time.
![]() |
2013-12-03
, 12:16
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#849
|
Thanks for your explanation above.
Main problem is not mixing this 2 methods, I think - that's normal in Windows too, connected to masstorage you can't use Filebox in MyDocs at the same time, and if mounted /home, /rootfs etc with Paragon you can't use them either. And you have to choose masstorage or SDK(ssh)/Putty can't do both.
In Ubuntu you dont need Paragon to get device mounted to PC and terminal act as Cmd on Windows (meaning on PC)
But strange thing and my misunderstanding here starts with Ubiboot behavior as I see it, because terminal - and Putty too ! - suddenly can be on device (n9) in maintenance mode - which not the case in Windows (Cmd) - or is it ? -and you have this mounting problem I get into?
Is that correct understood?
The Following User Says Thank You to juiceme For This Useful Post: | ||
![]() |
2013-12-03
, 13:09
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#850
|
Windows "CMD-prompt", yes, it is like terminal in Linux, in a way like a Mouse and an Elephant are both animals
Only one is a little more powerful than the other.
I am not sure if I understand correctly, but when using telnet client on Linux, or ssh client, or Putty on Windows, then you connect to the internals of the device itself, it is same as if you'd open a terminal application on Harmattan itself.
When you work in a telnet/ssh connection, then your commands are directly executed on the device, not on the PC computer.