|
2010-07-06
, 06:44
|
Posts: 278 |
Thanked: 209 times |
Joined on Dec 2009
|
#22
|
Do realize that with a full Linux desktop, you can back up whatever you want - including the entire rootfs, restore it as needed. Here's a simple guide for Ubuntu. You can also backup individual packages(I'd use a script myself), or lists of such.
Of course, I might be biased, having made the switch to Linux about a year ago, but I haven't run into such problems with repositories.
Back to the issue of the N900, why -can't- we backup the rootfs when we are running on it? If we can do it with Ubuntu, we ought to be able to with Maemo, which is also Debian based(especially since we are only using tar in that command). Can someone take a look for me?
-Rob
|
2010-07-06
, 06:48
|
Posts: 278 |
Thanked: 209 times |
Joined on Dec 2009
|
#23
|
This runs even before Maemo or even MeeGo starts, so RPM doesn't matter. It was just a handy way to package it up and synchronise with our kernel builds.
|
2010-07-06
, 07:33
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#24
|
Let's talk about a small scale example. I'm traveling. My computer crashed. I restored. I have this one program that I need to reinstall. I have no access to the internet. With Linux, prior to traveling, I would've had to have made a script that saved this program and ALL of its dependecies locally and hope I didn't miss anything (I know I know, it's a simple 2 word code or something). With Windows, prior to traveling, I would've had to save the setup.exe. That's it.
Back to Topic, the Tar method is what was used in good old Unix systems if my memory serves me correctly.
I think what would be problematic for the Tar method is things like widgets and status indicators. They might give back up an "Access Denied".
|
2010-07-06
, 11:13
|
Posts: 63 |
Thanked: 29 times |
Joined on May 2010
|
#25
|
Alien should not be used to replace important system packages, like sysvinit, shared libraries, or other things that are essential for the functioning of your system. Many of these packages are set up differently by Debian and Red Hat, and packages from the different distributions cannot be used interchangably. In general, if you can't uninstall the package without breaking your system, don't try to replace it with an alien version.
|
2010-07-06
, 15:00
|
Posts: 28 |
Thanked: 3 times |
Joined on Jun 2010
|
#26
|
i am interested in the usb recovery mode too, especially for trying the following:
backup:
restore:Code:# dump it to the pc with the hostname 'yourpc' via ssh dd if=/dev/mtd5 | ssh root@yourpc "cat > rootfs.img"
seriously i didnīt get it till that point, i canīt connect to ssh server in usb recovery modeCode:./flasher-3.5 -r rootfs.img -f -R
|
2010-07-09
, 06:01
|
|
Posts: 149 |
Thanked: 15 times |
Joined on Jul 2010
@ Russia
|
#27
|
Now, unplug the usb cable, and reboot your N900 with the keyboard slide OUT.
You should get a boot menu. Press 'ctrl', to boot into 'recovery mode'.
|
2010-07-09
, 09:20
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#28
|
There is 2 points - to boot from external memory & Turn off n900, when i'm pressing CTRL, nothing happens =\
|
2010-07-10
, 21:44
|
Posts: 28 |
Thanked: 3 times |
Joined on Jun 2010
|
#29
|
# dump it to the pc with the hostname 'yourpc' via ssh dd if=/dev/mtd5 | ssh root@yourpc "cat > rootfs.img"
./flasher-3.5 -r rootfs.img -f -R
|
2010-07-10
, 22:37
|
Posts: 278 |
Thanked: 209 times |
Joined on Dec 2009
|
#30
|
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.