Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Fr/En) Debian on MBP M1 : After installation read but not write rights #112

Open
Gwnn opened this issue Apr 15, 2024 · 1 comment
Open

Comments

@Gwnn
Copy link

Gwnn commented Apr 15, 2024

(Fr voir plus bas)

Bonjour/Bonsoir !

Please excuse my English. I translate via a translator. I am a French speaker.
What's more, I'm learning... I'm not a total beginner but I'm not a computer scientist.


I own a Macbook Pro M1. I installed the Debian M1 encrypted project following the tutorial:
https://g3la.de/hedgedoc/buDIXGBuRzKMwUnYOpStuw#

After installation, I can boot on the Debian freshly installed via Asahi which I installed only the strict necessary: m1n1 + U-Boot + ESP.

Everything looks ok. Except :
My Debian is read-only (with or without sudo) on all partitions
(except /tmp and /boot for which I have the necessary read and write rights)

My /etc/fstab looks like the one suggested in the tutorial above. So it looks like this:

/dev/nvme0n1p5           /boot       ext4    defaults,noatime        0 2
/dev/mapper/DebM1-root   /           ext4    noatime,compress=zstd   0 1
/dev/nvme0n1p4           /boot/efi   vfat    defaults                0 0
tmpfs                    /tmp        tmpfs   noatime,nosuid          0 0
/dev/mapper/DebM1-swap   none        swap    sw                      0 0
/dev/mapper/DebM1-home   /home       ext4    defaults,noatime        0 2

I can boot a Live-Usb on the MacBook Pro M1 to make changes.
What do I have to change for my partitions to work?

Thanks in advance!
and ... Have a nice day .


(Fr)

(...)
De plus, j'apprend.. suis pas totalement un debutant mais je ne suis pas informaticien.

Je possède un Macbook Pro M1. J'y ai installé le projet Debian M1 chiffré en suivant le tutoriel :
https://g3la.de/hedgedoc/buDIXGBuRzKMwUnYOpStuw#

Après installation, je peux booter sur la Debian fraichement installé via Asahi dont je n'ai installé que le stricte nécessaire : m1n1 + U-Boot + ESP.

Tout à l'air ok. Sauf :
Ma Debian n'est accessible qu'en lecture seulement (avec ou sans sudo) quelque soit la partition
(sauf /tmp et /boot avec lesquels j'ai les droits nécéssaire en lecture et écriture)

Mon /etc/fstab ressemble à celui proposé par le tutoriel cité plus haut. Et donc ressemble à à ceci :

/dev/nvme0n1p5           /boot       ext4    defaults,noatime        0 2
/dev/mapper/DebM1-root   /           ext4    noatime,compress=zstd   0 1
/dev/nvme0n1p4           /boot/efi   vfat    defaults                0 0
tmpfs                    /tmp        tmpfs   noatime,nosuid          0 0
/dev/mapper/DebM1-swap   none        swap    sw                      0 0
/dev/mapper/DebM1-home   /home       ext4    defaults,noatime        0 2

Je peux démarrer un Live-Usb sur le MacBook Pro M1 pour effectuer des changements.
Que dois je changer pour que mes partitions ?

Merci d'avance !!
et Bonne journée ..

😃

@Gwnn
Copy link
Author

Gwnn commented Apr 15, 2024

Sorry .. I have two major errors ..
One of which is a consequential oversight :

  • First, I forgot to mount the /home partition
  • Secondly, my fstab for the ROOT partition is badly argued

So I'll change all that and come to give news ..

(oops)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant