Fixes related to /etc/fstab and mounting /boot in the initramfs
pmaports side of https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2304
After quite some back and forth (including closing !5083 (closed)), came to the conclusion that what we want is:
- To mount
/boot
in the initramfs, and not in the rootfs, aswe don't want to readnot all installations have proper /etc/fstab. See #2800/etc/fstab
, and OpenRClocalmount
will not mountvfat
orext2
filesystems - To add as many sensible options as possible, identical to !5083 (closed). Unfortunately the previous point makes the duplication necessary
- We want to fix fstab when possible, to make things consistent
Merge request reports
Activity
added 6 commits
- d0174175 - main/postmarketos-initramfs: add some sane mount options to /boot
- 89fb5594 - main/postmarketos-initramfs: add options for charset to mount vfat /boot
- f27d8c92 - main/postmarketos-initramfs: update comment on why we mount /boot
- 1aeec867 - main/postmarketos-base: don't ship a default /etc/fstab
- f03e2561 - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs
- 08882010 - main/postmarketos-base: add / and /boot entries to empty /etc/fstab
By Pablo Correa Gomez on 2024-05-01T17:55:22
Toggle commit list- Resolved by Administrator
this seems pretty sensible to me. fwiw we eventually plan to drop initramfs-extra for almost all devices (and as a result avoid all this arcane "mounting boot in the initramfs" nonsense).
weird that openrc won't mount vfat partitions from fstab.?
By Caleb Connolly on 2024-05-06T15:54:39
Edited by Ghost User
added 6 commits
- 1565089d - main/postmarketos-initramfs: add some sane mount options to /boot
- 075ac3ac - main/postmarketos-initramfs: add options for charset to mount vfat /boot
- b3b22872 - main/postmarketos-initramfs: update comment on why we mount /boot
- e246d8cf - main/postmarketos-base: don't ship a default /etc/fstab
- d10998ec - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs
- b453e136 - main/postmarketos-base: add / and /boot entries to empty /etc/fstab
By Pablo Correa Gomez on 2024-05-01T22:03:25
Toggle commit listadded type::fix label
added 5 commits
- f3cbc2c7 - main/postmarketos-initramfs: add options for charset to mount vfat /boot
- 8a3c4728 - main/postmarketos-initramfs: update comment on why we mount /boot
- dff98545 - main/postmarketos-base: don't ship a default /etc/fstab
- 5ddb5091 - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs
- d70160d5 - main/postmarketos-base: add / and /boot entries to empty /etc/fstab
By Pablo Correa Gomez on 2024-05-01T22:08:26
Toggle commit listadded 7 commits
-
fb1a13a5 - 1 commit from branch
master
- 21b06856 - main/postmarketos-initramfs: add some sane mount options to /boot
- 07705b5b - main/postmarketos-initramfs: add options for charset to mount vfat /boot
- 546f3561 - main/postmarketos-initramfs: update comment on why we mount /boot
- 8401656f - main/postmarketos-base: don't ship a default /etc/fstab
- c9ef7a97 - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs
- 7d2716ee - main/postmarketos-base: add / and /boot entries to empty /etc/fstab
By Pablo Correa Gomez on 2024-05-02T17:25:52
Toggle commit list-
fb1a13a5 - 1 commit from branch
Moved
nosymlink
to be only fat on concerns: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2304#note_1888990497By Pablo Correa Gomez on 2024-05-02T17:26:24
mentioned in issue pmbootstrap#2201 (closed)
By Robert Eckelmann on 2024-05-03T08:58:28
- Resolved by Administrator
- Resolved by Administrator
added 4 commits
- 0be04df4 - main/postmarketos-initramfs: add some sane mount options to /boot
- 085fc908 - main/postmarketos-initramfs: add options for charset to mount vfat /boot
- dd88dd54 - main/postmarketos-initramfs: update comment on why we mount /boot
- bec5da6f - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs
By Pablo Correa Gomez on 2024-05-03T17:08:46
Toggle commit listadded 1 commit
- 1f4426f6 - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs
By Pablo Correa Gomez on 2024-05-03T17:11:47
added 21 commits
-
1f4426f6...02aad8d3 - 17 commits from branch
master
- 80dd5c6d - main/postmarketos-initramfs: add some sane mount options to /boot
- dcf75bfc - main/postmarketos-initramfs: add options for charset to mount vfat /boot
- 077a673d - main/postmarketos-initramfs: update comment on why we mount /boot
- cc52e0c1 - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs
By Pablo Correa Gomez on 2024-05-06T15:52:49
Toggle commit list-
1f4426f6...02aad8d3 - 17 commits from branch
- Resolved by Administrator
- Resolved by Administrator
added 47 commits
-
cc52e0c1...1be51a14 - 43 commits from branch
master
- 4216fc14 - main/postmarketos-initramfs: add some sane mount options to /boot
- 5eed5e37 - main/postmarketos-initramfs: add options for charset to mount vfat /boot
- 6b26cbff - main/postmarketos-initramfs: update comment on why we mount /boot
- 1c2cb3ae - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs
By Pablo Correa Gomez on 2024-05-16T10:01:12
Toggle commit list-
cc52e0c1...1be51a14 - 43 commits from branch
added 10 commits
-
1c2cb3ae...2db5ff27 - 6 commits from branch
master
- efc7ad99 - main/postmarketos-initramfs: add some sane mount options to /boot (MR 5089)
- bb6d7a05 - main/postmarketos-initramfs: add options for charset to mount vfat /boot (MR 5089)
- 28e58a9c - main/postmarketos-initramfs: update comment on why we mount /boot (MR 5089)
- 3909b1db - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs (MR 5089)
By Pablo Correa Gomez on 2024-05-16T10:03:22
Toggle commit list-
1c2cb3ae...2db5ff27 - 6 commits from branch
enabled an automatic merge when the pipeline for 3909b1db succeeds
By Pablo Correa Gomez on 2024-05-16T10:03:29
mentioned in issue #2874 (closed)
By Andreas Kemnade on 2024-06-07T10:09:05