For computer troubleshooting and computer system installation tutorials, come to the Computer System Download Network

Detailed steps to run Linux directly on USB flash drive

2023-03-27 Source:

Linux is deeply loved by some users for its high efficiency and flexibility, but it is inconvenient for daily operation habits. If the user does not want to install the Linux system on the computer, but also wants to use the Linux system, here is a good way to put the Linux system on a USB flash drive and run Linux directly on the USB flash drive.

Operation steps:

The following uses dos+grub4dos to start Ubuntu. This startup method is convenient for adding PE and dos toolbox to create multiple boot disks.

1. Boot dos boot

Start UltraISO, select the menu "Boot CD/Write Hard Disk Image", select "Portable Boot/Write New Hard Drive Master Boot Record (MBR)/USB-ZIP+" in the dialog box, and then select "Portable Boot/Write New Drive Boot Record/Windows 9x". Then copy the boot files command.com, io.sys, and MSDOS.SYS to the root directory of the USB disk. At this time, you can start the dos system from the USB flash drive in USB-ZIP mode.

2. Dos boot grub4dos

Copy grub.exe and menu.lst to the root directory of the U disk, create an AUTOEXEC.BAT file, and add the text "grub".

3. Download Prayaya LiveSystem

Open http://ftp.ubuntu.org.cn/home/yaska/prayaya-804-gnome/, username: ubuntu, password: ubuntuftp.

Download the latest ISO in the ISO directory, and download the ro file (configured Linux program) in the ros directory.

4. Install Prayaya LiveSystem

Create a prayaya-livesystem-usb folder in the root directory of the U disk, and create a ros folder in this directory.

Copy initrd.gz and vmlinuz in the ISO package to the prayaya-livesystem-usb directory, and rename initrd.gz to initrd.img.

Copy the ISO package itself to the prayaya-livesystem-usb directory.

Copy the downloaded ro file to the prayaya-livesystem-usb/ros directory.

My prayerya-livesystem-usb directory file list is as follows:

免责声明:All articles and pictures on this site are from user sharing and Internet collection. The copyright of articles and pictures belongs to the original author and original source. They are for learning and reference only. Please do not use them for commercial purposes. If your rights are damaged, please contact the website customer service.

Related articles

Exchange rate world
Know the exchange rate
Check exchange rate
Find a dictionary
You Dictionary
ITBar
51Exchange rate network
Niuzhan.com
Teaitao
Movie Nest
Check report
Baicao Garden
Pleasant to live
Exchange rate world
Know the exchange rate
Check exchange rate
Find a dictionary
You Dictionary
ITBar
51Exchange rate network
Niuzhan.com
Teaitao
Movie Nest
Check report
Baicao Garden
Pleasant to live