![]() |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
Quote:
|
Re: Cloning OS to SD Card: Simplified instructions
How do i delete p03 and replace it with P02?
sorry i'm such a pain, but I'm getting THIS close.... |
Re: Cloning OS to SD Card: Simplified instructions
I'm not entirely sure about replacing the partition but for deleting p03
You could try: /dev/mmcblk0p3:448032,,0 It starts from your p03 cylinder and replaces it with an empty partition. I'm not sure that it is right but I cannot find anything on removing partitions with sfdisk. Then just press enter when it gets to mmcblk0p4. You could try deleting the p02 then and repartitioning the p02. |
Re: Cloning OS to SD Card: Simplified instructions
No luck, so I did this:
sudo gainroot umount /media/mmc2 sfdisk /dev/mmcblk0 1,448000,0C 448032,, reboot That seems to have done the trick, the 1.3GB is now allocated to Linux on partition 2. Let's try this again. Having a PITA trying to deal with tar |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
|
Re: Cloning OS to SD Card: Simplified instructions
Just tried to run
tar zxvf initfs_flasher.tgz and kept getting one error or another. I proceeded to try to run initfs_flash anyway and it failed after the point of removing files=yes. Maybe I need to sacrifice a goat or two to appease the hildon gods to get OS2008 booting from MMC. |
Re: Cloning OS to SD Card: Simplified instructions
Is your internet connection fine? (Also if you are trying to modify the archive beforehand, 7Zip corrupts it)
The way I do it (and I was doing this for 3 hours in the early morning, trying to modify the bootmenu.sh) is to save the http://fanoush.wz.cz/maemo/initfs_flasher.tgz on the internal memory card using my computer, then: cp /media/mmc2/initfs_flasher.tgz /home/user/MyDocs/.documents cd /home/user/MyDocs/.documents tar zxvf initfs_flasher.tgz cd initfs_flasher/ ./initfs_flash The archive has to be extracted on the built in flash memory of the N800 and also I cant just zip up the files for you because the initfs flasher relies on symlinks etc which tar recreates. |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
The full usage is: Code:
nupgrade.sh 0-6|wipe|clone [internal | external] [ext2 | ext3] [sardine | herring] [yes]
eg. to reformat and clone the OS to the automatically determined target memory card without prompting use the following command: Code:
./nupgrade.sh wipe yes Code:
./nupgrade.sh wipe external ext3 yes The target device and partition will be automatically detected by the script based on the available memory cards and partitions present on those cards. You will be prompted to accept the automatically determined device/partition before the script proceeds to write or modify the target in any way, unless you pass the parameter "yes" in which case there will be no prompting (so use with caution!) The default response to the prompt is "yes", and you can just press return to continue, or enter "no" or ctrl-c to abort. The script will first check the "internal" memory card (if present) for a second partition with a filesystem type of 83 (ie. Linux). If such a partition is available it will be considered the target for the cloning process. If there is no valid partition available on the internal memory card, the external memory card will be checked for a second partition of type 83 and it will become the target if such a partition is present. If neither memory card has a valid partition, the script will abort. The automatic internal/external device detection can be overridden by specifying the "internal" or "external" parameter - if "internal" is passed as a parameter, the script will verify the internal card is suitable before proceeding, otherwise it will abort. Likewise for "external", only the external card will be considered as the target and the internal card will be ignored. |
Re: Cloning OS to SD Card: Simplified instructions
On some SDHC card, a low level formatting is required, info here, http://www.internettablettalk.com/fo...051#post137051, thread #24.
@Milhouse: Does 'wipe' include low level format? The low level format is REQUIRED for Adata SD cards. There are few posts that people do not have to do the low level format and succeeded, this thread #264,#266, and 3 more. I am interested to know what kind of SD cards they are using. Their SD cards probably more conformed to the SD standard than Adata. bun |
Re: Cloning OS to SD Card: Simplified instructions
I hope you don't mind me posting here but this stupid mobile skin wont let me make a new thread or change skin but is there a way of extracting all the needed files/root filesystem from the original os2008 n800 bin file and placing that on a partition?
I want to make an install that has only security penetration tools and if I clone my current install, i have more to remove than install... TIA |
All times are GMT. The time now is 23:19. |
vBulletin® Version 3.8.8