MacBook-pro-Ubuntu

Dual Boot MacBook pro 2012 &  Ubuntu 

  • The information provided on this website is intended to provide a basic understanding of certain technologies and is not intended to be a comprehensive guide. 
  • Therefore, it should not be relied upon as the sole source of information and should not be used as a substitute for professional advice or expert analysis.
  • Please exercise caution when visiting or downloading from websites mentioned on this website and verify the safety of the website and software. 
  • Some websites and software may be flagged as malware by antivirus programs.
  • The reader assumes all responsibility for their use of the information contained on this website and any consequences that may arise.
  • The author disclaims any liability for any damages or losses that may result from the use of this website or the information contained herein.
  • The author reserves the right to update or change the information contained on this website at any time without prior notice.
  • Any attempts to perform penetration testing or ethical hacking on systems or networks should be done with the explicit permission of the system/network owner. 
  • Unauthorized access is illegal and can result in serious legal consequences.
  • It is important to fully understand the scope of the testing and to only test within that scope. Testing outside the agreed upon scope is considered unauthorized and may result in legal action.
  • Any findings or vulnerabilities discovered during testing should be reported to the system/network owner immediately and kept confidential until a fix can be implemented.
  • It is recommended to use a separate, dedicated testing environment rather than testing on a live production system to minimize the risk of accidentally causing damage or downtime.
  • It is important to take steps to protect your own identity and prevent accidental data leaks or exposure of sensitive information during testing.
  • It is also recommended to follow a standard code of ethics for ethical hacking and penetration testing.

References 

https://linuxhint.com/install_linux_on_mac/
https://linuxnewbieguide.org/how-to-install-linux-on-a-macintosh-computer/
https://www.makeuseof.com/tag/install-linux-macbook-pro/
https://sourceforge.net/projects/refind/
https://www.makeuseof.com/tag/disable-system-integrity-protection-shouldnt/

************************************************************************************************

Changing partition on MacBook Pro 

  • can use a MacOS bootup pen-drive and change partition 
  • or
  • Use Native Disk Utility 
  • Creating three partitions 
    • 1 larger size for macOS
  • Following Drive format can be in hfs+ format or fat 32 : format can be changed during Linux installation 
    • 2 Less larger size for Linux : 
    • 3. Small size 10Gb for SWAP partition. 


Errors: Ubuntu Installation USB

  • after selecting *try or install Ubuntu 
    • ioapic 2 has no mapping iommu error
    • kernel panic not syncing no working init found 
  • When screen is back on this menu *try or install Ubuntu 
  • Just press "e"
The following window appears: somewhat similar 

setparams "Try Ubuntu  without installing"
     set gfxpayload=keep
     linux /casper/vmlinux file=/cdrom/preseed/ubuntu-mate.seed  quiet splash ---
     initrd /casper/initrd

Change to code as follows 

setparams "Try Ubuntu  without installing"
     set gfxpayload=keep
     linux /casper/vmlinux file=/cdrom/preseed/ubuntu-mate.seed  boot=casper  quiet splash  nomodeset---
     initrd /casper/initrd

  • Press F10 
  • Then should boot to Ubuntu desktop then select install Ubuntu 

Errors: After Ubuntu installation not booting

  • after selecting  *Ubuntu 
  • ioapic 2 has no mapping iommu error
  • kernel panic not syncing no working init found 

  • When screen is back on this menu *Ubuntu / Advance Ubuntu
  • Just Press "e"
    • then wait for 5 minutes
  • press esc to Grub menu
  • In Grub type normal then enter
    • Grub: Normal 
  • select Ubuntu. 
  • should boot into ubuntu. 

Error: due to Kernel : 6.5.0-27-generic

  • While Booting press options key  
  • Select Advance Ubuntu
  • select lower version kernel  : 6.5.0-18-generic
After Logging into Ubuntu : remove the corrupted kernel upgrade
  • sudo apt remove linux-headers-6.5.0-27-generic linux-image-6.5.0-27-generic linux-modules-extra-6.5.0-27-generic  linux-modules-6.5.0-27-generic
  • Then use autoremove purge to remove residues 
  • sudo apt autoremove --purge 
  • sudo apt update 
  • sudo apt upgrade -y


 rEFInd : An EFI boot manager utility

System Integrity Protection (SIP) 

  • enter macOS Recovery to disable SIP
  •  Utilities ->  Terminal 
  • bash-3.3#: csrutil disable
  • Reboot 

Download : rEFInd : An EFI boot manager utility

  • Enter in Macos, download the refind  from source.
  • Click & Drag the refind-install file  to Terminal window then  Enter.
  • Helped in rectifying the errors 
    • ioapic 2 has no mapping iommu error
    • kernel panic not syncing no working init found 
rEFInd : An EFI boot manager utility
 rEFInd : An EFI boot manager utility



Comments

Popular Posts

Chennai :MTC complaint cell Customer Care No.:+91-9445030516 /Toll Free : 18005991500

HOME LAB : HANDS-ON

Privacy Settings for windows