fdisk to show your drives:
Code: sudo fdisk -l
login as root and umount your SD card:
Code:sudo -s
umount /dev/sdb1
fdisk to create partition /dev/sdb of SD card:
Code:fdisk /dev/sdb
New > Primary > Enter > Write > “yes” > Quit
Format new partition /dev/sdb1 to ext3 filesystem:
Code:mke2fs -c /dev/sdb1 # format to ext2
tune2fs -j /dev/sdb1 # convert to ext3 (optional)
e2label /dev/sdb1 SDCARD # set volume label to “SDCARD”
change ownership to user for the SDCARD after remount:
Code:sudo chown -R user:user /media/MMC-SD/SDCARD
4 comments:
Tried this today and managed to change the owner on my highspeed SD Card. Unfortunatly now it as slow as a snail in glue. Any ideas?
try to create the directory
sudo mkdir /media
and remount your sdcard
Thanks a lot for this.
Worked a treat, I had to exit the Console after formatting and labeling the drive, then the Chown command worked.
Now I can get XAMPP working on it.
I did this on my Kingston 8GB and it seemed to break the card. It spent close to an hour trying to create the file system and then I got a memory IO error and it hasn't worked since.
I'm curious what type of card you had success with?
Post a Comment