sd card?

Joachim Ott jo.omsl at googlemail.com
Mon Aug 17 14:13:25 CEST 2009


2009/8/15 Rask Ingemann Lambertsen <ccc94453 at vip.cybercity.dk>:
> On Tue, Jul 21, 2009 at 07:47:45PM -0400, Seth Rothenberg wrote:
>> I can't access my SD card.
> [...]
>
>   Apologies for not spotting the mistake until now, but:
>
>> root at om-gta02 ~ $ fdisk /dev/mmcblk0
>>
>> Unable to open /dev/mmcblk0
>
>   You need to run fdisk as root to access /dev/mmcblk0.

The "root at om-gta02" indicates that he is root. The $ instead of the #
in the prompt is an error in the PS1 in the standard /etc/profile:

# export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] "

export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\]:\w \\$\[\033[00m\] "

Change the $ to \\$ then you get # for uid=0 and $ for the rest.



More information about the support mailing list