Page 2 of 14 FirstFirst 123412 ... LastLast
Results 11 to 20 of 133

Thread: Bootable USB and Grub2 dual boot

  1. #11
    Join Date
    Jan 2020
    Beans
    62

    Re: Bootable USB and Grub2 dual boot

    lol
    ok i'll install one with etcher and when i have that working which is going to work because i tried that yesterday already, but then after messing up my system again i lost it, what do i do then to install grup to usb?

  2. #12
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Bootable USB and Grub2 dual boot

    How are you managing to corrupt installer.
    Or are you trying to install to installer?
    I do have with my system where my sdf flash drive becomes sda on reboot, so I do have to pay attention to which drive is which. But sizes and existing partitions are enough different now that I rarely have an issue.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #13
    Join Date
    Jan 2020
    Beans
    62

    Re: Bootable USB and Grub2 dual boot

    I have no idea how it becomes corrupt, prehaps because i dont know what im doing
    install to installer?

  4. #14
    Join Date
    Jan 2020
    Beans
    62

    Re: Bootable USB and Grub2 dual boot

    I can get into externOS beta 2.2 right now but that is it.
    What I can do is make my usb bootable with grub but I need some clear directions because I donít know what Iím typing.
    From then i want to add iso files of Linux diaries and one windowed 10 iso and it should be bootable from that same usb.
    Can you teach me how to do this?

  5. #15
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Bootable USB and Grub2 dual boot

    I have not seen anyone boot Windows installer from same flash drive as other ISO.
    Many ISO are set up to be bootable by grub2's loopmount, Windows of course does not use grub.

    https://help.ubuntu.com/community/Grub2/ISOBoot
    examples
    https://gist.github.com/Pysis868/27203177bdef15fbb70c
    How to Create a EFI/UEFI GRUB2 Multiboot USB drive to boot ISO images
    https://wiki.archlinux.org/index.php...boot_USB_drive
    https://wiki.archlinux.org/index.php...on_live_medium

    http://multibootusb.org/page_guide/
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #16
    Join Date
    Jun 2014
    Beans
    5,891

    Re: Bootable USB and Grub2 dual boot

    I'm not aware of any way to boot a windows iso file directly from Grub2 but you can certainly boot the windows install iso after it is loop mounted OR extracted and then copied to a partition on the flash drive. You can have a Linux iso on the same drive and boot it from Grub2 also. Simpler to put the windows installer on a separate partition but may not be necessary. First thing you need to do is to install Grub to the usb and you will obviously need to manually create your grub.cfg file. The partition with windows on it will need to be marked as active/bootable and should have an ntfs filesystem on it. The entry below booted the windows 10 installer for me and the usb also had a Linux iso on it which booted. Need the correct UUID of course. If you're not prepared to do that or not comfortable doing it, you will probably need multiple usb drives.

    menuentry "Start Windows 10 Installation" {
    insmod ntfs
    search --no-floppy --fs-uuid 459532DE5D8D5C3A --set root
    chainloader +1
    boot
    }

  7. #17
    Join Date
    Jan 2020
    Beans
    62

    Re: Bootable USB and Grub2 dual boot

    Hi guys, I wanted to try what you said but yesterday I removed my bootloader and windows wasnít booting anymore so I tried to fix that but then I removed my Linux so I only had my grub4dos usb and I went into paragon hard disk manager to covert my drive from gpt back to mbr because windows wouldnít install on gpt but now I seem to have lost all data on my other partitions. What do I do?
    Everything that I have done in the last 10 years was on there.
    It was converted in a few seconds so I donít think it formatted the entire disk just the partitions table changed and thus making one bug allocated space.
    What a fool I am. But what to do now to get that back?

    And when I get it back I will try that code you send but how do I get the UUID?
    And does it ever change?

    Also did you use a iso of windows or did you extract it onto the root of the usb drive?
    Last edited by ayudha; April 7th, 2020 at 06:06 AM.

  8. #18
    Join Date
    Jun 2014
    Beans
    5,891

    Re: Bootable USB and Grub2 dual boot

    I don't know why you were unable to install windows 10 on a GPT drive as that is the default for windows 10, UEFI on a GPT drive.

    I don't know if the tool you used to convert to MBR is similar to the software described below which indicates that it can do so without data loss. You might review it and see if the method you used was similar as some methods delete the partitions.

    https://www.easeus.com/partition-man...sing-data.html

    When you are making changes to the partition structure of a drive, you should always have backups on a separate disk. I don't know if you will be able to recover your data but another tool which may work is testdisk. See the link below and if you decide to try to use it, read through the Step by Step instructions carefully before beginning.

    https://www.cgsecurity.org/wiki/TestDisk

    If you have any Linux bootable live system, you can get the UUID with the blkid command run as root (sudo blkid using Ubuntu)

    Also did you use a iso of windows or did you extract it onto the root of the usb drive?
    I'm unaware of any way to boot a windows iso directly, at least from Grub but it can be done if the windows iso is first extracted (loop mount) and then copy the folders/files from the directory to which it was extracted to a partition on the usb drive which needs to be marked active/bootable and be an ntfs filesystem.

    Are you able to boot anything now? Do you have grub4dos on the usb and does it boot and if so, what can it boot? Does it have a menu.lst or grub.conf file? It is also possible to boot the windows 10 installer from Grub Legacy in the same way as from Grub2, extract the iso and copy it to a partition on the usb or another available drive. I've not used grub4dos so I'm not sure if it still uses menu.lst or grub.cfg.
    Last edited by yancek; April 7th, 2020 at 03:35 PM.

  9. #19
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Bootable USB and Grub2 dual boot

    Both Windows and Ubuntu install in the boot mode that you select to boot installer UEFI or BIOS.
    And Windows installer only installs to gpt partitioned drives with UEFI, so you have to boot install flash drive in UEFI boot mode.

    Microsoft has required vendors to install Windows in UEFI/gpt mode since Windows 8 released in 2012. Better to use UEFI/gpt than 35 year old BIOS/MBR configuration.

    Also your product key is in UEFI with Windows. If you install in BIOS mode, you will have to purchase a new product key.
    Product key now in UEFI/BIOS
    http://reviews.cnet.com/8301-33642_7...-product-keys/
    http://answers.microsoft.com/en-us/w...2-b3f191b9370c
    https://support.microsoft.com/en-us/...ws-product-key
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #20
    Join Date
    Jan 2020
    Beans
    62

    Re: Bootable USB and Grub2 dual boot

    I have no idea why windows canít be installed either. Maybe because I installed windows and then later converted it to gpt or maybe I did install it from a cd when that wasnít broken and now from a usb.
    Who knows.

    Update: right now I have my windows and data drive back with all the files, thank you guys! Love ya!
    However I canít boot windows because there is no bootable eufi installed on the harddrive.

    Also I now have a new usb with Xubuntu on it, so I can try to remedy it from there.

    I just ordered a external ssd drive for backups

    In the past I tried installing directly from a iso on usb but that didnít work, I extracted it and then use grub4dos lst menu file to install it, but I canít install it because when I format the drive using the windows installer it says error, unknown. Windows :/

    Right now Iím trying to install a actual Linux on my system: elementary OS using my usb, I dunno if itís possible through Linux on a other usb nor do I know how.
    Trying to do it with my grub4dos usb it says ď(initramfs) unable to find a medium containing a live file systemĒ.
    I think itís because of the codes Iím testing in my lst menu file, I have tried 30 already and nothing works in grub4dos.
    Any idea?

    The product key I have worked around, itís in a autounattend file on the usb.

    Maybe when I can install elementary from my grub4dos we can work on making my old windows on a different partition boot again, right now no boot files anywhere anymore.

Page 2 of 14 FirstFirst 123412 ... LastLast

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
  •