![]() |
Re: Cloning OS to SD Card: Simplified instructions
1 Attachment(s)
What does
Code:
sfdisk -l /dev/mmcblk0 You should be able to partition/format the card in another Linux machine... or possibly a Windows machine. Unless it's completely trashed. :( I've got a (cheap no-name brand) SD card here which died while in a Windows XP laptop over Christmas and it's completely unusable, impossible to partition - I've tried everything so far. Probably corrupted in the same way that OS 2007 v3 corrupted SD cards. Partition Type "0C" is "FAT 32 (LBA)" - LBA being needed for large disks (greater than 128GB I believe)... probably not essential for SD cards in which case standard FAT 32 (type 0B) can be used instead. I've attached the various partition types known by cfdisk on my Ubuntu Gibbon system. :) |
Re: Cloning OS to SD Card: Simplified instructions
Mil, I know what you are going to suggest..........why dont you just follow thru and format the DOS and see what happens?
I did. It formatted. and after a reboot, it showed up in controlpanel/memory and file manager and i just test drive and copy a file to and from, it works. So, looks like a happy ending. But, why it give the error message upon partitioning? and this is a 2 G card, for a 8 G SDHC, do I have to do anything different, like a special SDHC kernel to use bigger than 2 G? Searching the forum does not suggest that. a more happier bun, now |
Re: Cloning OS to SD Card: Simplified instructions
1 Attachment(s)
one more dumb question, sorry, Mil, how do I output the text from xterm into a file for posting? I know only how to do a screen shot image.
thanks, again. your simplified clone instructions save my day. here is the output, bun |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
I don't know why it happened, but glad you got it sorted. You shouldn't need a modified kernel as OS 2008 supports SDHC out of the box. To redirect the output from a command to a file, use the redirection character ">", eg. Code:
sfdisk -l /dev/mmcblk0 > /tmp/partition.txt |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
Well, the lessons about this, is to follow exactly what it said, it said "command re-read partition failed, reboot before DOS format.." something like that. It really did, after reboot, everything works fine. Still sore why there is such error message, and what is the significance of partition re-read failure do to my system. bun |
Re: Cloning OS to SD Card: Simplified instructions
I attempted to clone to the 8G SDHC card and failed. I repeat what I learned from the 2G card, I was able to format the 8G card to mmcblk0p1 and mmcblk0p2. And then I start on step 7, and when I do the step chmod +x..., operation not permitted. Do I suppose to do that step every time?
I then proceed to do ./nupgrade.sh 0,1,2,3 on step 3, has a lot of file unable to open, no such file or directory....end up with error on input/output back to command line ~bin #. Upon boot up, failed to boot from mmc, boot from flash. regarding the card, it was read correctly as 7.1 G for DOS and .8G for mmcblk0p2. Any suggestions? Of course, I guess, if I am crazy enough, would reflesh my N800 and clone from fresh, they should work, as it has worked with my 2G card. Or I am just settle with 2G/8G system? TIA, bun Just a thought, I was able to clone to my 2G SD card on mmcblk0p2and boot from the 2G card, but failed on my 8G SD mmcblk0p2. Can I mirror my 2G cloned OS to my 8G mmcblk0p2 on a Linux box? If yes, what is the command? thanks. bun |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
Are you root when running nupgrade.sh? Did you download nupgrade.sh as root but are now trying to chmod the file as the normal unprivileged user? It would help if you were able to post the errors in this thread (this would be easier if you were running ssh... maybe open another thread to discuss the problems you are having as it usually works a treat - I wrote a guide to configure ssh using PuTTY on Windows and public/private key authentication for the user account here. Install openssh-server from the extras repository). Ordinarily you don't need to download and chmod nupgrade.sh each time you run it - you only need to do it once. :) |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
|
Re: Cloning OS to SD Card: Simplified instructions
Am I the only one getting this?
At stage 3 I get: Quote:
I runned the commands as stated in the howto. I tried copying around the tar file with mc but it didn't helped. I also redownloaded the file, didn't help either. Any ideeas? thanks |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
|
All times are GMT. The time now is 03:02. |
vBulletin® Version 3.8.8