![]() |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
OK, you probably got this PB, but here's what's going on:
Code:
if [ ! -b /dev/mmc0blk2 ] ; then |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
Quote:
a working personal menu.... I see a reflash/reload in my future.....;-) next time with a 2gb sd!! |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
[QUOTE=penguinbait;175792]I made a DEB that will clone the currently running OS to a 2GB CARD. It will also clone it to bigger/smaller cards but its not really setup for that.
1GB 1: 64MB FAT 2: 872GB EXT2 (BOOT) 3: 64MB SWAP 2GB 1: 128MB FAT 2: 1.75GB EXT2 (BOOT) 3: 128MB SWAP 4GB 1: 256MB FAT 2: 3.5GB EXT2 (BOOT) 3: 256MB SWAP 6GB 1: 384MB FAT 2: 5.255GB EXT2 (BOOT) 3: 384MB SWAP 8GB 1: 512MB FAT 2: 6.6GB EXT2 (BOOT) 3: 512MB SWAP If things go smoothly with this, I will make some more DEB's with different layouts for different sizes. QUOTE] Where possible, would you make the DEB to read a configure file which allow one to set the size for 1, 2 and 3? This way, you do not have to track multiple versions of the DEB. |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
That seems a wierd way of going about it -- the hybrid of all-up deb and reading a config file.
Maybe just prompt? or indeed, detect the card size and branch accordingly? |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
UPDATED DEB to FAIL if mount fails, which will stop the out of memory problems.
You should not get that anymore! UPDATED 13:50 EST Let me know |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
^too late, already installed now. :)
So what do you folks do with this primarily? Use it as a backup in case of a major blowup? Use it normally so to have a lot more space for installs? Use it to try out some possibly dangerous hacks and apps? Anyway, it is now working fine. thanks again. |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
Quote:
To be clear? using new deb and fresh flash you installed and it failed. you then reboted, and then updated the deb by installing it again. You then rebooted again and bootmenu was installed and your cloned partition was working? Thanks, Please guys, I need logs for failures... |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
This was the single worst thing I've done to my NIT so far. :(
After an extremely long install of about 20 minutes, the unit spontaneously rebooted and I got the bootmenu (like always). I booted from flash and I got a reverted desktop (back to before I clone my OS to SD earlier this year). I opened the file manager, looked at my 4gb MMC2 card and there was only 65mb available with no files on the card. Wonderful. I supposed that I'm going to have reflash and lose months of work that I spent fine-tuning. The log in app-manager, shows some error from an apt-get from back when I installed the Vagalume client (which would have been many months ago). |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
Quote:
You can boot from SD but not from flash? Log is in application manager (MENU) |
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
Quote:
Sorry man, did you read the first post? Seriously I dont mean to shrug off the blame, but I said very clearly this may hose your system. It says testing. Also you said "I got the bootmenu (like always)" Was bootmenu already installed? Were you booted to flash when you installed it? What was on the SD card to begin with. It was supposed to wipe out the SD card, was that unclear to you? Did it corrupt your flash install? |
All times are GMT. The time now is 00:24. |
vBulletin® Version 3.8.8