Reply
Thread Tools
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#11
Now you restore from the backup you made just before you deleted your /usr directory. You did make a backup right?
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
Posts: 2,225 | Thanked: 3,819 times | Joined on Jun 2010 @ Florida
#12
Oh this thread made me almost lol in class. A bit mean, because no one explicitly stated this to you, so it's understandable.

The /usr folder contains valuable ****. The chip where /home/opt (I'm actually not sure why /home/usr breaks it) is located is the eMMC; the N900 doesn't mount that until much later in the process. When I scury for rootfs space, I symlink the stuff that for SURE isn't neaded in boot. Aircrack-NG binaries - symlinked. GCC, CPP and the like? Optified out. If you're not using the program at boot at all, symlink it's binary out to /home/opt/whatever - but don't move the entire folder.
 
Posts: 323 | Thanked: 116 times | Joined on Jul 2010
#13
I've only moved the old /usr to /usrold.

If I could enter to the device I could move back /usrold to /usr.
But without shell I can't do anything.
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#14
boot the rescue kernel (as detailed in the wiki entry on re-partitioning the n900), enable USB mode, mount the disk and fix it.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
Captwheeto's Avatar
Posts: 302 | Thanked: 193 times | Joined on Oct 2008 @ England
#15
Delete system3.. I mean /usr. That'll do the trick.
 
Posts: 323 | Thanked: 116 times | Joined on Jul 2010
#16
I can mount my home partition and mydocuments but not my root partition.

How can I access to the root partition in rescue mode?
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#17
Originally Posted by gerdich View Post
I've only moved the old /usr to /usrold.

If I could enter to the device I could move back /usrold to /usr.
But without shell I can't do anything.
You shouldn't have moved /usr. I knew it's too late to warn you now.

I was trying to tell you the proper way to solve rootfs space problem. That's why I asked you to install storageusage such that we could try to find out the cause.

However, you seem to have acted faster than my reply, and did something irreversible.

Let me explain briefly. /usr/ contains something very important that are needed at boot time. Specifically, everything under /lib and /bin/busybox, which provides /bin/mount. Without them, you can't even load modules properly or mount any partition.

I'm afraid you need to prepare to reflash now.

Don't give up. Good luck next time.
 
Posts: 323 | Thanked: 116 times | Joined on Jul 2010
#18
I haven't moved /bin or /lib.
Are they linked to /usr/... for boot operations?
That would be a very strange behaviour of a linux system. I don't think.

I can start the rescue system. There is a kind of network working. I can ping but ssh and telnet are not available.

Does anybody know how to work with the rescue system and the network?
 
Posts: 323 | Thanked: 116 times | Joined on Jul 2010
#19
Can I flash only 1 file?

The file should be the symling from /usr to /usrold.
 
Reply

Tags
bootoops

Thread Tools

 
Forum Jump


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