Monday, February 7, 2022

Recent Questions - Ask Different

Recent Questions - Ask Different


Windows 7 on MacBook Pro installed successfully but restarts with a white screen

Posted: 06 Feb 2022 10:57 PM PST

I have a MacBook Pro Mid-2009. Unfortunately, I erased my internal drive which led me to OS X Utilities only. When i clicked on reinstall OS X, it asked me to sign into my Apple ID. But it ended with a popup, "This item is temporarily unavailable." So I tried installing Windows 7 on that dead MacBook. I created a bootable usb, plugged it, pressed the power button with holding option key, selected my bootable usb(EFI Boot). After that, i saw an installation screen of Windows 7. All the process went good. I selected my internal Drive to install Windows. At last, i saw a popup, "Restarts in 10 seconds". But after the restart my MacBook turned on with a blank white screen only. Anyone please help me to get rid of this problem.

How do I make my display automatically mirror my mac's screen?

Posted: 06 Feb 2022 10:06 PM PST

(I actually have a capture card, but capture cards are essentially virtual monitors.)

I'm trying to mirror my mac on a "display" so I can record it for further reference. I noticed in settings (display) that when you link up the monitor, you have an option to either mirror your main screen (essentially your macbook's POV), or use it as an external monitor.

By default, macOS thinks you want to use the display as an external monitor so you'd have to change it. When I do change it, it remembers my decision for that one monitor.

When I boot into recovery mode, the monitor is treated as a secondary monitor. How do I make it so my macbook treats the external monitor as the primary monitor (or at least mirrors it), so that recovery mode window appears on the external monitor instead of the laptop screen; or other interfaces appear on the external monitor. An example being the first time macOS setup screen/user setup which I have tested on OBS to capture the display and only shows the blurry macos monterey screen. I can also move my mouse cursor to the right onto the external screen.

Significance? - Your laptop screen is broken.

Moving Virtual Memory (VM) partition from SSD to HDD - macOS Catalina

Posted: 06 Feb 2022 10:04 PM PST

Currently my MacOS Catalina is installed onto my SSD. I have 128GB SSD and 3TB HDD. Half space of the SSD and large part of the HDD will be used for Linux that I am going to install. For MacOS I have around 60GB available on SSD and around 1.2TB on HDD.

I am looking for the best way (or all possible ways) to make my MacOS saving content of my VM partition (kernelcore, sleepimage and swap files) on my HDD. I am looking for a way to either:

  1. remove VM partition completely, force system to use /vm folder instead (not disk) as it used to be in the past, save /vm on HDD and make symlink to it on SSD in /private/var/
  2. remove VM partition completely, make another VM partition on my HDD (disk3s1), and use that one instead
  3. remove VM partition completely, use my whole MacOS partition (that is already being used for my user account - disk1s2) that resides on my HDD to save virtual memory files onto it

My disks list:

/dev/disk0 (internal, physical):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        *121.3 GB   disk0     1:                        EFI EFI                     209.7 MB   disk0s1     2:                 Apple_APFS Container disk2         60.5 GB    disk0s2     3:           Linux Filesystem                         60.6 GB    disk0s3    /dev/disk1 (internal, physical):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        *3.0 TB     disk1     1:                        EFI NO NAME                 536.9 MB   disk1s1     2:                  Apple_HFS MacOS HDD               1.2 TB     disk1s2     3:                 Apple_APFS Container disk3         29.5 GB    disk1s6     4:           Linux Filesystem                         1.3 TB     disk1s3     5:           Linux Filesystem                         500.1 GB   disk1s4    /dev/disk2 (synthesized):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      APFS Container Scheme -                      +60.5 GB    disk2                                   Physical Store disk0s2     1:                APFS Volume MacOS SSD – dane        5.5 GB     disk2s1     2:                APFS Volume Preboot                 86.1 MB    disk2s2     3:                APFS Volume Recovery                529.0 MB   disk2s3     4:                APFS Volume VM                      2.1 GB     disk2s4     5:                APFS Volume MacOS SSD               11.2 GB    disk2s5    /dev/disk3 (synthesized):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      APFS Container Scheme -                      +29.5 GB    disk3                                   Physical Store disk1s6     1:                APFS Volume VM                      897.0 KB   disk3s1  

