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

Benjamin Cama <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <[email protected]>
Hi Ilko,

Le Mon, Aug 19, 2024 at 02:56:25PM +0300, ilko Iliev a écrit :
>  Thanks for the suggestion but regarding:   >You must install the 
>  package “hfsprogs”, then run:
>>
>># umount /boot/grub
>># fsck.hfs -y /dev/sda2
>># mount -a
>># dpkg-configure -a
>
>
>   Unfortunately that doesn't work because I can't install absolutely anything, it always fails with the same error as stated in OP:  sudo apt-get install hfsprogs
>
>Reading package lists... Done
>Building dependency tree... Done
>Reading state information... Done
>The following packages will be REMOVED:
>
> linux-image-6.1.0-9-powerpc64

That’s what everyone including me missed: that you were first purging 
this package for some reason. Either try to re-install it first (but I 
suspect it will still try to change the grub config):

   apt-get install linux-image-6.1.0-9-powerpc64

Or just download hfsprogs and install it manually:

   apt-get install --download-only hfsprogs
   sudo dpkg -i /var/cache/apt/archives/hfsprogs*.deb

Or if apt-get still does not work, just download it manually from here:

https://packages.debian.org/search?keywords=hfsprogs

and install it with "dpkg -i" as above.

Then follow Adrian’s advices.

Regards.
-- Benjamin
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.