Embest AM3517 User Manual Page 64

  • Download
  • Add to my manuals
  • Print
  • Page
    / 76
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 63
Appendix III Linux Boot Disk Format
How to create a dual-partition card for SOC8200 to boot Linux from first partition and have root
file system at second partition.
一、Introduction
This guide is meant for those looking to create a dual-partition card, booting from a FAT
partition that can be read by the OMAP3 ROM bootloader and Linux/Windows, then utilizing an
ext3 partition for the Linux root file system.
二、Details
Text marked with [] shows user input.
1Determine which device the SD Card Reader is on your system
Plug the SD Card into the SD Card Reader and then plug the SD Card Reader into your system.
After doing that, do the following to determine which device it is on your system.
$ [dmesg | tail]
...
[ 6854.215650] sd 7:0:0:0: [sdc] Mode Sense: 0b 00 00 08
[ 6854.215653] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 6854.215659] sdc: sdc1
[ 6854.218079] sd 7:0:0:0: [sdc] Attached SCSI removable disk
[ 6854.218135] sd 7:0:0:0: Attached scsi generic sg2 type 0
...
In this case, it shows up as /dev/sdc (note sdc inside the square brackets above).
2Check to see if the automounter has mounted the SD Card
Note there may be more than one partition (only one shown in the example below).
$ [df -h]
Filesystem Size Used Avail Use% Mounted on
...
/dev/sdc1 400M 94M 307M 24% /media/disk
...
Note the "Mounted on" field in the above and use that name in the umount commands below.
3If so, unmount it
$ [umount /media/disk]
4Start fdisk
Be sure to choose the whole device (/dev/sdc), not a single partition (/dev/sdc1).
$ [sudo fdisk /dev/sdc]
5Print the partition record
Page view 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 75 76

Comments to this Manuals

No comments