I found similar question here, however I can't make it working with the "UPDATE: Simpler method". I can't mount anything by using the fstab - when I did as it was described in the question from the link, my disk appears as unmounted and can't be mounted due to an error (Error com.apple.DiskManagement.disenter: 49218). Also I can't unmount the original VM disk:

diskutil unmount /dev/disk2s4  Volume VM on disk2s4 failed to unmount: dissented by PID 0 (kernel_task)  

With sudo prefix, it just freezes the terminal.

Also mounting a volume didn't work when I tried:

sudo diskutil mount -mountPoint /volumes/ disk3s1    Volume on disk3s1 failed to mount  Perhaps the operation is not allowed by the invoking user (kDAReturnNotPrivileged)  This appears to be an APFS Volume; note that locked APFS volumes  will not mount unless unlocked (e.g. "diskutil apfs unlockVolume")  

I also tried to mount to /private/var/vm with the same result. Volume is not locked - when I tried unlockVolume.

At the end I can add that when I eddied fstab by adding this line:

UUID=<disk2s4 UUID here> none hfs rw,noauto  

it still mounted to /private/var/vm.

Disk Utility with extra Mac HD after clean install on Monterey (formerly Big Sur)

Posted: 06 Feb 2022 08:52 PM PST

Not sure if I need to re-format and re-install again.

Is it normal to see so many Mac HD, and should I try to remove the extra ones?

Had some HD issue where somehow there was no space left and thus there was nothing to do but to clean install everything.

Now it seems there are multiple Mac HD / Mac HD - Data, with different avail space, as shown:

enter image description here

enter image description here

 ~ % diskutil list  /dev/disk0 (internal, physical):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        *1.0 TB     disk0     1:                        EFI ⁨EFI⁩                     314.6 MB   disk0s1     2:                 Apple_APFS ⁨Container disk1⁩         850.0 GB   disk0s2     3:       Microsoft Basic Data ⁨BOOTCAMP⁩                150.2 GB   disk0s3    /dev/disk1 (synthesized):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      APFS Container Scheme -                      +850.0 GB   disk1                                   Physical Store disk0s2     1:                APFS Volume ⁨Macintosh HD - Data⁩     688.1 KB   disk1s1     2:                APFS Volume ⁨Preboot⁩                 271.6 MB   disk1s2     3:                APFS Volume ⁨Recovery⁩                1.1 GB     disk1s3     4:                APFS Volume ⁨VM⁩                      1.1 GB     disk1s4     5:                APFS Volume ⁨Macintosh HD - Data⁩     66.9 GB    disk1s5     6:                APFS Volume ⁨Macintosh HD⁩            15.7 GB    disk1s7     7:              APFS Snapshot ⁨com.apple.os.update-...⁩ 15.7 GB    disk1s7s1    /dev/disk2 (disk image):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:     Apple_partition_scheme                        +455.4 MB   disk2     1:        Apple_partition_map ⁨⁩                        32.3 KB    disk2s1     2:                  Apple_HFS ⁨Google Chrome⁩           455.3 MB   disk2s2                      (free space)                         13.0 GB    -    /dev/disk5 (disk image):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        +401.1 MB   disk5     1:                  Apple_HFS ⁨Unity Hub 3.0.1⁩         401.0 MB   disk5s1    /dev/disk6 (disk image):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        +2.4 GB     disk6     1:                        EFI ⁨EFI⁩                     209.7 MB   disk6s1     2:                  Apple_HFS ⁨Visual Studio⁩           2.1 GB     disk6s2  

Mac in endless loop of keychain prompts

Posted: 06 Feb 2022 06:59 PM PST

this has occurred a couple of times in the last week. The Mac (Monterey 12.1) will unexpectedly prompt for the local keychain password for a process. Whether I hit ESC or enter the password and continue it then immediately prompts again, but for a different process. This goes on and one and on, each time a different process as if something is looping through all the running processes and prompting for the local keychain password for each one.

Anyone got any idea what's going on and how to stop it?

Record Internal Audio on iPad Pro while listening on Bluetooth Headphones

Posted: 06 Feb 2022 06:59 PM PST

I am a student who is enrolled in a Zoom lecture. I watch my lecture on my Macbook Pro. The problem is that I record my lectures on Notability, and due to my class schedule I have to listen to my lectures on headphones as I can't make it home between classes. Notability records the audio that normally would come out of my speakers, so when I'm listening on my headphones, the recording feature is useless. I followed the steps for this solution I found on reddit (link) but I can't seem to get it working - my iPad doesn't recognize the internal audio. I have two of the Sabrent dongles and a TRRS cable.

