Discussion:
[fedora-arm] Raspberry pi 3: btrfs as root fs and uboot (or grub?)
Tomasz Kłoczko
2016-12-13 12:55:07 UTC
Permalink
Hi,

Current rawhide fedora image is using xfs has a bit higher memory
requirements than btrfs so I've started thinking about migration of my
current image to new root fs on new card.

Looking on partition table on rawhide image served by fedora I see:

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 61439 59392 29M c W95 FAT32 (LBA)
/dev/mmcblk0p2 * 61440 1060863 999424 488M 83 Linux
/dev/mmcblk0p3 1060864 2060287 999424 488M 82 Linux swap / Solaris
/dev/mmcblk0p4 2060288 15126527 13066240 6.2G 82 Linux swap / Solaris

Q1: for what is this fat32 first partition?
Q2: is it possible to install uboot files from /boot on btrfs? (on x86 and
grub it is no problem with this)
Q3: seems someone done porting of the grub to arm so why there is n grub2
package in fedora?

kloczek
--
Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
Tom Callaway
2016-12-13 12:57:38 UTC
Permalink
The pi firmware needs to be read off a fat partition:

https://www.raspberrypi.org/documentation/installation/sdxc_formatting.md
Post by Tomasz Kłoczko
Hi,
Current rawhide fedora image is using xfs has a bit higher memory
requirements than btrfs so I've started thinking about migration of my
current image to new root fs on new card.
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 61439 59392 29M c W95 FAT32 (LBA)
/dev/mmcblk0p2 * 61440 1060863 999424 488M 83 Linux
/dev/mmcblk0p3 1060864 2060287 999424 488M 82 Linux swap / Solaris
/dev/mmcblk0p4 2060288 15126527 13066240 6.2G 82 Linux swap / Solaris
Q1: for what is this fat32 first partition?
Q2: is it possible to install uboot files from /boot on btrfs? (on x86 and
grub it is no problem with this)
Q3: seems someone done porting of the grub to arm so why there is n grub2
package in fedora?
kloczek
--
Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
_______________________________________________
Peter Robinson
2017-01-10 03:48:21 UTC
Permalink
On Tue, Dec 13, 2016 at 12:55 PM, Tomasz Kłoczko
Post by Tomasz Kłoczko
Hi,
Current rawhide fedora image is using xfs has a bit higher memory
requirements than btrfs so I've started thinking about migration of my
current image to new root fs on new card.
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 61439 59392 29M c W95 FAT32 (LBA)
/dev/mmcblk0p2 * 61440 1060863 999424 488M 83 Linux
/dev/mmcblk0p3 1060864 2060287 999424 488M 82 Linux swap / Solaris
/dev/mmcblk0p4 2060288 15126527 13066240 6.2G 82 Linux swap / Solaris
Q1: for what is this fat32 first partition?
The raspberry pi firmware
Post by Tomasz Kłoczko
Q2: is it possible to install uboot files from /boot on btrfs? (on x86 and
No. But there's no u-boot files in boot, they're on the VFAT
partition. I don't believe u-boot supports loading kernel/initrd from
btrfs though.
Post by Tomasz Kłoczko
grub it is no problem with this)
Q3: seems someone done porting of the grub to arm so why there is n grub2
package in fedora?
Because there's a lot of usecases that doesn't work with it. Some of
it histotical, but basically it comes down to someone to spend the
time to do all the work and QA to move over to it. Basically if i'ts
not broken why fix it...
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe sen
Dennis Gilmore
2017-01-10 15:23:11 UTC
Permalink
On Tue, Dec 13, 2016 at 12:55 PM, Tomasz Kłoczko
Post by Tomasz Kłoczko
Hi,
Current rawhide fedora image is using xfs has a bit higher memory
requirements than btrfs so I've started thinking about migration of my
current image to new root fs on new card.
Only the server image uses xfs, the minimal and all other images use ext4 for
/. the server Working Group decided to use xfs everywhere possible boot is
ext4 as u-boot only supports it from the filesystems we would want to support
for booting from.

Dennis

Loading...