• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: help me please..  (Read 1458 times)
thedesigner
Newbie
*

Karma: 0
Posts: 4


View Profile
« on: November 17, 2010, 01:01:36 AM »

Hi people,
sorry for my bad english but i have a big problem with sheevaplug..
I have installed debian on nand and i use this machine as a server for my dates..
Yesterday i changed root permission for error and now i have an error on boot:
Quote
INIT: Entering runlevel: 2/init.d/rcS"
INIT: cannot execute "/etc/init.d/rc"
I am in panic,i need to have those dates..
If i append init=/bin/bash in bootargs i have these errors:
Quote
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00            1024 mtdblock0 (driver?)
1f01            4096 mtdblock1 (driver?)
1f02          519168 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c0032b24>] (unwind_backtrace+0x0/0xdc) from [<c041cb3c>] (panic+0x3c/0x128)
[<c041cb3c>] (panic+0x3c/0x128) from [<c0008f24>] (mount_block_root+0x1d4/0x21c)
[<c0008f24>] (mount_block_root+0x1d4/0x21c) from [<c00090fc>] (prepare_namespace+0x8c/0x1c8)
[<c00090fc>] (prepare_namespace+0x8c/0x1c8) from [<c000844c>] (kernel_init+0xdc/0x114)
[<c000844c>] (kernel_init+0xdc/0x114) from [<c002e45c>] (kernel_thread_exit+0x0/0x8)
Please help me,i don't know what i can do to resolve the problem!
Logged

dattaway
Jr. Member
**

Karma: 5
Posts: 91



View Profile WWW
« Reply #1 on: November 17, 2010, 01:44:42 AM »

Looks like the root partition may have been installed in another location, such as the sdcard.
Logged

thedesigner
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #2 on: November 17, 2010, 01:47:03 AM »

it's impossible..i have not sdcard inserted..
I think that root has not root permission more and now some processes can't go up..
Is there a method to have a bash after uboot without login?
Logged

sfzhi
Jr. Member
**

Karma: 1
Posts: 83


View Profile
« Reply #3 on: November 17, 2010, 05:10:07 AM »

Is there a method to have a bash after uboot without login?
Yes, that is what you have already tried (appending init=/bin/bash to bootargs).

How exactly did you try it? I have noticed that if you change bootargs via the u-boot prompt and continue booting, the kernel will not get the correct boot parameters (and thus won't find the root fs). I don't know if this is a bug in u-boot or some obscure feature. You have to actually save the modified value of bootargs (using saveenv) and reset the plug.
Logged

Lack of knowledge is not such a big problem, unwillingness to learn is.

Pages: [1]
Print
Jump to: