


No need to move media! How to directly boot and install a Linux system from the hard disk
When I was tossing about Linux booting tomorrow, I discovered a Linux installation method that does not require any Unicom media, that is, starting the installation system directly from the hard disk.
1. First download an easyBCD. Go to the "Add New Entry" option and select the "NeoGrub" entry, then select "Add". Add and click "Configure".
2. Add the following lines of text to the pop-up text file named "menu.lst":
<span style="font-size: 16px"><span style="color: #000000">title Install Ubuntu root <span style="color: #ff0000"><strong>(hd0,</strong></span></span><span style="color: #ff0000"><strong>1</strong></span><span style="color: #000000"><span style="color: #ff0000"><strong>)</strong></span> kernel <span style="color: #ff0000"><strong>(hd0,</strong></span></span><span style="color: #ff0000"><strong>1)</strong></span>/vmlinuz boot=casper iso-scan/filename=/<strong><span style="color: #0000ff">[LINUX]ubuntu-12.10-desktop-i386.iso</span></strong> ro quiet splash locale=zh_CN.UTF-<span style="color: #800080">8</span><span style="color: #000000"> initrd <strong><span style="color: #ff0000">(hd0,</span></strong></span><strong><span style="color: #ff0000">1)</span></strong>/initrd.lz</span>
Before this, put the .iso image of ubuntu you want to install on any disk (not just the system disk). Linux gets the current time, and then put the "initrd." in the "casper" folder in the .iso file. lz" and "vmlinuz" files to the system disk (usually the C drive).
The red and blue parts in the text are modified according to the different machines.
My system disk is the second primary partition (the first one is for Linux), so the red part says (hd0,1), which represents the second primary partition of the hard disk (starting from 0). If yours is the first primary partition, write (hd0,0).
The blue part is determined according to your .iso file name. My installation file is [LINUX]ubuntu-12.10-desktop-i386.iso
3. After setting, save and exit linux to check the disk space and restart.
You can also see that there is an additional NeoGrub boot item in the boot.How to install the linux system with a USB flash driveHow to install the linux system with a USB flash drive, click on it to enter Linux is installed.
Notice:
1. Remember that before installation, you need to press Ctrl+Alt+T to open the terminal and enter the code: sudoumount-l/isodevice. This command cancels the mounting of the drive where the CD is located, otherwise the partition interface cannot find the partition.
2. If you restart, you will find that you cannot enter Windows.
Open the terminal and enter the command
<span style="font-size: 16px">sudo gedit /etc/<span style="color: #0000ff">default</span>/grub</span>
Change GRUB_TIMEOUT="10"
Then enter sudoupdate-grub
in the terminalThe update command will manually find the windows7 startup items. And manually update the /boot/grub/grub.cfg file. This will allow you to enter Windows after restarting.
----------------------------------
Finally step into Window7, open EasyBCD and delete the menu.lst file that was changed during installation, and click Remove.
Then go to our disk and delete vmlinuz, initrd.lz and the system iso file.
With the help of EasyBCD, you can modify the startup item menu. Press the EditBootMenu button, and you can choose to set Windows 7 as the default boot option.
refer to:
Win7+Ubuntu11.10(EasyBCD hard disk installation)
How to restore ubuntu boot after reinstalling win7/Xp on dual systems
Freecode:
The above is the detailed content of No need to move media! How to directly boot and install a Linux system from the hard disk. For more information, please follow other related articles on the PHP Chinese website!

A GUI for Effortless Flatpak Management: Introducing Warehouse Managing a growing collection of Flatpak applications can be cumbersome using only the command line. Enter Warehouse, a user-friendly graphical interface designed to streamline Flatpak a

This article provides a comprehensive guide to identifying and resolving hard drive bottlenecks in Linux systems. Experienced server administrators will find this particularly useful. Slow disk operations can severely impact application performance,

Efficient QR code generation tool under Linux system In today's digital world, QR codes have become a way to quickly and conveniently share information, simplifying data access from URLs, texts, contacts, Wi-Fi credentials, and even payment information. Linux users can use a variety of tools to create QR codes efficiently. Let's take a look at some popular QR code generators that can be used directly on Linux systems. QRencode QRencode is a lightweight command line tool for generating QR codes on Linux. It is well-received for its simplicity and efficiency and is popular with Linux users who prefer direct methods. Using QRencode, you can use the URL,

Elementary OS 8 Circe: A Smooth and Stylish Linux Experience Elementary OS, a Ubuntu-based Linux distribution, has evolved from a simple theme pack into a fully-fledged, independent operating system. Known for its user-friendly interface, elegant de

Mastering Linux is crucial for any machine learning (ML) engineer. Its command-line interface offers unparalleled flexibility and control, streamlining workflows and boosting productivity. This article outlines essential Linux commands, explained fo

Arch Linux: A Beginner's Command-Line Cheat Sheet Arch Linux offers unparalleled control but can feel daunting for newcomers. This cheat sheet provides essential commands to confidently manage your system. System Information & Updates These com

This guide provides a comprehensive walkthrough of installing and using the Scikit-learn machine learning library on Linux systems. Scikit-learn (sklearn) is a powerful, open-source Python library offering a wide array of tools for various machine l

This guide explains how to leverage Docker for accessing Kali Linux tools, a safer and more efficient alternative to outdated methods like Katoolin. Katoolin is no longer actively maintained and may cause compatibility problems on modern systems. Do


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1
Easy-to-use and free code editor

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
