Is this part just for our info, or should we try to do this command on the LLL?
It's just for info. And I can confirm now mke2fs is not available too. (At least not on MX3),
which makes it hard to create an ext3 partition without another linux box.
I used a chrooted debian for it.
Also, just to cross the t s and dot the i s, it's awhile since I've used fdisk as I use Partition Manager now!
I'm sure when I get to the fdisk part it'll become plainly obvious again, but.... as it is an important part is there a chance you can give examples of the command needed on the following lines:
-- Delete all partitions
-- Create a primary partition of (sizeof(SD card) - sizeof(intended swapsize))
-- Create a primary partition of remaining space (which is sizeof(intended swapsize) 128~256MB)
-- Change the partition type of the second partition to swap.
--- If you want the SD card to be readable in a Windows system, you should change the partition type of the first partition to FAT16 or FAT32.
-- Save changes and exit fdisk
It's not that hard:
fdisk /dev/mmc0
type 'm' for help, which tells you to:
- type 'p' to view the partition table
- type 'd' for each partition. fdisk will ask for a number start with 1, then 2 ...
In most cases there's only one partition
- type 'n p' for a new primary partition. fdisk will ask for a starting and ending cylinder
'p' gave you the current partition table, and the size of the device in cylinders.
since you know the size in MB, you can calculate the size of a cylinder.
the starting cylinder is 1, choose an ending cylinder so you've about 200 MB left.
- type 'n p' to create a second partition, Assing all space left.
- type 't 1 b<enter> to flag the first partition FAT32 (it still needs to be formatted, fdisk won't do it)
- type 't 2 82<enter> to flag the second partition swap.
- type 'w' to write the changes and exit.