Tiny Core Base > Raspberry Pi
PiCore image creating
bmarkus:
Raspbian starts at 8192 also to leave room for the BOOT at the beginning of card. Just for curiosity you can try to repartition it starting at the very beginning and see wheter it boots or not. Let me know the result. I have never tried :)
patrikg:
Okey lets see.
--- Code: (bash) ---parted 2017-01-11-raspbian-jessie.img print
Model: (file)
Disk 2017-01-11-raspbian-jessie.img: 4372MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194kB 70.3MB 66.1MB primary fat32 lba
2 70.3MB 4372MB 4301MB primary ext4
--- End code ---
--- Code: (bash) ---parted piCore-8.1.5.img print
Model: (file)
Disk piCore-8.1.5/piCore-8.1.5.img: 46.1MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194kB 35.7MB 31.5MB primary fat16 lba
2 35.7MB 46.1MB 10.5MB primary ext4
--- End code ---
You are absolutely right.
Haven't thought about this with raspbian.
Paul_123:
If you format a SD Card with SD Card for matter from the SD Card association, it will start at 8192. (At least for cards over 2 or 4GB)
patrikg:
Sorry to start this thread again, but I've been thinking about this a lot.
I think I know why the partition starts two sectors away.
It is so that the boot code will have space for MBR.
Now when you run with a fat partition on a raspberry pi that does not require any boot code.
I think you can start the partition much earlier.
bmarkus:
You can try it, verify your idea and share result with us :)
Navigation
[0] Message Index
[*] Previous page
Go to full version