• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

The "Linux questions (and other stuff)" thread

What device and did it finish?

Still building. Maybe I should switch to kernels so I don't blow up my poor laptop lol

Plain aosp for my nexus 7 right now just to make sure its all kosher and I have the process down.

Eventually I want to try to port it to the s3 or evo 4g lte for my own personal use. Will probably rely on much of cms work for that.
 
  • Like
Reactions: palmtree5
Upvote 0
Still building. Maybe I should switch to kernels so I don't blow up my poor laptop lol

Plain aosp for my nexus 7 right now just to make sure its all kosher and I have the process down.

Eventually I want to try to port it to the s3 or evo 4g lte for my own personal use. Will probably rely on much of cms work for that.

Hmm, what's the specs of the computer?
 
Upvote 0
OK so when I try to enable ccache anytime i reboot I get an unresponsive black screen. Clearly I'm not doing it right here.

What's the proper way to enable it, and how do I get Ubuntu to boot again?

Still mostly a Ubuntu noob here. I learn by messing up and figuring it out, but last time I couldn't figure it out and reinstalled the os

12.04 LTS
 
Upvote 0
OK so when I try to enable ccache anytime i reboot I get an unresponsive black screen. Clearly I'm not doing it right here.

What's the proper way to enable it, and how do I get Ubuntu to boot again?
I don't know anything about ccache, so I can't help you there.

Still mostly a Ubuntu noob here. I learn by messing up and figuring it out, but last time I couldn't figure it out and reinstalled the os
:eek: No! No, no, no. :eek: With rare exceptions, no Linux distro should ever need to be reinstalled in order to fix problems. About the only time I ever suggest reinstalling is when a brand new installation is hopelessly screwed up, and the user has nothing to lose by just wiping the drive and starting over again. Other than that, it just shouldn't need to happen. This isn't window$. :D

You said you're getting an unresponsive black screen. Can you boot from a live CD?
 
  • Like
Reactions: Rxpert83
Upvote 0
Also, another thing: keep /home on a separate partition
Ok, so when I reformatted I put /home on its own partition like you suggested. However, I noticed for ccache...

Put the following in your .bashrc or equivalent.
export USE_CCACHE=1 By default the cache will be stored in ~/.ccache. If your home directory is on NFS or some other non-local filesystem, you will want to specify the directory in your .bashrc as well.
export CCACHE_DIR=<path-to-your-cache-directory>
Now how do I know the correct path to use for the partition? :thinking:
 
Upvote 0
Ok, so when I reformatted I put /home on its own partition
Good! That's the preferred way.

However, I noticed for ccache...
Put the following in your .bashrc or equivalent.
export USE_CCACHE=1 By default the cache will be stored in ~/.ccache. If your home directory is on NFS or some other non-local filesystem, you will want to specify the directory in your .bashrc as well.
export CCACHE_DIR=<path-to-your-cache-directory>
Now how do I know the correct path to use for the partition? :thinking:
Assuming your home directory is in the default location, i.e., /home/YOUR_USER_NAME, then you don't need to specify anything, as you'll have /home/YOUR_USER_NAME/.ccache. It's only if you stuck your home directory in some other location, such as on a hard drive in another computer on your network [which would be REALLY weird!], would you need to specify its location. So just add the export USE_CCACHE=1 line to your ~/.bashrc file and you'll be good to go.
 
  • Like
Reactions: Rxpert83
Upvote 0
When I rebooted this morning I got the black screen again. I donno what the deal is. If I hit the arrow key while its trying to boot itll show the command prompt and itll prompt me with a login, and after successfully logging in I can cd to all of my different directories and things but I think its having problems booting the actual graphics?

This is really starting to get on my nerves. I've reinstalled this thing twice now and it keeps happening.
 
Upvote 0
Alright guys,

I have 2 harddrives in my computer on with unbuntu and one with windows. and i cant for hell figure out how to get them both to boots and i choose witch one i want to boot into ?.. any help ?
Just an FYI: You might want to add posts like this to the Linux questions thread. It helps keep all Linux-oriented stuff organized, plus it's more likely that certain people (like me!) will see your question. :D
 
  • Like
Reactions: Rxpert83
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones