Rich Freeman on 9 Jan 2013 16:47:12 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Partitioning an SD Card |
On Wed, Jan 9, 2013 at 5:15 PM, Eric H. Johnson <ejohnson@camalytics.com> wrote: > # ls /dev/sd > # fdisk -u=sectors /dev/sdb1 This is incorrect. The correct command is fdisk -u=sectors /dev/sdb - no "1" at the end. /dev/sdb1 IS the first partition on /dev/sdb. If you run fdisk on it then you end up creating partitions inside that partition. Linux displays these as /dev/sdb1p1 and so on. When you create a filesystem on /dev/sdb1 you overwrite the nested partition table, and so the nested partitions go away. I doubt you can boot off of nested partitions. What you want to do is create a partition table in /dev/sdb, and however many partitions as you need. Those will then show up as /dev/sdb1, /dev/sdb2, and so on. You can create filesystems inside of each. You shouldn't see any partitions with a letter p in them. Rich ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug