0

My rpi sd is partitioned as so:

Device Boot      Start         End      Blocks   Id  System
/dev/sdd1            8192      122879       57344    b  W95 FAT32
/dev/sdd2          122880     8519679     4198400   83  Linux
/dev/sdd3         8519680    30702591    11091456    b  W95 FAT32

I use the third partition for video files. I want to hide FAT boot partition, so Windows can't see it but mount the third partition.

I tried changing partition type to 1b with fdisk:

Device Boot      Start         End      Blocks   Id  System
/dev/sdd1            8192      122879       57344   1b  Hidden W95 FAT32
/dev/sdd2          122880     8519679     4198400   83  Linux
/dev/sdd3         8519680    30702591    11091456    b  W95 FAT32

But with this configuration rpi does not boot.

I don't need to have a FAT32 boot partition, is it possible to use an EXT2 boot partition?

1

You have to use fat for the boot partition. What you can do however, is delete both fat partitions, create a new fat partition at the end of the EXT3 partition so that the layout would then be -

    Device Boot      Start         End      Blocks   Id  System
/dev/sdd2          122880     8519679     4198400   83  Linux
/dev/sdd1            8192      122879       57344    b  W95 FAT32

That should still boot, then you create a 3rd partition after the FAT32 one like so

Device Boot      Start         End      Blocks   Id  System
/dev/sdd3         8519680    30702591    11091456    b  W95 FAT32
/dev/sdd2          122880     8519679     4198400   83  Linux
/dev/sdd1            8192      122879       57344    b  W95 FAT32

And windows should see the 1st big partition but not the 3rd small one You'll need to move the partitions when you do this too so that you have more space at the beginning, I haven't adjusted the start/end blocks in the example. Also, this should probably be done on a 2nd SD card and not your primary one as your risk killing your data.

  • In your table sdd1 is in the last line... how is it possible? – Alessandro Pezzato Jun 13 '13 at 7:54
  • If you delete the partition, you can choose were to recreate it. So you recreate after the linux partition – Lawrence Jun 14 '13 at 3:10
  • So rpi can boot from the third partition? – Alessandro Pezzato Jun 14 '13 at 6:07
  • "third" partition physically, but it's the first logical partition, which is what the Pi boots from I believe Edit - actually maybe this wont work...but give it a shot Otherwise check this thread raspberrypi.org/phpBB3/… – Lawrence Jun 17 '13 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.