Re: "cannot create /boot/grub/grub.cfg.new: Read-only file system" on a Power Mac G5

Lennart Sorensen <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <[email protected]>
On Sun, Aug 11, 2024 at 02:04:18PM +0300, ilko Iliev wrote:
>  Hello Len,  
>   Here's what the mounts are like:
>
<snip things that did not survive plain text well>

/boot/grub                                                  /dev/sda2   hfs         ro,relatime,uid=0,gid=0

That is certainly mounted readonly (ro) so unless you remount it rw it is not going to be able to update.

I am not sure why that is an hfs volume.  Is that normal for grub on
a powermac?  I am affraid I have only used other powerpc linux systems
myself.  Looking it up a bit it does appear that it is normal to use
hfs for /boot/grub since the firmware has to read grub from there.

You could try doing: mount -o remount,rw /boot/grub

Maybe that will make it read write and hence able to allow grub to update.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.