The text before
It took a day and a half. All kinds of toss, all kinds of repair guide. I’ve got, like, 20, 30 tutorials on the Internet. Then try to fix the boot under Windows. Try to fix the boot in Ubuntu. Turns out I didn’t choose the right model. Finally, at 1:30 in the morning, I finished the task. It was really moving, and I’ve been a dual-system person ever since. My old phone is finally getting a second chance. Since then, Ubuntu has really come into my life and may even become a major developer in the future.
Ubuntu or Windows has never been installed on an entire computer before, but this is the first attempt at a single hard drive with two systems. Finally though it is not implemented under Windows boot Ubuntu. But it doesn’t make any difference, and ubuntu booting Windows is the same. In one word, it’s awesome.
The body of the
Computer model: Dell Linyue Computer system: Windows 10 Home Chinese installation system: Ubuntu 16.04.3 ARM X64 Desktop Required tools: preferably more than 4G USB flash drive a file and tools to be prepared:
- Ubuntu ISO image file
- Rufus or UltraISO, as described in my previous article
- Disk Management tool
KO’s ready. Let’s go
1. Data backup
Don’t worry. Did you back it up? Buy a portable hard drive and export your important files. Even if you turn brick, you can use PE to export your important files, but I don’t want you to fail and blame me. That wouldn’t be pretty, so back it up, and if it works, it can still be used to store 1000 gigabytes of “learning material,” right? ? Uh huh?
Make room for Ubuntu
Press Win + X and select “Disk Management” : Then select the disk with more free space, right-click it and choose “Compress Volume”. Here, select compressed E disk. Of course, if you are like me, you are not trying to install it for the first time, then you can think about how much you will store in it. My Ubuntu will probably be the workhorse in the future, so be nice to her
Deleting a volume actually achieves the same effect, creating a large free disk. This means that one of your disks is available for use on another system.
Three, disable fast start (optional), I do not know you have, ANYWAY, I do not have ~ so it should not matter
Hold down Win + X(remember this versatile combination), select “Power Options” and execute in sequence:
Note: “Quick Boot” is a new feature introduced in The Windows 8 era. It is recommended to disable this feature because it may affect the boot process of Grub and may fail to load Ubuntu. Therefore, select “Save changes”. I think a lot of people don’t have it, so I don’t panic if I can’t find it, neither do I (PS: I’m in class now, with a Mac, I can’t take screenshots of Windows, so I can directly borrow the tutorial I refer to).
Four, forbid safe start
I don’t know if there’s one in the lower right corner when you turn it on
F2 Setup
F12 Boot OptionsCopy the code
Anyway, I have it, if not, it doesn’t matter, you can directly set these auxiliary functions in Windows: Enter the system “Settings”, and execute them successively:
Or, if you Boot up and see the F2 and F12 options I mentioned above, go to Setup anyway and go to Secure Boot under Boot or Security. Then Enter displays the Enable and Disable options, and select Disable to turn off secure startup.
Note: Similarly, “safe boot” is a security measure adopted in the Windows 8 era to protect against RootKit viruses, but it also prevents dual booting of Windows and other operating systems, so make sure that “safe boot” is disabled before loading Ubuntu images.
Install Ubuntu
This process is the same as my previous Windows installation tutorial, but if it is the same then forget it, you can watch this instead:
- (You can skip this step if you have installed the operating system with a USB flash drive.)
- Back up the USB flash drive to be written
- Go to UltraISO and open the following file:
-
Opening the image file
-
Start > Write hard Disk Image:
-
Writing a hard disk image
-
Write as default:
-
Writing a hard disk image
-
Finish writing:
After not much to say, the installation of Ubuntu tutorial a move a large, and really nothing to say, in addition to music BIOS Settings USB open a little on the white is not friendly, is really not what good fear!
Vi. Start dual-system installation
Select “Install Ubuntu” :
If the network and space speed are uniform, you are advised to select Download updates during Installation and Install this third-party software. Very important step, select ** “other options installation type selection, remember the default check on ~~ will be very useful
Partition the free disk: In this step, you will see the unused disk space we allocated earlier. We are going to partition the free disk. To make it easier to understand what to do next, here are some of the main Linux partitions involved in the installation process:
- / : storage system file, 10 to 15GB recommended.
- Swap: indicates the virtual memory of the Linux operating system. It is recommended that the memory size be twice that of the physical memory.
- /home: the home directory, which stores files such as music, pictures and downloads. It is recommended to allocate all the remaining space at last.
- /boot: contains the system kernel and files required for system startup. The key to realizing dual systems is 200M.
Select free disk (sorry here again stolen map. But I was busy with the dress system. No pictures, you get the idea)
Select the free disk and press + to allocate 16GB space to/partition. Select Primary Partition, Start Space, Ext4, and Mount Point / : Create/Partition
Note: In fact, a hard disk can contain a maximum of four primary partitions, or three primary partitions and one extended partition. When selecting a partition type, “Free partition is unavailable during system installation” may occur. To solve the problem, select Logical Partition below. Repeat the preceding steps to allocate 16 GB space to the swap partition. Select Logical Partition (primary partition is full), Start Space, and Swap Space:
Select Logical Partition (primary partition is full), Start Space, Ext4 and Mount Point /boot.
Finally, allocate all remaining space to /home partition. Select Logical Partition (primary partition is full), Start space, Ext4, and Mount Point /home:
Select the drive letter corresponding to /boot as the “device to install the boot device”, make sure it is consistent :(honestly I suspect that the original tutorial was wrong in this step. Because I found a lot of tutorials on the Internet saying that hanging directly to the Windows boot location, that is, or the regular C drive is the best. Some say mount to the entire hard disk SDA, this I am not sure, do not know. But back anyway a repair, according to the original tutorial to it!
Ensure that the boot device id is consistent with /boot
This is what I ended up with!!
You can take a shower or something, and it will be done in about 10 minutes slow and 2 or 3 minutes fast:
7, fix the boot, use try Ubuntu to enter ubuntu boot manager to implement Ubuntu boot Windows!
This was the beginning of my departure from the original tutorial! You still need to access the Ubuntu interface, but you don’t need to install it (if you do, you’ll lose all the files you used to have in Ubuntu, so don’t do that if you have to). Remember to connect the network, it is best to directly use a network cable directly inserted into the computer network card, the network has its own network that is the best, if it is ruijie campus network of what. Please connect to mentohust by yourself. Wifi seems to work as well, just like normal Internet connection. It’s on trial, though. But he has everything! Also, when setting UP USB boot, select the second option that appears USB, which is the one below UEFI.
Open the terminal, press Ctrl+Alt+T, and run the following command to add the boot-Repair source:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get updateCopy the code
Step 4: After the preceding commands are executed, run the following commands to install boot-repair and enable boot-repair:
sudo apt-get install -y boot-repair && (sudo boot-repair &)Copy the code
After a while, the following screen appears:
8. Enter the boot interface
This time there will be a lot of strange guys ~ choose Ubuntu which is no doubt into Ubuntu, as for Windows most likely Windows with loader launcher, so click, this time you have nothing to fear. ! Nothing can beat you! Worst thing is a system crash!! Don’t be cool, just do it!
After the body
Finally finished. Ready for bed. Yes, there seems to be a problem, that is, there will be the phenomenon of time zone confusion, I don’t know if I was a random choice of time zone to make, heart jammed!!