I also downloaded loopback and would appreciate any help with that as well, as I understand that is an alternative. If someone could offer help on how to configure it so I could also record internal audio from web browsers, not just zoom, that would be great, as I my professor posts youtube videos for us to watch before lecture that I take notes on.

Basically, I need to route audio from my MacBook Pro to my iPad Pro so that it can record in Notability while simultaneously listening to the audio. Any help would be greatly appreciated. Thanks in advance.

My MacBook Pro always reboots at night after I put it in Sleep mode

Posted: 06 Feb 2022 06:33 PM PST

Here are some of the messages:

Attempting to forcibly halt cpu 0  cpu 0 failed to halt with error -5: halt not supported for this configuration  Debugger synchronization timed out; waited 240000 nanoseconds  panic(cpu 1 caller 0xfffffe0019dff3d0): Ticket spinlock[0xfffffe1fffa78020] timeout after 3011520 ticks; cticket: 0x76, nticket: 0x78, waiting for 0x77, current owner: 0xfffffe2000d38000 (on CPU 0), start time: 2072685055291, now: 2072688066811, timeout: 3000000 @lock_ticket.c:317  Debugger message: panic  Memory ID: 0x6  OS release type: User  OS version: 21D49  Kernel version: Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T6000  Fileset Kernelcache UUID: 6FE5ED520EAABAFE218814C92CA517B4  Kernel UUID: BADF56F4-2876-3FF4-AC12-F25E78B09AA1  iBoot version: iBoot-7429.81.3  secure boot?: YES  Paniclog version: 13  KernelCache slide: 0x0000000011c78000  KernelCache base:  0xfffffe0018c7c000  Kernel slide:      0x00000000124ac000  Kernel text base:  0xfffffe00194b0000  Kernel text exec slide: 0x0000000012594000  Kernel text exec base:  0xfffffe0019598000  mach_absolute_time: 0x1e295e27ee0  Epoch Time:        sec       usec    Boot    : 0x61fe8777 0x0004614d    Sleep   : 0x61ffdbf5 0x000820a2    Wake    : 0x61ffdf7f 0x000609f0    Calendar: 0x61fff68a 0x00019b20    Zone info:  Foreign   : 0xfffffe0021c14000 - 0xfffffe0021c28000  Native    : 0xfffffe1000610000 - 0xfffffe3000610000  Readonly  : 0xfffffe14cd2dc000 - 0xfffffe1666c70000  Metadata  : 0xfffffe8b9326c000 - 0xfffffe8b9f1e8000  Bitmaps   : 0xfffffe8b9f1e8000 - 0xfffffe8ba4c4c000  CORE 0 PVH locks held: None  CORE 1 PVH locks held: None  CORE 2 PVH locks held: None  CORE 3 PVH locks held: None  CORE 4 PVH locks held: None  CORE 5 PVH locks held: None  CORE 6 PVH locks held: None  CORE 7 PVH locks held: None  CORE 8 PVH locks held: None  CORE 9 PVH locks held: None  CORE 0: PC=0xfffffe0019b0ded4, LR=0xfffffe0019b0de80, FP=0xfffffe60b5a43c10  CORE 1 is the one that panicked. Check the full backtrace for details.  CORE 2: PC=0xfffffe001961ef50, LR=0xfffffe001961ef4c, FP=0xfffffe600c51bef0  CORE 3: PC=0x00000001bfb83728, LR=0x00000001bf9bde70, FP=0x000000016f4813a0  CORE 4: PC=0xfffffe001961ef50, LR=0xfffffe001961ef4c, FP=0xfffffe601c073ef0  CORE 5: PC=0xfffffe001961ef50, LR=0xfffffe001961ef4c, FP=0xfffffe60a5b53ef0  CORE 6: PC=0xfffffe001961ef4c, LR=0xfffffe001961ef4c, FP=0xfffffe6098fe3ef0  CORE 7: PC=0xfffffe001961ef4c, LR=0xfffffe001961ef4c, FP=0xfffffe601bd83ef0  CORE 8: PC=0xfffffe001961ef4c, LR=0xfffffe001961ef4c, FP=0xfffffe60b583bef0  CORE 9: PC=0xfffffe001961ef4c, LR=0xfffffe001961ef4c, FP=0xfffffe60b44dbef0  Panicked task 0xfffffe1b337e1418: 594 pages, 34 threads: pid 743: backupd  Panicked thread: 0xfffffe2002139860, backtrace: 0xfffffe601bc93130, tid: 919019  

Remove space in front of new line in a string in java [migrated]

Posted: 06 Feb 2022 05:00 PM PST

"Thank you for all the help:      text me here  thanks for signing up pal."  

The above is the string i have in java. I need to remove the space on the second line so that my text should be

"Thank you for all the help:   text me here   thanks for signing up pal."  

I need a generic one that should work for any text in similar pattern

How do you programmatically enable the "Allow remote automation" option in Safari 15 on macOS 12 (Monterey)?

Posted: 06 Feb 2022 09:16 PM PST

In the previous versions of macOS (safari 13), it was possible to enable the "Allow remote automation" using the following command:

defaults write com.apple.Safari IncludeDevelopMenu -bool true;  defaults write com.apple.Safari AllowRemoteAutomation 1  

Unfortunately, this command no longer works as of Safari 15 on macOS 12 (Monterey).

Any help would be appreciated.

MacBook Pro mid-2012 freezes or crashes when external monitor is plugged in

Posted: 06 Feb 2022 05:02 PM PST

I have a MBP mid-2012 (pre-Retina) running Mojave or High Sierra. I use the latest version of SwitchResX to handle the external monitor rarer resolution of 1440x900, surely not too many pixels for the older Intel graphics chip. Video adapter is a Thunderbolt 1-to-VGA.

Previously, I used a DisplayLink USB3-based video adapter to light the second monitor (legacy from a slightly older MBP with a burnt Thunderbolt chip) with few issues, except the ginormous CPU consumption that made it impossible to use said adapter for anything else than text or short animations, the single reason why I want to revert to the Thunderbolt adapter. USB3 was never made for streaming video data, no matter how good the compression and algorithms.

Problem: Every time I try to connect the external monitor in Mojave, the OS freezes with a short delay. However, briefly before freezing, SwitchResX does acknowledge the external monitor presence, albeit at an extremely low resolution of 800x600. If external monitor is plugged in before boot, boot doesn't proceed.

Already tried:

  • Same maneuver in High Sierra triggers the same behavior.
  • Resetting PRAM then SMC has no effect.
  • Disabling SIP has no effect (Off the top of my memory, since I cannot access local recovery partition for Mojave)
  • Connecting as a different user on either OS triggers same behavior
  • Last time I checked, booting in safe mode on either OS allows the external monitor to turn on. Of course, running in safe mode just to get a working external display isn't a viable solution.

Not tried: Full OS reinstall. While it would be pretty radical, it is extremely time-consuming and may or may not yield results

What could be happening here?

How to remove packages listed by pkgutil

Posted: 06 Feb 2022 07:01 PM PST

I've removed everything that can be removed, however this still appears:

pkgutil --packages | grep CLTools  com.apple.pkg.CLTools_Executables  com.apple.pkg.CLTools_SDK_macOS110  com.apple.pkg.CLTools_SDK_macOS1015  com.apple.pkg.CLTools_macOS_SDK  

Mac OS X version is 11.5.2.

Possible to create a blockquote in Apple Notes?

Posted: 06 Feb 2022 04:06 PM PST

I'm using Apple Notes for lots of things lately (especially after discovering the Safari note taking workflow described here). Often I want to indicate a section is a quote, much like I can with Markdown, here in Stack Exchange, in GitHub, Slack, etc.

Like this

Is there any way to do a blockquote in Apple Notes?

What version of Apple TV is required for a HomePod mini stereo pair to work?

Posted: 06 Feb 2022 10:06 PM PST

I have two HomePod minis configured as a stereo pair, that is not recognized by my Apple TV. Instead I see each individual HomePod in the audio settings for the TV and can only select and play through one at a time. I have a very old Apple TV (a replacement is on order) and also a very old AirPort Extreme Base Station (also about to be replaced).

What version of Apple TV is required for a HomePod mini stereo pair to work?

Why is the .HEIC suffix sometimes uppercase and sometimes lowercase

Posted: 06 Feb 2022 05:53 PM PST

I just took five pictures on an iPhone 11 and then AirDropped them to my Mac Mini. I noticed that every other image has the file extension .HEIC in uppercase.

I am pretty sure that I have noticed this before, only just today thought to ask about it. Does anyone have any idea why this might be?

some images that I Airdropped

How to sort photos inside a shared album in the Photos app in macOS, iOS, or iPadOS?

Posted: 06 Feb 2022 06:02 PM PST

How to sort photos inside a shared album in the Photos app in macOS, iOS, or iPadOS?

Sort files by hidden value in finder (Big Sur)

Posted: 06 Feb 2022 11:03 PM PST

As simple as that : is there a way to sort files in my finder by hidden value (say all hidden files and directories will be on the bottom of my finder)

How to show open tabs on other devices on Mac Safari?

Posted: 06 Feb 2022 09:02 PM PST

I want to show open tabs on other devices that share the same Apple and iCloud account, but for some reasons there is no open tab on Mac Safari when I click the top-right icon (the icon of two tabs overriding).

On my iPhone and iPad I can access the tabs opened on my Mac, but the other direction is not true. How can I open the tabs opened on iOS devices on Mac or maybe is it just a bug?


UPDATE

I found out that sometimes the tabs appear properly whereas other times they don't.

UPDATE 2

This might be a bug, but I think 60~80% of the time the tabs don't appear. I upgraded to macOS 11.1 but the problem still persists. Any workaround would be appreciated.

"Show In Playlist" CatalinaOS

Posted: 06 Feb 2022 03:00 PM PST

I've created a custom keyboard shortcut for the "Show In Playlist" command in the Music app. When I use the shortcut, I can see the menu bar is selected, but it does not open a menu showing the playlists. I am aware this is possible by right/cmd-clicking on a song in the library, but this is a tedious process for a large library. Thanks!

MacBook Pro 16 2019 + External Monitor. Battery Life

Posted: 06 Feb 2022 08:06 PM PST

I've recently bought a MBP Pro 16' 2019. I'm using right now a Thunderbolt 2 adapter so I can connect it to an old iMac 21' and using as an external monitor.

My question is: It is safe for battery life keep it connected all the time?

Right now, I'm only working from Home (Pandemic) and I'm afraid of leaving it at power source all the time.

I don't mind when it hits 80% of battery charge, unplug and plug again when it's 30%. But just to clarify if it's correct.

Also, I'm planning on buying an LG Monitor with Thunderbolt 3, that has an 85W plug connector to provide energy to the MBP. Should I use it? The official charger is 96W.

How can I highlight text on a screenshot using Markup in macOS?

Posted: 06 Feb 2022 07:28 PM PST

When I take a screenshot in macOS Mojave, I get a handy screen with Markup tools to edit the screenshot. But I've never been able to get the "highlight" feature to work.

I want to highlight text on a page in yellow, similar to a highlighter pen. It looks like it should do it, but the highlighter tool is always disabled. Nothing I do seems to enable it.

Does this tool work? How can I use it?

enter image description here

Migration Assistant not recognizing ethernet

Posted: 06 Feb 2022 07:55 PM PST

I am currently migrating from a MacBookPro to a desktop.

The desktop is running Sierra and the MacBookPro is running Yosemite. The desktop is a late 2013 (I think) and the MacBookPro I'm not sure. (I think it's 2010 perhaps. can't check because it is currently migrating).

Anyhow, they both have Ethernet ports and I have successfully plugged in an Ethernet cable between them. (complicated task, I know)

However when I use Migration Assistant, it always falls back on wifi, and says it's going to take 155 hours to transfer. I know the Ethernet cable is good, hence I'm using it currently (remember I already figured it out) and I was not able to connect using wifi.

How can I get Migration Assistant to use the Ethernet connection?

Where are Microsoft Office for Mac My Templates stored?

Posted: 06 Feb 2022 11:31 PM PST

Where do Word for Mac and Powerpoint for Mac store user templates?

Is there macOS software to convert PostScript type 1 font to ttf?

Posted: 06 Feb 2022 04:55 PM PST

Is there any software out there that can convert PostScript type 1 font to ttf?

  • let's set aside the legality of owning a font face unless a tool has that as a feature to flag and assist in licensing details
  • solutions that substitute and/or convert in place are fine - better if one tool does both.

No comments:

Post a Comment