![]() |
Cloning OS to SD/MMC Card: Simplified instructions
These instructions apply to OS 2006 (770), OS 2007HE (770) and OS 2007/OS 2008 (N8x0).
If you're all set with root access, xterm, wget, boot menu and e2fsprogs installed *and* a 256MB+ second partition on Internal memory card, jump straight to step 7... otherwise continue with the pre-reqs. Pre-requisites to be satisfied before cloning OS 1. xterm must be installed
2. "Becomeroot" package must be installed or device in R&D mode
3. wget installed for downloading web-based files from the command line
4. e2fsprogs package installed
5. At least a 256MB partition is needed on /dev/mmcblk0p2 (partition 2, Internal SD/MMC card)
6. Fanoush's modified initfs and boot menu should be installed
Once all of the above pre-requisites are satisfied continue at step 7. Cloning the Operating System to Internal SD/MMC Card 7. Download and execute the following script and binary
7.2 As user "root" (without Sardine upgrade)
7.3 As user "user" (with Sardine upgrade)
Edit: See post #288 which details additional parameters for the nupgrade.sh script. |
Re: Cloning OS to SD Card: Simplified instructions
Why make it that hard.. why not just tar over and back the install?
|
Re: Cloning OS to SD Card: Simplified instructions
Because some people struggle to do even that...? And because it does more than just tar the OS - it formats the filesystem, insmods the various modules, mounts the mount points and tar's rootfs. And it also upgrades to Sardine if you want it to.
Once all the pre-reqs are in place (which only need to be completed once per flash) and the script and tar have been downloaded (again once per flash), the user only needs to running the script in sequence (0-4 or 0-6) whenever they want to clone the OS. No need to remember each individual command/step or cut&paste from the wiki. Seems simpler to me... :) |
Re: Cloning OS to SD Card: Simplified instructions
The commands only need to be run once per flash too.. and I put up easier instructions than the wiki once upon a time. I like your method, it will help the mindless dual boot. I guess I just like to know whats going on under the hood as I figured anyone who would bother with a dual boot wou.d
|
Re: Cloning OS to SD Card: Simplified instructions
Well I for, one, don't -- much. I just want the added space and speed, and follow Howtos :-)
Thanks Fanoush, and thanks Mil... |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
Quote:
Quote:
Quote:
The only reason I dual boot nowadays is to give Sardine a whirl every now and again - with this script I can clone and upgrade the OS to Sardine inside 30 minutes and I'm only typing 6 or 7 commands which aren't exactly difficult to remember (particularly as six of them are practically the same!) :) The OS clone takes about 10-15 minutes, and the upgrade to Sardine another 15-20 minutes. Most of the time is spent waiting for files to copy or download/upgrade... run the next step... wait... run the next step... etc. until finished. Then reboot and enjoy (well as much as one can enjoy Sardine - the new finger menu is looking good though). Hopefully these instructions will make life simpler for some people and may even allow yet more people to sample Sardine. It's an alternative to the various wiki instructions (although it skimps in some important areas such as partitioning etc.) but should be easier to follow if you don't want to have to think too much! :) |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
Quote:
|
Re: Cloning OS to SD Card: Simplified instructions
Is this a typo?
Quote:
The card slot on the bottom of the N800 under the stand is considered the external card and the card beside the battery on the back of the unit is the internal card--right? |
Re: Cloning OS to SD Card: Simplified instructions
Yes, that is a typo - mmcblk0px is the INTERNAL card, thanks for catching that.
I've now corrected the instructions (replacing external for internal) and uploaded an updated script - the original script worked fine, but would have displayed confusing comments... :) |
Re: Cloning OS to SD Card: Simplified instructions
Noob reporting:
I've encountered problems at step 7 of this guide. Here's what I'm getting (verbatim): sudo gainroot /home/user # cd /home/user/bin /home/user/bin # ./nupgrade 0 /bin/sh: ./nupgrade: not found /home/user/bin # Should I be typing in "./nupgrade.sh 0"? I'm running IT2006 on n770, and I should add that I've checked in the /home/user/bin directory and both nupgrade.sh and tar are present. |
All times are GMT. The time now is 02:21. |
vBulletin® Version 3.8.8