![]() |
How can one tell which is the booting disk?
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 |
Re: How can one tell which is the booting disk?
Quote:
|
Re: How can one tell which is the booting disk?
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 |
Re: How can one tell which is the booting disk?
Quote:
see https://bugs.maemo.org/show_bug.cgi?id=2747 |
Re: How can one tell which is the booting disk?
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 |
Re: How can one tell which is the booting disk?
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 |
All times are GMT. The time now is 15:32. |
vBulletin® Version 3.8.8