Page 1 of 1

no boot/config

Posted: Sun Dec 29, 2013 1:12 pm
by Kaushik
I use Rasbian 7. I have done apt-get update&& upgrade. done an rpi-update.

I do not have /boot/config.txt. Could you tell me where this config is stored? I need to change some config settings.

Re: no boot/config

Posted: Sun Dec 29, 2013 1:23 pm
by DougieLawson
sudo mount /dev/mmcblk0p1 /boot

Re: no boot/config

Posted: Sun Dec 29, 2013 1:25 pm
by Joe Schmoe
The default is that there is no such file. If you need it, you have to create it.

To go a little deeper into this, my experience is that if you install from a "raw image", then you won't get a config.txt unless/until you need one and make one. If you install from NOOBS, then you do get a default config.txt file.

So, I'm guessing that you installed from a raw image...

Nothing wrong with that, of course. But it does make things a little confusing for people who expect the file to already be there (this question comes up with some frequency). Maybe the raw images should be changed to create a zero-length file?

Re: no boot/config

Posted: Sun Dec 29, 2013 3:50 pm
by Kaushik
Hi DL, Joe
Thanks. I got this SDcard done by the shop I purchased the pi from. It has multiple OSes installed including xbmc, raspbian, sugar, puppylinux, olec.

I am a windows developer and new to linux. Doing a df -hT I see that /dev/mmcblk0p1 is mounted to /media/0316-D206, which does have a config.txt as you rightly said.

1. Are you saying that I should copy the config.txt under /dev/mmcblk0p1 to /boot?.

2. Moreover, I already have a /boot directory and it has similar-named files like bootcode.bin, fixup_cd.bat, start.elf, start_cd.elf, etc (but no config.txt). Could you tell me where these files come from and why I should lose them by mounting mmcblk0p1?