Install Linux OpenSUSE without a USB flash drive (install Linux from hard disk)

Source: Internet
Author: User

I. Description

Why would you want to install Linux with a hard drive? Just because I continued to buy two U disk, and then they are all lost, no longer buy. But now want to install a opensuse, no U disk, can only find a way through the hard disk installation.

Record yourself through the detours, but also provide you with a no U disk or hard drive to install a Linux system to provide a way of thinking.

If you find an error, please correct me, I wish you all the success!

Second, the environment

At first, there was only one Windows 10 on top of the computer, the partition of the disk was GPT, the boot mode was UEFI, Asus X450JB

Four, no U disk installation openSUSE (UEFI+GPT)

1, formatted in the hard disk 10G (size as long as enough on the line), the format of FAT32.

2. Extract the system image (the file at the end of the. iso) to the FAT32 disk that was just formatted.

3. Add Startup item: As the start is Grub.efi

1) You can add the boot entry from the BIOS. The specific process depends on the BIOS of the different models.

2) can pass Easyuefi (my attempt failed, but I do not know why, still can try again)

4. Restart and enter the appropriate startup item

5. Start the installation

Three, hands-on try (this is the process of trying to record their own detours, tutorials after the hands-on attempt)

There was a previous experience installing Ubuntu from the hard drive, so I think it's possible. But then the disk partition is MBR, the system is win 7. The tutorial found now is basically similar to this one. This is the only time to self-reliance.

Until then, my knowledge of UEFI and burning USB drives is limited to this.

1.UEFI "Execute" is a file that ends in. EFI and starts the entire setup program.

2. With previous observations, burning the system to a USB stick feels like just extracting and copying the contents of the. iso file to the USB stick.

In the legacy BIOS + MBR There is a easybcd software, in Uefi+gpt also has a similar is called Easyuefi. I began to think that as long as I can add a startup item, it should be ready to start. So act now. Open Easyuefi After I was dumbfounded, choose to add the type is "Linux and other systems" when it first asked me to select a target partition, actually dumbfounded at that time, this is what to do? Point, but finally found that a disk is not the same length, as shown in:

Then I ordered it, well, it's discolored. Nice. Then there is a column called browse files. What the hell is this? Point in a look, is the icon of a root directory, well, then point down. And then the contents seem a little familiar.

Isn't that what's inside the ESP tray? In UEFI+GPT mode, there is a dedicated partition called ESP, as shown in (where the openSUSE folder is the one I added next, temporarily ignoring it first).

Uefi reads the. efi file from within this partition and then starts the system. I remember the Linux installation file ****.iso has an EFI folder inside, and I feel like I see a little hope. Here's the file inside the Opensuse-leap-42.2-dvd-x86_64.iso.

This time, I think that is not just copy the contents of this to ESP this disk in the corresponding place okay? So I added the contents of the EFI folder to the EFI folder under ESP by Diskgenius. As follows:

You can then add the appropriate startup items through the Easyuefi. Well, it seems to be OK. Plus go after, and then excitedly restart. Results after reboot, press ESC, bring up the "Select Startup item" box, I found that there is no I just added. I don't believe it. In the boot entry of the BIOS, there is really no. But I saw the column with the Add boot. Thought, through the Easyuefi add is not successful, then I can add the BIOS to the total. Enter the name of the startup item, After finding the one I wanted as the startup item (I don't know if it was grub.efi or Mokmanager.efi, there was a bootx64.efi file, but it was missing after the installation, so I added three startup items, respectively, to start Grub.efi, Bootx64.efi,mokmanager.efi), then hand-mutilated I pressed CTRL + ALT + Delete, restarted, yes, not saved. So again after "Select startup Item" or Nothing, nothing, I came again. Then make sure to save it before exiting. Well, there are three of them, choose it, and then, the situation I was a little disappointed. Of course, none of them succeeded. I was wondering, why would it succeed? I just added it, how does it find other files to boot the system installation? But the error on the screen gives me a hint:

It's basically "find out what's under/boot/."

See this, yes, did not find this, because it does not exist at all. At this point, look at this picture:

There is another idea in the heart. It would be nice to unzip the Opensuse-leap-42.2-dvd-x86_64.iso file all the way down to the esp. But esp only about 200M appearance, not very realistic. So I'm thinking this, just not just unzip the Opensuse-leap-42.2-dvd-x86_64.iso file to a disk, and then find the corresponding. efi file in the BIOS and add the startup item. It was a quick move again, but it failed. UEFI can directly read the contents of the FAT32 format disk. Just now the NTFS format, so can not read other content it. And after burning the system to the U disk, this time the file system format of the USB flash drive seems to be FAT32. So with this idea, just make a disk, format it into FAT32 format, then extract the contents of the Opensuse-leap-42.2-dvd-x86_64.iso into it, and then add the corresponding boot from the BIOS, this time it's perfect to go into the installer.

Here is a perfect boot entry configuration:

After the installation is done, the configuration of the openSUSE startup item is this:

Install Linux OpenSUSE without a USB flash drive (install Linux from hard disk)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.