Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Bootable drive - help!

  1. #1
    Join Date
    Mar 2014
    Beans
    5

    Question Bootable drive - help!

    Let me start by saying my experience with ubuntu is limited to the last 3 hours, but I'm a windows expert and generally very computer/software savvy. Don't ask me what a partition is though, I couldn't tell you.
    I'm trying to create a bootable drive with persistence using a 2TB external hard drive and windows 7. I created a perfectly functional bootable drive from it all of 30 minutes ago, but, not knowing what persistence was, didn't set that up. Upon figuring persistance out and knowing I definitely want it, I scrubbed the drive completely, re formatted to FAT32, and tried multiple times in vain to re-do the bootable drive with universal usb installer. And now, every time I try, whether I have persistence checked or not, I get the error "Error while executing syslinux, your drive won't be bootable." I googled and googled and the only solutions (format to FAT32 [no help] , disable antivirus and allow through firewall [no help]) didn't fix it. What am I doing wrong?
    Last edited by savannah2; March 9th, 2014 at 05:12 AM.

  2. #2
    Join Date
    Mar 2014
    Beans
    5

    Re: Bootable drive - help!

    Update: Even though it claims to not be bootable, if I actually try to boot it, it doesn't work the first time around but then if I turn the computer off and back on it pulls up a command line version of "do you want to try or install" and if I ht try it will still boot from it. But then it automatically takes me to the aforementioned command line "do you want to try or install" every time I restart the computer, as if it is automatically booting from the external, and it will only boot windows if I unplug the external. Persistence still didn't work, even though I had it turned on.

  3. #3
    Join Date
    Sep 2005
    Beans
    1,596
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Bootable drive - help!

    Um... a few questions:
    1. Why not install Linux to the 2TB drive or partition it down to install Linux on like 200GB or that? Depending on what you want to do you technically only need an 8GB drive.
    2. You used UNETBOOTIN to create the drive, you could try Universal USB Installer to see if that would help.
    3. Persistence, I believe if I read correctly you figured it out, if not; persistence is a way to keep your settings, files, installed apps, etc. in a Live environment. It is NOT the same as installing Linux to the system itself.

    Do you have a 1GB+ thumb drive? It may be better to use that as I'm not sure but I get the feeling the 2TB drive may have some issues, that way you could install it to the 2TB drive. Be careful of the partitioning though and make sure it doesn't install to the internal drive if you do do this.

    Another thing you can try is when you choose to boot from the external and the options come up you should be able to press a key to modify the boot parameters where you can remove the line quiet from the end. This will allow you to see the output upon boot .I think it's F6, a menu will pop-up hit escape to close the menu then move the cursor and delete the word quiet and try booting that way.
    MBA M1 - M1 8GB 256GB - macOS Monterey
    MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
    Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11

  4. #4
    Join Date
    Mar 2014
    Beans
    5

    Re: Bootable drive - help!

    1. If I knew how to partition it down, or even exactly what that meant, if I thought it would help I would. As explained earlier, no clue on that front.
    2. I DIDN'T use unetbootin, I did use Universal USB Installer, unetbootin didn't even see that 2TB as existing.
    3. I did figure out what persistence is, that's where most of my pain is coming from. I want a system with persistence and am having the hardest time making that work.

    I am aware that I only need 8 GB, the reason I'm using the 2 TB is because I want this system to exist on its own, and I want to be able to use it as a portable computer of sorts and save files on it, using all that space. Only using 200 GB of that space would work for that purpose, but I have literally 0% idea how to do that or what partitioning means.

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Bootable drive - help!

    Welcome to the Ubuntu Forums

    I suggest that you learn by trying to do what you want with a (second?) USB pendrive, and when you know how it works, you can start using the 2TB external hard drive.

    If I were you, I would not want a persistent live system on a 2 TB drive, but a regular installed system (like it were installed in an internal drive). Installed systems are more stable and can be updated/upgraded without limits, while persistent live systems cannot upgrade the kernel, and they get slower with more updates due to an overlay file system. If you want a persistent live system anyway, you should not use the standard method with a loop mounted file system inside a casper-rw file, but instead create a partition, format it to an ext4 file system and add the label casper-rw. Then, when you add the boot option persistent, it will recognize the casper-rw partition and use it for persistence.

    A partition is a part of a drive (alias mass storage device) that can be used for a file system or swap (virtual memory). C: and D: are partitions in Windows (on hard disk drives, while A: and B: on floppy disks had the file system directly without any partition structure). Partitions are created with gparted (from another drive, boot from the Ubuntu install drive, where gparted is available).

    Drives (mass storage devices) are named /dev/sda, /dev/sdb ... (drive letters a, b ...) and partitions are given numbers

    Example with old style MSDOS partition table (GPT does not use extended partitions; GPT must be used with UEFI)
    Code:
    /dev/sda1  # primary partition
    /dev/sda2  # extended partition
    /dev/sda5  # logical partition
    /dev/sda6  # logical partition
    ...
    
    /dev/sdb1  # primary partition
    /dev/sdb2  # primary partition
    ...
    -o-

    The good thing with Ubuntu is that installed systems are portable as long as you use the built in free drivers (avoid proprietary drivers for graphics and wifi). In other words, they are willing to boot different computers almost like an install CD/DVD/USB drive.

    Windows is not portable because Microsoft wants you to pay for each installation, and the whole setup is geared to make an installation locked to a particular computer. (I think it is different with a company license).

    -o-

    I have better experience with Unetbootin (than with Universal USB Installer). See this general wiki page

    https://help.ubuntu.com/community/In...n/FromUSBStick

    and the detailed description in this link

    Paul Sutton's Unetbootin how to


    Last edited by sudodus; March 9th, 2014 at 07:52 AM. Reason: ninja'd by slookster ;-)

  6. #6
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Bootable drive - help!

    Quote Originally Posted by savannah2 View Post
    1. If I knew how to partition it down, or even exactly what that meant, if I thought it would help I would. As explained earlier, no clue on that front.
    2. I DIDN'T use unetbootin, I did use Universal USB Installer, unetbootin didn't even see that 2TB as existing.
    I think there is a switch in Unetbootin to only see small drives. Try to untick it, and check if the big drive is recognized! But I would encourage you to make a regular installation instead of a persistent live system.

    The installer itself can edit partitions, but I think it is easier to use gparted before the installation, because the graphic representation is better, so you 'see' what you do.

    3. I did figure out what persistence is, that's where most of my pain is coming from. I want a system with persistence and am having the hardest time making that work.

    I am aware that I only need 8 GB, the reason I'm using the 2 TB is because I want this system to exist on its own, and I want to be able to use it as a portable computer of sorts and save files on it, using all that space. Only using 200 GB of that space would work for that purpose, but I have literally 0% idea how to do that or what partitioning means.
    And an installed system without any proprietary drivers is portable. I make such systems since several years. See also this link

    Howto help USB boot drives

  7. #7
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Bootable drive - help!

    If you want a system that works with most 64-bit PC systems, this might be a solution:

    https://help.ubuntu.com/community/In..._BIOS_and_UEFI

    If you want a system that works with most PC computers (also older computers), but not with UEFI, you should use a 32-bit system

    And for portability, you get a long way with a 32 GB USB 3 pendrive (with either a persistent live system or an installed system). How much data must be ported?

  8. #8
    Join Date
    Sep 2005
    Beans
    1,596
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Bootable drive - help!

    I am so sorry I swear I read unetbootin not Universal USB Installer. Well to partition the external drive in Windows, do the following (you'll have to redo the live persistence).
    Windows 8/8.1 - Right-click on the task bar where the start button should be/is then click on disk management.
    Windows 7 - Click on start and search for diskmgmt.msc

    After you run that you'll see something like this:diskmgmt.msc.png

    WITH THE USB DRIVE ATTACHED you should see it listed as a 2TB drive. BE VERY CAREFUL HERE.
    You can right-click on the 2TB partition and delete it and then create a new simple volume with as much or little data as you want to allocate to it, then allocate the rest as it's own as well.

    Quick note on partitions, MBR, and GPT:

    Partitions are segments. Think about when you cut a pizza - you're partitioning it. You can put pepperoni on one side and pineapple on the other or your can cut it into different sized partitions. You could do (lets say file systems) a pizza pie on the left half of it (FAT32) and maybe a cream pie on the right (NTFS).
    MBR - MBR type drive layouts only allow 4 partitions. No more than that. MBR is pretty much obsolete as of Windows 8, but you can still use MBR as it's very widely used.
    GPT - GPT type drive layouts can have more than 4 partitions I'm not sure how many, but I've seen systems with as many as 20 partitions using GPT. So you could do:
    5GB, 20GB, 200GB, 200GB, 15GB, 3GB, 2GB, 100GB, partitions on a GPT layout.
    On an MBR you can only do 4 so 100GB, 500GB, 500GB, 900GB - no more.

    If you need further assistance with how to use disk management, you'll need to google it, it may be a basic tool but you do need to take caution as you could accidentally wipe out the wrong drive.
    MBA M1 - M1 8GB 256GB - macOS Monterey
    MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
    Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11

  9. #9
    Join Date
    Mar 2014
    Beans
    5

    Re: Bootable drive - help!

    Wow, this is a lot of (very helpful!) info. If I had been aware I could make a regular system install on an external HD, I'd be doing that! I wasn't even aware that was possible. I suppose then that is what I'm actually trying to do. I'll look into partitioning down the external now that I understand it LOL. I don't have an exact number for how much data must be ported, this isn't a specific purpose drive, just a nerdy passion project

  10. #10
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Bootable drive - help!

    Well, it is much more convenient to carry a pendrive in the pocket than an external HDD or SSD, even if those can be rather small nowadays. I suggest that you get a fast pendrive, for example Sandisk Extreme 32 GB for this purpose.

    You can use the 2TB disk for backup or simply storing photos, music and video files. And if you wish, you can make it bootable.

    Before making partitions you should consider, that Windows reads only the first partition on a USB device, so if some data should be available from a Windows computer, the first partition should be formatted with FAT32 or NTFS. This holds for USB HDDs SSDs and pendrives, and at least for older versions of Windows. I don't know about Windows 8. On the other hand, some computers cannot boot, if the boot files are more than 137 GB from the head end. This makes it complicated if you want a full installation of linux, and at the same time have most of the drive available from Windows.
    Last edited by sudodus; March 9th, 2014 at 06:02 PM. Reason: only first *partition* read by Windows

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •