Re: Mac El Capitan Dual Boot

2020-02-14 Thread Kenneth Parker
On Thu, Feb 13, 2020 at 2:19 PM Charles Curley <
charlescur...@charlescurley.com> wrote:

> On Thu, 13 Feb 2020 12:03:20 -0500
> Kenneth Parker  wrote:
>
> > I am helping a friend install Debian on an older MacBook, running OS X
> > 10.11 (El Capitan).
>
> How old? The current version of Mac OS is Catalina, 10.15.3. This on a
> Macbook Air made in mid-2012. ( -> About this Mac)
>

I have not eyeballed this machine.  He told me that it had Mountain Lion on
it when he got it and was upgraded to El Capitan.  Suffice it to say that
it's old enough to have a Spinning Hard Drive and DVD Drive on it.  I told
him to investigate a Catalina Upgrade.

Anyway, consider this "situation" closed, because a Followup Question by me
was about what other Hardware he has?  He responded that he has an old Dell
in a Closet with XP on it.  We agreed that we leave alone the Mac, and make
the Dell a "pure Debian Laptop".

Thank you and best regards,

Kenneth Parker


Re: Mac El Capitan Dual Boot

2020-02-14 Thread Kenneth Parker
On Thu, Feb 13, 2020 at 12:35 PM Jonas Smedegaard  wrote:

> Quoting Kenneth Parker (2020-02-13 18:03:20)
> > I am helping a friend install Debian on an older MacBook, running OS X
> > 10.11 (El Capitan).  It currently has a single 300G HFS Plus (Journaled)
> > Partition, with lots of free space.
> >
> > He wants to keep OS X, and use Buster (or Sid, leading to the next Stable
> > Release).
> >
> > He wants to shrink the Mac Partition, create a couple more for this.  (I
> > explained the need for two, including a Swap Partition to him).
> >
> > He thinks that Debian should be able to work on the same HFS Plus Disk
> > format.  Has anyone tried this?
> >
> > This is all preliminary now, as I am trying to talk him into ext4 for the
> > Debian Partition and, if he needs a place to share files, put a small,
> > fourth vfat Partition in for that.
>
> Debian (and Linux in general) supports read-write access to HFS+
> partitions, but it is unreliable.  I would expect it to be difficult to
> setup and the result would be unreliable (either because you would end
> up depending on the unreliable HFS+ write access, or because you would
> end up having a too complex to reliably maintain stack of hacks to work
> around the unreliable HFS+ write access).
>

I have read up on this HFS+ file system and concur completely.  My friend
didn't like my answer (don't use HFS+ for Linux) at all, putting the whole
"project" in question.  More on another reply.

 Thanks!  Kenneth Parker


Re: Mac El Capitan Dual Boot

2020-02-13 Thread Felix Miata
Jonas Smedegaard composed on 2020-02-13 18:35 (UTC+0100):

> Debian (and Linux in general) supports read-write access to HFS+ 
> partitions, but it is unreliable.  I would expect it to be difficult to 
> setup and the result would be unreliable (either because you would end 
> up depending on the unreliable HFS+ write access, or because you would 
> end up having a too complex to reliably maintain stack of hacks to work 
> around the unreliable HFS+ write access).

This is an example of how it goes on my multiboot a2134 iMac running El Capitan:
> inxi -S
System:Host: i2134 Kernel: 4.12.14-lp151.28.36-default x86_64 bits: 64 
Desktop: Trinity R14.0.7 Distro: openSUSE Leap 15.1
> zypper se -si hfs
...
S  | Name | Type| Version | Arch   | Repository
i+ | hfsutils | package | 3.2.6-lp151.3.3 | x86_64 | OSS
> grep hfs /etc/fstab
/dev/disk/by-id/ata-yada-part2   /macsys hfsplus ro,nofail   0 0
/dev/disk/by-id/ata-yada-part4   /home/macdata   hfsplus 
force,uid=501,gid=100,umask=002,noatime,nofail  0  0
> lsmod | grep hfs
hfsplus   118784  3
> df | grep mac
/dev/sda2  36997232  14163508  22833724  39% /macsys
/dev/sda4 450428928  19288104 431140824   5% /home/macdata
> fdisk -l /dev/sdb
Disk /dev/sdb: 14.6 GiB, 15623782400 bytes, 30515200 sectors
Disk model: USB Flash Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7cfb8c48

Device Boot Start  End  Sectors  Size Id Type
/dev/sdb1  *   48 30515199 30515152 14.6G af HFS / HFS+
> mount | grep sdb1
/dev/sdb1 on /run/media/yada/Lexar type hfsplus 
(ro,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8,uhelper=udisks2)
> mount -o remount,rw /run/media/root/Lexar
> mount | grep sdb1
/dev/sdb1 on /run/media/yada/Lexar type hfsplus 
(ro,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8,uhelper=udisks2)
> mount -o remount,rw /dev/sdb1
> mount | grep sdb1
/dev/sdb1 on /run/media/yada/Lexar type hfsplus 
(ro,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8,uhelper=udisks2)
>

On another PC here:
> inxi -S
System:Host: ab250 Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Trinity 
R14.0.8 Distro: Debian GNU/Linux 10 (buster)
> lsmod | grep hfs
hfs 69632   0
> dpkg-query -l | grep hfs
ii hfsutils 3.2.6-14amd64   Tools for reading and 
writing Macintosh volumes

inserting the same USB stick, Konq reports:

[quote]Unable to mount this device.

Potential reasons include:
Improper device and/or user privilege level # happens to root user
Corrupt data on storage device # works fine in El Capitan

Technical details:
org.freedesktop.UDisks2.Error.OptionNotPermitted: Requested filesystem type 
'hfsplus'
is neither well-known nor in /proc/filesystems nro in /etc/filesystems[/quote]

# mount | grep sda
# fdisk -l | grep sda1
/dev/sda1  *   48 30515199 30515152 14.6G af HFS / HFS+
# mount -t hfsplus -o rw,force /dev/sda1 /mnt
# mount | grep sda
/dev/sda1 on /mnt type hfsplus (rw,relatime,umask=22,uid=0,gid=0,nls=utf8)

IOW, in Buster at least, hfsplus won't autoload, and even when loaded, TDE
won't mount it at all as ordinary user, while root has to remount,rw,force 
to acquire write permission.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Mac El Capitan Dual Boot

2020-02-13 Thread Charles Curley
On Thu, 13 Feb 2020 14:28:27 -0700
Charles Curley  wrote:

> I didn't ask for my benefit, I asked for your benefit. I will guess
> that you have vetted your hardware on this list.

Sorry, that should be, "... I asked for the OP's benefit. I will guess
that he will vet his hardware on this list."

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


pgpcpwhf65Fh7.pgp
Description: OpenPGP digital signature


Re: Mac El Capitan Dual Boot

2020-02-13 Thread Charles Curley
On Thu, 13 Feb 2020 20:59:07 +0100
Jonas Smedegaard  wrote:

> > > I am helping a friend install Debian on an older MacBook, running
> > > OS X 10.11 (El Capitan).  
> > 
> > How old? The current version of Mac OS is Catalina, 10.15.3. This
> > on a Macbook Air made in mid-2012. ( -> About this
> > Mac)  
> 
> More info here: https://wiki.debian.org/InstallingDebianOn/Apple

I didn't ask for my benefit, I asked for your benefit. I will guess
that you have vetted your hardware on this list.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


pgpXq_UTNG3nm.pgp
Description: OpenPGP digital signature


Re: Mac El Capitan Dual Boot

2020-02-13 Thread Jonas Smedegaard
Quoting Charles Curley (2020-02-13 19:56:31)
> On Thu, 13 Feb 2020 12:03:20 -0500
> Kenneth Parker  wrote:
> 
> > I am helping a friend install Debian on an older MacBook, running OS 
> > X 10.11 (El Capitan).
> 
> How old? The current version of Mac OS is Catalina, 10.15.3. This on a 
> Macbook Air made in mid-2012. ( -> About this Mac)

More info here: https://wiki.debian.org/InstallingDebianOn/Apple


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Mac El Capitan Dual Boot

2020-02-13 Thread Charles Curley
On Thu, 13 Feb 2020 12:03:20 -0500
Kenneth Parker  wrote:

> I am helping a friend install Debian on an older MacBook, running OS X
> 10.11 (El Capitan).

How old? The current version of Mac OS is Catalina, 10.15.3. This on a
Macbook Air made in mid-2012. ( -> About this Mac)

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Mac El Capitan Dual Boot

2020-02-13 Thread Jonas Smedegaard
Quoting Kenneth Parker (2020-02-13 18:03:20)
> I am helping a friend install Debian on an older MacBook, running OS X
> 10.11 (El Capitan).  It currently has a single 300G HFS Plus (Journaled)
> Partition, with lots of free space.
> 
> He wants to keep OS X, and use Buster (or Sid, leading to the next Stable
> Release).
> 
> He wants to shrink the Mac Partition, create a couple more for this.  (I
> explained the need for two, including a Swap Partition to him).
> 
> He thinks that Debian should be able to work on the same HFS Plus Disk
> format.  Has anyone tried this?
> 
> This is all preliminary now, as I am trying to talk him into ext4 for the
> Debian Partition and, if he needs a place to share files, put a small,
> fourth vfat Partition in for that.

Debian (and Linux in general) supports read-write access to HFS+ 
partitions, but it is unreliable.  I would expect it to be difficult to 
setup and the result would be unreliable (either because you would end 
up depending on the unreliable HFS+ write access, or because you would 
end up having a too complex to reliably maintain stack of hacks to work 
around the unreliable HFS+ write access).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Mac El Capitan Dual Boot

2020-02-13 Thread Kenneth Parker
I am helping a friend install Debian on an older MacBook, running OS X
10.11 (El Capitan).  It currently has a single 300G HFS Plus (Journaled)
Partition, with lots of free space.

He wants to keep OS X, and use Buster (or Sid, leading to the next Stable
Release).

He wants to shrink the Mac Partition, create a couple more for this.  (I
explained the need for two, including a Swap Partition to him).

He thinks that Debian should be able to work on the same HFS Plus Disk
format.  Has anyone tried this?

This is all preliminary now, as I am trying to talk him into ext4 for the
Debian Partition and, if he needs a place to share files, put a small,
fourth vfat Partition in for that.

Thanks in advance.

Kenneth Parker