![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
When you run ubiboot, you have a separate ramFS as root, it is not any real partition. You need to mount your "real" flash partitions somewhere to be able to look/modify those. In ubiboot the place to do that is the /mnt/1/, /mnt/2/, /mnt/3/... and so on. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Before attempting this, you need to do the following things: Unexport your USB partitions: (if this gives you error, then you have the partitions mounted on your PC and you have to umount them first, cannot really have a partition mounted to 2 different devices at the same time, can you? :)) echo "" > /sys/devices/platform/musb_hdrc/gadget/lun0/file Mount the drive you have your TAR file on, for example if it is on your My Docs then you need to do: mount /dev/mmcblk0p1 /mnt/1 Then mount the target you want to extract your preinits to: mount /dev/mmcblk0p2 /mnt/2 Then, extract the archive: tar -xvf /mnt/1/preinits.tar -C /mnt/2/ Last thing, sync and umount partitions: sync ; umount /mnt/1 ; umount /mnt/2 |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
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. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
@garp
juice explained (again) correct and better than me @taixzo what about output of ls -l /boot (when in harmattan, so /dev/mmcblk0p2/boot()? Could it be you copied the kernel only to MyDocs/boot and not to /boot? (Of course the listed kernels in MyDocs/boot are only the ubi kernel which needs to be flashed to device) output of ls -l /boot and ubiboot.conf -- reread and possibly you have old configuration on mtd4/5? if so, you need to decide to use either of mtd4/5 or MyDocs. Order is mtd4, mtd5, MyDocs your log files will reside on /var/log/ubiboot* |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The log files, ubiboot.log & ubiboot.dmesg will be created after you run ubiboot at least once, in your p1 /boot/ directory which is /home/user/MyDocs/boot in Harmattan. If you do not have the log files, then check your ubiboot.conf, as there are keys G_LOGFILE_PARTITION="1" and G_LOGFILE_DIRECTORY="/boot" which determine where the log files go. Ah, one thing to remember! If you are using an older ubiboot version, then the log files go to /var/log/ of your Harmattan installation, and the location is not configurable! |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
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? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Reason for that is, when a raw partition is mounted in 2 devices simoultaneously, you cannot cache the filesystem accesses and if you try to write something on it, it will get corrupted. (Read-Only access however could be possible) Quote:
Windows cannot do it by itself, it only knows about DOS and NTFS filesystems and so needs drivers like Paragon. Windows "CMD-prompt", yes, it is like terminal in Linux, in a way like a Mouse and an Elephant are both animals :D Only one is a little more powerful than the other. Quote:
When you work in a telnet/ssh connection, then your commands are directly executed on the device, not on the PC computer. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
And that's the point I think (?) being in Cmd you can't get access direct to device you have to stay on PC - as far as I know - but be in Ubuntu terminal you can change to device direct - but is it due to Ubiboot or Ubuntu or both - I'm not sure? OK but nevertheless it don't move my main problem - so near to Ubiboot and even so long away. :confused: Have been there once before no problem boot to Harmattan, NITDroid and Firefox then mixed up with extracting Nemo OS to Alt_OS. Now this seems to be solved but then can't boot at all! Before long I need to flash back in lack of battery and don't want to be caught in 11% flash trap! |
All times are GMT. The time now is 20:11. |
vBulletin® Version 3.8.8