For friends who use Windows, if you want to install Ubuntu on a mobile hard disk and want to boot from the USB-HDD (mobile hard disk), you can try this method without tedious command settings. First, prepare a UbuntuCD installation disc. 1. Install Ubuntu on a mobile hard disk and use CD to install it on the mobile hard disk. During installation, find one or create a new fat16/fat32/ext2/ext3 partition on the mobile hard disk, which will be used later. For more information about the installation process and hard disk partitioning, see related tutorials.
For friends who use Windows, if you want to install Ubuntu on a mobile hard disk and want to boot from the USB-HDD (mobile hard disk), you can try this method without tedious command settings.
First, prepare an Ubuntu CD installation disc.
1. Install Ubuntu into a mobile hard disk
Directly use CD to install it on the mobile hard disk. During installation, find one or create a new fat16/fat32/ext2/ext3 partition on the mobile hard disk, which will be used later. For more information about the installation process and hard disk partitioning, see related tutorials.
Note:
At the end of the rom bios boot routine, the BIOS reads and executes the first physical sector of the first floppy disk or hard disk in the system (the hard disk has 0 cylinders, 0 heads, and 1 sectors ), that is, the primary boot sector. The content of this sector is called the primary Boot Record (MBR, also known as a partition table or primary boot block ). This record takes up 512 bytes. At the beginning of this sector of the hard disk, there is a small program, namely the Main Boot Program, which is responsible for loading from the active partition and running the system boot program. Partition information (or partition table) is stored at the end of the sector, a total of 64 bytes.
In this way, GRUB will overwrite the Master Boot Code (or program) in the first hard disk MBR of the Local Machine. When the USB interface is not connected to the mobile hard disk, the ipvs System of the local hard disk cannot be booted. You can use DiskGenius, Fdisk, and Fixmbr to reconstruct the Master Boot Record after completing steps 1 and 2 to restore the normal startup of the local hard drive system.