Results 1 to 9 of 9

Thread: Dual Boot

  1. #1
    Join Date
    Nov 2019
    Beans
    10

    Dual Boot

    Hi,
    returning to Ubuntu after some years of absence.
    Running a MBPro Retina 512G SSD under 10.14.6
    I installed Ubuntu onto a 32G USB stick.
    It loads fine when selected on the dual boot page in MacOS and all functions look operational, but,
    Any modifications to software (Eg Setting up mail a/c in Thunderbird) or downloads are non persistent (saved).
    On the next boot-up, it's like the first time.

    I've obviously missed something somewhere during the installation (?)

    cheers

    Ozfrog
    Last edited by uRock; 3 Weeks Ago at 06:41 PM. Reason: removed email address

  2. #2
    Join Date
    Oct 2009
    Beans
    354

    Re: Dual Boot

    Sounds from what you say, is that you downloaded the ISO and burned/installed it to USB stick. This will only give you the 'live' and 'installer' version. You need to install ubuntu from this to another drive, hard drive, USB stick or SD card. Can also set up USB stick with persistence if you don't want a full install.

  3. #3
    Join Date
    Oct 2009
    Beans
    354

    Re: Dual Boot

    This is a link for adding persistence. https://askubuntu.com/questions/1051...-more-than-4gb

  4. #4
    Join Date
    Nov 2019
    Beans
    10

    Re: Dual Boot

    Quote Originally Posted by crip720 View Post
    Sounds from what you say, is that you downloaded the ISO and burned/installed it to USB stick. This will only give you the 'live' and 'installer' version. You need to install ubuntu from this to another drive, hard drive, USB stick or SD card. Can also set up USB stick with persistence if you don't want a full install.
    Hi and thanks for the reply,

    AFAIK - I need the USB non-persistent version in order to be able to install the "persistent" version on the HDD.

    I've been trying to use hdiutil convert, to change the .ISO to an .IMG but keep running up against some "folder or file not found" - think I'll abandon this avenue of attack, my eyes are melting!

    So, if I've understood this correctly. From the USB "live" version, I should be able to install a persistent version on the external HDD.
    Getting the USB stick "persistent" looks a hard ask for this neophyte

    Thanks fro your info and patience.

    Ozfrog.

    Here's the hdiutil stuff I was looking at;

    1. Download the desired file
    2. Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight)
    3. Convert the .iso file to .img using the convert option of hdiutil:
      hdiutil convert -format UDRW -o /path/to/target.img /path/to/source.iso
      Note: OS X tends to put the .dmg ending on the output file automatically. Rename the file by typing:
      mv /path/to/target.img.dmg /path/to/target.img
    4. Run diskutil list to get the current list of devices
    5. Insert your flash media
    6. Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)
    7. Run diskutil unmountDisk /dev/diskN (replace Nwith the disk number from the last command - in the previous example, N would be 2)
    8. Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img or ./ubuntu.dmg).
      Note: Using /dev/rdisk instead of /dev/disk may be faster.
      Note: If you see the error dd: Invalid number '1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M.
      Note: If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject) the drive.
    9. Run diskutil eject /dev/diskN and remove your flash media when the command completes

    Now the USB stick is ready. Boot the device that you want from the USB stick.
    Last edited by ozfrog; 3 Weeks Ago at 08:32 PM.

  5. #5
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    4,791
    Distro
    Xubuntu 19.04 Disco Dingo

    Re: Dual Boot

    You can have a full install of Ubuntu on either an internal or an external hard drive. Full installs are always persistent.

    A live disk can be either persistent or non-persistent. A persistent live disk is has some more possibilities than a non-persistent live disk, but is far from a full install. A non-persistent live disk is more reliable than a persistent live disk. Your post suggest that you only created a non-persistent live disk.

    To make a full install of Ubuntu, you need the installer from the live disk, so you first create a live disk. You can use dd to clone the .iso file directly to the usb drive; no need to convert it to something else first. That will give you a non-persistent live disk and is known as a very reliable method. The problem is that a single wrong character in the dd command may wipe your hard drive. There are some tools to make it safer. See for example https://help.ubuntu.com/community/mkusb

    When you boot your computer from the live disk, it offers you to try Ubuntu before installing or install it right away (and some other options). When you try Ubuntu before installing (a live session), you'll find a launcher for the installer on the desktop.
    Last edited by Impavidus; 2 Weeks Ago at 12:31 PM.

  6. #6
    Join Date
    Nov 2019
    Beans
    10

    Re: Dual Boot

    Quote Originally Posted by Impavidus View Post
    You can have a full install of Ubuntu on either an internal or an external hard drive. Full installs are always persistent.

    A live disk can be either persistent or non-persistent. A persistent live disk is has some more possibilities than a non-persistent live disk, but is far from a full install. A non-persistent live disk is more reliable than a persistent live disk. Your post suggest that you only created a non-persistent live disk.

    To make a full install of Ubuntu, you need the installer from the live disk, so you first create a live disk. You can use dd to clone the .iso file directly to the usb drive; no need to convert it to something else first. That will give you a non-persistent live disk and is known as a very reliable method. The problem is that a single wrong character in the dd command may wipe your hard drive. There are some tools to make it safer. See for example https://help.ubuntu.com/community/mkusb there.

    When you boot your computer from the live disk, it offers you to try Ubuntu before installing or install it right away (and some other options). When you try Ubuntu before installing (a live session), you'll find a launcher for the installer on the desktop.
    Hello and thanks for your reply.
    I understand all of the above and have been persisting with THIS method.
    https://florisvanbreugel.wordpress.c...-on-a-macbook/
    This procedure needs a copy of the newly created boot.efi to somewhere MacOS can get access.
    (Also a USB hub - Live version, new version + external HDD - all connected with USB )
    I am using Mountain Lion on the external HDD for the final "blessing" as OSX Mojave no longer gives access to the terminal in Recovery mode
    I'm stuck on this after 3/4 attempts.
    From within the Terminal on Live Ubuntu - the Mac partitions are unaccessible (because HFS+?) so I can't copy it with "cp" to there.
    The procedure suggests emailing it to yourself
    1. Thunderbird can't get my .gmail.com account to run.
    2. Mailspring says the file's too big.
    3. Hiri says 'No you can't attach an .EFI file because it might be a virus"
    Tried to make and format a FAT partition on ther external HDD - that's visible but read only. Tried chmod a+rwx on it, but still can't copy the boot.efi to it - the read-only status persists.
    I have tried mkusb.There were dependency issues, and obsolete packages
    Today, Sunday 24th November, I'm going to rest my eyes, but hope you can come up with something for future experimentation.
    cheers

    Ozfrog.

  7. #7
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Dual Boot

    Thread moved to Apple Hardware Users. which is more appropriate and a better fit.

    You may have received better replies quicker had you mentioned earlier that you were using Apple hardware and posted here in the first place.
    DISTRO: Xubuntu 18.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  8. #8
    Join Date
    Nov 2019
    Beans
    10

    Re: Dual Boot

    Quote Originally Posted by ajgreeny View Post
    Thread moved to Apple Hardware Users. which is more appropriate and a better fit.

    You may have received better replies quicker had you mentioned earlier that you were using Apple hardware and posted here in the first place.
    You obviously skimmed over my initial post
    References to MacBook Pro and MacOS therein.
    But message received loud and clear. I shall post further gripes in the appropriate subsection

  9. #9
    Join Date
    Nov 2019
    Beans
    10

    Re: Dual Boot

    Hello and thanks for your reply.
    I understand all of the above and have been persisting with THIS method.
    https://florisvanbreugel.wordpress.c...-on-a-macbook/
    This procedure needs a copy of the newly created boot.efi to somewhere MacOS can get access.
    (Also a USB hub - Live version, new version + external HDD - all connected with USB )
    I am using Mountain Lion on the external HDD for the final "blessing" as OSX Mojave no longer gives access to the terminal in Recovery mode
    I'm stuck on this after 3/4 attempts.
    From within the Terminal on Live Ubuntu - the Mac partitions are unaccessible (because HFS+?) so I can't copy it with "cp" to there.
    The procedure suggests emailing it to yourself
    1. Thunderbird can't get my .gmail.com account to run.
    2. Mailspring says the file's too big.
    3. Hiri says 'No you can't attach an .EFI file because it might be a virus"
    Tried to make and format a FAT partition on ther external HDD - that's visible but read only. Tried chmod a+rwx on it, but still can't copy the boot.efi to it - the read-only status persists.
    I have tried mkusb.There were dependency issues, and obsolete packages
    Today, Sunday 24th November, I'm going to rest my eyes, but hope you can come up with something for future experimentation.
    cheers

    Ozfrog.
    Last edited by uRock; 1 Week Ago at 05:57 PM. Reason: normalized fonts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •