Reply
Thread Tools
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#1
On my N8x0, I am booting from intFlash, mmc1/extSD and mmc2/intSD. I played with the system for awhile and made changes. I like my change and I would like to back it up. Now I have a problem: where did I booted from? I need to know, so that I would back it up to the 'other' slot.

Sometimes, when the ext2 partition are way different among them, I can kind of guess it out from the amount of space free from rootfs vs df . Say, in general they are 256Mb, 550 Mb and 650 Mb, the 256 Mb has to be intFlash boot, and the other two has a difference of 100 Mb, I can easily sort it out from df or cat /proc/partitions. Problem arise when both mmc1 and mmc2 are in the same range, say one is 560Mb and the other is 570Mb.

Is there any commands or utility or tricks to tell me where I boot from?
I tried to put something different in the background, but after several backup, it is no longer reliable.

Any thoughts?

TIA,

bun
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#2
Originally Posted by bunanson View Post
where did I booted from?
Does opening X Terminal and using the "mount" command with no arguments provide you with enough information?
__________________
maemo.org profile
 

The Following 2 Users Say Thank You to sjgadsby For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#3
Thanks Steve, that is exactly what I want!

After trying to read mount, I found out df gives similar clue too. However, both df and mount are also suffer from the mistaken identity bugs, mmc1 and mmc2 switched. Anyhow, now I know. Thanks again,

bun
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#4
Originally Posted by sjgadsby View Post
Does opening X Terminal and using the "mount" command with no arguments provide you with enough information?
still wrong. One solution is not to put the mmc1 in the N810; and then only put it in after it has been booted.

see https://bugs.maemo.org/show_bug.cgi?id=2747
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#5
Yes, we know there is the bug. It does give me 'hints' though, as long as I remember that they are switched, very annoying.

I got an idea, if you look at df carefully, on the N810, the 1st row does trap the correct id! and it is different from the 2nd row. While on the N800, both rows reported the same correct id. What do you think?

So, one can kind of err trap df report of the 1st 2 rows, if same, must be an N800, will take the id as reported. If different, must be an N810, will switch id from reported and flag a statement before backup. Make sense? It does to me

bun

Last edited by bunanson; 2009-07-08 at 01:24.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#6
OK, continue debian 101.......another question.

In MsWindoz, we have batch programs and we also have start.com (I forgot, something like that), i.e., the 1st program to start when Windoz boot up. Do we have similar things in debian or maemo, say I want to run the same program upon finishing bootup?

I have boingomobile installed. Everytime I boot up my tablet, Boingomobile will automatically run and ask me to sign on. How do they do that? More scarely, a couple of time, while I was doing totally unrelated activities, like browsing or watching video, it suddenly popped up a message from Boingomobile, "your version is outdated/corrupted...pls reinstall" First, how do they do that, is that a trojan? And if so, is that means I have boingomobile running at the background ALL along everytime I am using my tablet? I doubted it, I did not see them in "show process"

Anybody use boingomobile and experience similar episode? Or my tablet start seeing things , need to see a tablet psychiatrist? Do they take no insurance as in health care?

Edit: Is that because I have Connectivity>Connect automatically: Always ask"?



bun

Last edited by bunanson; 2009-07-08 at 02:19.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:19.