maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Clone OS to SD Deb!! Boot from SD made EASY!! (https://talk.maemo.org/showthread.php?t=19639)

penguinbait 2008-10-07 21:48

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by Laughing Man (Post 231402)
no problem, figured i'd just ask first in case.

Edit: I don't have to format it do I? Just do the mount and tar part?

you can do a mkfs to clean it off, or you should probably at least delete all the files.

Laughing Man 2008-10-08 19:18

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Do I also need to run the insod commands? Or would just doing mkfs and the clone, tar process and using your bootmenu.deb be sufficient?

penguinbait 2008-10-08 20:12

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by Laughing Man (Post 231785)
Do I also need to run the insod commands? Or would just doing mkfs and the clone, tar process and using your bootmenu.deb be sufficient?

Well you need the mbcache.ko and ext2.ko in order to mount the filesystems

Laughing Man 2008-10-09 03:22

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Hmm.. haha when I recloned it, the clone now has the Linus saying "I pronounce, etc.. etc..". Though I wonder if there's any problem if the boot from SD does an fsck on startup each time... (I rarely reboot anyway)

penguinbait 2008-10-09 15:36

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by Laughing Man (Post 231958)
Hmm.. haha when I recloned it, the clone now has the Linus saying "I pronounce, etc.. etc..". Though I wonder if there's any problem if the boot from SD does an fsck on startup each time... (I rarely reboot anyway)


No problems, the fsck will run, if it is clean, it wont fix anything, it will just exit clean. It only runs when you boot to flash.

I added this because everytime I crashed my SD, then I had to boot to flash and run fsck manually. Now I just reboot to flash after any crash and wait to hear from Linus, and I am good.

And this platform was sorely missing that wav file. :D

Laughing Man 2008-10-09 17:00

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Ack, so I'm reinstalling all the apps I had on there (the ones missed by the application manager on a restore). And I notice that conky says there's no swap. That it's 0/0. But I had swap last time (using your scripts to setup the partition sizes). What happened to it?

I do have RAM though (123 MBs of it).

I really hope I don't have to redo everything over again. >.<

Edit: Yup it's not being detected by the system, I tried programs that need swap to run and they all just crash to desktop due to lack of swap.

penguinbait 2008-10-09 17:12

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by Laughing Man (Post 232133)
Ack, so I'm reinstalling all the apps I had on there (the ones missed by the application manager on a restore). And I notice that conky says there's no swap. That it's 0/0. But I had swap last time (using your scripts to setup the partition sizes). What happened to it?

I do have RAM though (123 MBs of it).

I really hope I don't have to redo everything over again. >.<

Edit: Yup it's not being detected by the system, I tried programs that need swap to run and they all just crash to desktop due to lack of swap.

My scripts when you use them to clone, create the swap partition. Which you should already have, they also turn swap on during boot.

You need to call the swapon from a startup script

Just add

swapon /dev/mmcblk0p3 (or 1p3 depending on which card your using)

you can also just run from the command line

Type free in xterm to see swap info

free

Laughing Man 2008-10-09 17:18

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Ok, I did it from root (didn't work as user) and now it detects the swap. :)

So I have to add it to a startup script (init.d?) for it to detect on future boot ups?

penguinbait 2008-10-09 17:24

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by Laughing Man (Post 232148)
Ok, I did it from root (didn't work as user) and now it detects the swap. :)

So I have to add it to a startup script (init.d?) for it to detect on future boot ups?

Yes just put that line in one of your startup files

burnte 2008-10-10 10:32

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I'm hoping that with 53 pages, I'm not cluttering things up here. :)

So, before, things ran fine. But with the latest version of the bootmenu stuff after the recent SSU, at the boot menu I always have the removable card listed as N/A, like it's not there and I can't boot from it. "Unable to boot from immc" so it defaults to the internal flash. Ideas of what to troubleshoot?


All times are GMT. The time now is 15:13.

vBulletin® Version 3.8.8