![]() |
Neil,
I think the biggest benefit is that reflashing the device won't lose your personal documents, settings and installed applications. Of course, upgrading the OS runs the risk that part of your mirrored filesystem is supposed to be different, and you'll end up with weird and unexpected problems. Most likely to be a problem when 2006 OS comes out. HTH, Andrew |
How can you tell if the swapfile is on or off?
|
Quote:
|
Just giving Wolfram his due credit
Wolfram Rocks. He really makes this upgrade easy to do. Everyone who has a Nokia 770 needs to do this upgrade and do his recomended swap file method
|
Just upgraded to the 2006 OS and already I am starting to miss the extended root fs. Was wondering if Wolfram is going to recompile the deb he wrote for the 2005 OS into the new 2006 OS. Also I am wondering if unionfs would work easier and better with the new 2006 OS.
|
UnionFS is a much *much* better idea.
Although you won't be able to use it for installed applications now, as the 3rd party debs are installed into /, intermingling them with the OS-proper. |
Quote:
I would have thought you could simply create a number of unions for each of the most likely installation points (such as /usr/bin). Not as easy but it should be possible. Of course maybe that means you couldn't easily boot without the union installed? Brad. |
True, you could unionise /usr to get more space. Without the MMC you'd still boot to a largely vanilla 2006 OS, however there'd be some cruft in /etc, /var/lib/dpkg etc.
Still, might be worth trying... |
get script
I've upgraded to 2006 but in the process lost the script. Until a new package is built could someone please post the script for copying & pasting?
|
|
Do you feel lucky?
1 Attachment(s)
Quote:
I've exchanged a few e-mails with the author of mmc-unionfs, but that was about a month ago. According to his site, the port to 2006 is on hold because the shutdown scripts use /home/user as their home directory. Bummer. I hope this gets resolved soon. Until then... if you're the daring sort... I've attached my port of mmc-unionfs. The installer will simply install the kernel module and software for mmc-unionfs, so you'll have to run "setup" and "enable-boot" (as per the above documentation) to actually setup and activate a union. This package will install as "mmc-unionfs-hack" and should be un-installed and replaced with the "real" mmc-unionfs package as soon as it's released. I don't guarantee it works, but I've been using it for weeks now without problems (well, unless I crash the 770 - then I need to pull the MMC and run e2fsck on it to make sure the filesystem is ok). Oh yeah... this is important - You'll need to modify a pair of scripts in /etc/init.d (as root, of course): Specifically, edit "minireboot" and "minishutdown". you'll need to manually edit the line: umount -r /media/mmc1 /mnt/initfs / To be: umount -r /media/mmc1 /media/mmc2 /mnt/initfs / This will make sure the union will be unmounted at shutdown and reboot. If you don't, you'll end up with a corrupt ext2 filesystem. Just for practice, I'm going to modify the installer to automatically modify the minireboot and minishutdown scripts just to make things easier; I'll update this post when the time comes FWIW. Hope this is useful, Brad. |
Hi Brad
Quote:
Cheers Rich |
The problem is that the user invokes "Turn off the device" from the desktop, and maemo_af_desktop then (eventually) invokes /etc/init.d/minishutdown.
The current working directory of the script when invoked like this is /home/user, meaning that trying to unmount it - if it's a union (which most people would have) - is tricky. The suggestion I've made to Heike is to re-execute the shutdown scripts; something like: Code:
#!/bin/sh the current directory. Cheers, Andrew |
Quote:
At any rate, I've been using a union for /home/user for weeks and everything seems fine. Maybe I've just been lucky? I do know that failing to modify the shutdown/reboot scripts will result in file corruption (or at least a warning about mounting an unchecked filesystem). Brad. |
In my initial tries to "upgrade the internal memory by extending the root filesystem to a memory card" (with x-term installed on the 880 and apparently running well), after I entered "umount/media/mmc1," I get the message "Device or resource busy." What does this mean and what do I do now? Thanks for any help you can provide.
|
Quote:
Rich |
Rich: I'm very frustrated. This is the first command I'm instructed to enter in this exercise -- and it fails! I can't get past the "Device or resource busy" message. The only "devise or resource" I can discover to be "busy" is apparently the x-term itself -- which I assume I need to have operational in order to enter the command. Where do I look on my 880 to see if perhaps something else is "busy", and what characterizes a "device or resource" which could be "busy?. I expect I'm asking too much of you, or anyone else reading this. But, as I said, I am frustrated. Thanks for your interest. Jim
|
Hi
Something is using the mmc card, for some background reading have a look here to help understand, http://www.umiacs.umd.edu/~jusub/uni...s/19270039.htm Using a Linux PC I sometimes get this error and it would mean I have a file manager accessing the card, or in a xterm the directory I am in, is the mounted filesystem I want to umount. Simply changing to another directory would mean I can umount. In the xterm you could type Code:
cd / Or if this doesn't work, have a go at posting the same problem to the Maemo mailing list, https://maemo.org/mailman/listinfo/maemo-users Cheers Rich |
Quote:
(sorry - just kiddin' :-) |
Quote:
HTH, Andrew |
Hello,
after investigating for hours on how to extend root fs in OS2006 I still don't know how to do it. The http://wolfram.ravenwolf.de/extrootfs_1.0_arm.deb doesn't work on OS2006, but is there a way to still use links pointing on to my 1GB MMC for the installation routine? There's another question I've got regarding the "Virtual memory" option: Although I've inserted a 1GB card it only offers me 64MB maximum available space. The Memory card details tell me it's "Storage memory available: 966.5 MB". |
What are the consequences of using a MMC as a swap partition? I think someone's asked this question earlier on in the thread, and there hasn't been a satisfactory reply.
Based on http://lkml.org/lkml/2005/6/1/131 the author suggests that a MMC (or any flash memory for that matter) isn't the best medium for swap files because it has a finite, and from what I understand, relatively small number (someone mentioned 100,000?) of maximum write cycles before it becomes unusable. The article mentioned above also hints at the possiblity that MMCs don't have self-levelling processors. Is this the case? A quick google can't confirm or deny this. Can anyone clarify? It would really suck to just have the machine start crapping out because the swap file is randomly corrupted after a couple months of use. Found this bit of information: MMC SanDisk MultiMediaCard and Reduced-Size MultiMediaCard - Product Manual Version 1.3 http://www.sandisk.com/Assets/File/O...RS-MMCv1.3.pdf 1.8 Defect and Error Management (p1-3) - Almost the same as CF 1.9 Endurance (p1-4) "The SanDisk MultiMediaCard and RS-MultiMediaCard have a typical endurance specification for each sector of 100,000 writes (reading a logical sector is unlimited)." There's MRAM, but I don't think it's available yet... |
Quote:
Rich |
Quote:
This method uses /etc/fstab to mount an ext2 filesystem, then at shutdown, if you modify the shutdown/reboot scripts to explicitly umount the filesystem, I'd think it would work. (I think that's a solution to the unionfs problem, but I could be wrong as well) Brad. |
cfdisk in OS2006?
Hello.
As it was noted above, the package extrootfs_1.0_arm.deb doesn't work on OS2006. I have been looking for a working cfdisk for OS2006. I copied the cfdisk in the Maemo 2.0 SDK from http://repository.maemo.org/stable/2...-rootstrap.tgz and although it runs, I got an illegal instruction when running it: Nokia770-26:~/bin# ./cfdisk /dev/mmcblk0 Illegal instruction Any hints of what is happenning or links to a good cfdisk (or fdisk) for the OS2006?. Anybody has been able to partition the card within the Nokia 770 with OS2006? naparicio |
I use qtparted or gparted under linux. You could use a live cd like knoppix to do it.
|
Yes I know how to do it with Linux. My question was about if the tools worked in the Nokia hardware. I couldn't make them work so I opened a bug for the Maemo SDK 2.0 (bug #735) as the binary should work without the "illegal instruction".
|
is there more in extrootfs than listed in wiki in maemo org? As Wolfram's deb is not installable in OS2006, could somebody, please mail me the complete script content,
mika joukanen at gmail com, Mika |
Isn't this done on the 2006 OS edition by doing the following?
(1) Use stylus to launch the application menu. (2) Click on Tools --> Control Panel (3) Click on the Memory icon A window will appear with 3 tabs (4) Click on the Virtual memory tab (5) Click on the box that extends the virtual memory to the MMC card (64 Mb max). Once step 5 is done, the memory card is reformatted (presummably creating two partitions). It took a while for me and a blue bar went across the screen during the process. Once finished, I had just over 900 Mb of usable space on the MMC card. Dr. Hood |
I have been frustrated for some time because Wolfram's seemingly excellent deb is not usable with OS 2006. I know that I can now partition swap space without it, but I want to be able to do more than that. I want to be able to fully effect the partitioning recommended by Wolfram (moving key elements of the root system to the memory card, and accessing them on the card). In other words (or the same words!) I want to be able to install Wolfram's script (or its equivalant aspects) to my 770 for accessing as part of the repartitioning process. Can anyone out there help me?
|
Quote:
This might be more elegant and easier, if the author Heike can get it working. Rich |
Quote:
|
Sorry I've mislead you, its not working yet for IT2006, it did for 2005 OS. I meant that the package is being worked on to make it work with IT2006 and hopefully will be available soon.
|
Richie: No problem. I'll wait until that method is perfected for the 2006 OS. In the meantime I may have a try at the system described in http://maemo.org/pipermail/maemo-de...ust/005040.html transferring the whole root system to, and accessing from, the memory card. I'll keep my eye on this forum as things develop. Thanks for the assistance. Jim
|
Shouldn't access to the MMC-Card be much slower than to the internal RAM?
|
Good point. I guess I'll just sit back and watch the forum and wait for the "union" system to be perfected. Thanks again. Jim
|
IT2006 - How to mount an ext2 filesystem during boot?
I've upgraded to IT2006 and I'm now looking for a way to mount an ext2 filesystem duing boot (and umount it during shutdown).
Things have changed a lot in IT2006 and I'm lost. This works for me: insmod /mnt/initfs/lib/modules/current/ext2.ko mount /dev/mmcblk0p2 /media/mmc2 But which startup file should I modify to automate this during the boot sequence? Reinhard |
Quote:
At least, that makes sense to me, and seems to be working well. And a question in return: does anyone know if it's safe to mount an ext3 fs as ext2, or why the corresponding insmod for ext3.ko (same as above but with 3 instead of 2) fails? I realize that ext3 is not recommended, but I mistakenly chose ext3 for my MMC partition some time ago and have quite a lot of stuff on it now. - Neil |
I put the insmod near the top of /etc/init.d/minircS just after the PATH= line,
I put the mount near the bottom of that file just before the exit 0. I unmount (umount) the filesystem in /etc/init.d/minireboot and minishutdown on the same line that mmc1 is unmounted: Code:
echo "Unmounting filesystems... " Code:
/dev/mmcblk0p2 /media/mmc2 ext2 rw,noauto 0 0 |
Quote:
|
All times are GMT. The time now is 20:53. |
vBulletin® Version 3.8.8