Thank you, Marious. That encourages me a lot. Because now I've copied the whole system "a la Fanoush", that is: via GNU tar. So I hope there's not going be any problem of preserved links or similar details.
<br><br>Now I was blocked because I didn't have got a usable initfs-flasher in order to dual-boot. Maybe the solution is just to symlink. Your help here could be precious...<br><br>Yes I created ln -s /media/mmc2/usr /usr, and then renamed original /usr to /usr-old. I don't mind removing it. So the idea is correct: /usr -> /media/mmc2/usr
<br><br>Now the problem is to mount the mmc2 before the system needs it. I've mounted at minircS, just before the line that says mount_devpts (line number 98). Would it suffice? How do I know? I've tried to put the line much above, but the script didn't recognized it. Maybe to early.
<br><br>Hope I success. In that case, I'll write a complete report and blog it, for future users.<br><br>Salut.<br>Sebas.<br><br><div><span class="gmail_quote">2007/2/2, Marius Gedminas <<a href="mailto:marius@pov.lt">
marius@pov.lt</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Fri, Feb 02, 2007 at 06:29:22AM +0100, sebastian maemo wrote:
<br>> When I bought N80 phone, I found a very useful and logic feature: when you<br>> install a new app, the application manager asks you whether you want it<br>> installed over your tiny phone memory, or over your large GB memory card.
<br>><br>> For don't-know-what-reason Nokia failed to make this feature available on<br>> his 770. They just let me create a 64M swap file that helps, but not that<br>> much.<br><br>I would guess the reason is that it's not that simple to do this in
<br>a Linux system.<br><br>I agree that it would be useful. So would a thousand other features.<br><br>> So here I am, trying to make things work. I've learned how to create<br>> partitions with sfdisk (not so friendly as fdisk), format them with
<br>> mkfs.ext2 (that was easy), and mount and unmount them at startup and<br>> shutdown via init.d scripts (that was the worst one).<br>><br>> And now that I've learned all that much, I created the wrong symlinks: I
<br>> cp'ed /usr to the MMC, and then made the wrong link: ln -s /media/mmc2/usr<br>> /usr. Yes, now I know it should be the reverse way, but do not understand<br>> why.<br><br>No, your command is correct. Other things might be wrong:
<br><br> - cp doesn't preserve file permissions, unless you ask for it<br> explicitly. You may have ended up with all the programs in /usr/bin<br> not executable<br><br> - If you did not remove the /usr directory before creating the
<br> symlink, you've ended up with a symlink /usr/usr -> /media/mmc2/usr<br> This should not have prevented it from booting, though.<br><br> - I do not know if /media/mmc2 is mounted early enough before the boot
<br> sequence needed to access files in /usr.<br><br>Marius Gedminas<br>--<br>"Linux was made by foreign terrorists to take money from true US companies<br>like Microsoft." -Some AOL'er.<br>"To this end we dedicate ourselves..." -Don
<br>(From the sig of "Don" <<a href="mailto:don@cs.byu.edu">don@cs.byu.edu</a>>)<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.1 (GNU/Linux)<br><br>iD8DBQFFw0HykVdEXeem148RAj7KAJ4ltfro5hUmIcXVyHRGOCemLFRSBgCfXaQG
<br>jWbk3RPJ2yQTieEaWS0onQo=<br>=/hpd<br>-----END PGP SIGNATURE-----<br><br><br>_______________________________________________<br>maemo-developers mailing list<br><a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org
</a><br><a href="https://maemo.org/mailman/listinfo/maemo-developers">https://maemo.org/mailman/listinfo/maemo-developers</a><br><br><br></blockquote></div><br>