This is my first attempt to mount an image on my new Beagleboard. I
have followed the steps on the site: BeagleBoardBeginners - eLinux.org.
I have successfully formated the sd card but I have some confusion
when trying to mount the MLO u-boot and angstrom image.
What you've done, you simply a made of copy of those files, not put them
on to the SD/MMC.
You can only mount partitions to mount points which must be directories.
"df" should tell you if /dev/sdb1 and /dev/sdb2 have been automounted.
If they haven't, you can create 2 directories on which to mount
/dev/sdb1 and /dev/sdb2.
"mkdir -p /tmp/X /tmp/Y" your choice of names, X, Y, /tmp/sdb1 or 2
doesn't matter. -- omit the "s.
"mount /dev/sdb1 /tmp/X"
"mount /dev/sdb2 /tmp/Y"
"df" will now tell you that /dev/sdb1 is mounted on /tmp/X and /dev/sdb2
is mounted on /tmp/Y.
The tutorial asks that I copy the angstrom.tar to the card and untar
it in the SD card
As stated above, you didn't copy anything to the card.
However when I try to change to the sdb2 directory it tells me that
there is no directory.:
True you don't have /mnt/sdb1 and /mnt/sdb2 directories, you only have
copies of files with those names.
dewdlives@dewdlives-Optimus:/$ cd /mnt/sdb2
bash: cd: /mnt/sdb2: Not a directory
dewdlives@dewdlives-Optimus:/$ cd /mnt
dewdlives@dewdlives-Optimus:/mnt$ ls -a
. .. sdb1 sdb2
dewdlives@dewdlives-Optimus:/mnt$ ls -l
total 135400
-rw-r--r-- 1 root root 2578044 2009-11-07 01:24 sdb1
-rw-r--r-- 1 root root 135925203 2009-11-07 01:25 sdb2
dewdlives@dewdlives-Optimus:/mnt$ cd sdb2
bash: cd: sdb2: Not a directory
That says you have 2 files with those names not MMC partitions.
"df" will tell you if the 2 partitions are automounted e.g:-
This is how it looks on my box.
# df
/dev/sdd2 15291060 5440836 9073484 38% /media/LABEL2
/dev/sdd1 118587 3123 115464 3% /media/LABEL1
# ls -l /media
total 9
drwxr-xr-x 2 lancelot root 512 1970-01-01 01:00 LABEL1
drwxr-xr-x 18 root root 4096 2009-11-03 12:18 LABEL2
I am currently using Ubuntu, I am no expert in Linux/Unix but I know a
little. It may be something simple that I am missing.
Any help would be appreciated.
Hope that helps, but I reckon you missed a step in the tutorial.
Again, if the MMC partitions are not automounted, you have to manually
create the mount points (directories) and then mount each. I suspect
you'll find they are automounted.
Regards
Sid.