Create a USB flash drive and a UEFI boot drive for Chinese Cabbage
Make a USB flash drive for UEFI.
Download and install the brand new cabbage UEFI Version 7.3 from the official Chin
unsigned int delay_use = 5;
111 module_param (delay_use, uint, s_irugo | s_iwusr );
112 module_parm_desc (delay_use, "seconds todelay before using a new device ");
Set delay_use to 5, while module_param is a macro provided by Linux kernel 2.6, so that delay_use can be set when the module is loaded. (If this parameter is not set, the value 5 indicates that a new device is waiting for a delay of 5 seconds .) Why latency? When the inserted USB
-storage: devicescan complete \ n ");
936
937/* shocould we unbind if no devices weredetected? */
938}
939
940 scsi_host_put (us_to_host (us ));
941 complete_and_exit ( threads_gone, 0 );
942}
Row 3, where does delay_use come from? In the same file, a static variable is defined at the beginning:
110 static unsigned int delay_use = 5;
111 module_param (delay_use, uint, S_IRUGO | S_IWUSR );
112 MODULE_PARM_DESC (delay_use, "seconds todelay before using a new device ");
Set delay_use to
: Intel
Product Identification: Flash Disk
Product revision level: 2.00
Here I am using a USB flash drive produced by Intel. The sg_inq command can be used to query the basic information about this USB flash
Rome was not built in one day. Before making the USB flash drive work, we actually made a lot of preparations for the driver.
We continue to follow our feelings. storage_probe (), 972 to 975 rows, and a series of functions named init _ * are called at the moment. Here some lock mechanisms and wait mechanisms are involved, however, it is only initialization, but
after the machine is started once only once.
Boot programs that can boot U disks mainly include IO, ntldr, syslinux, and grub. They have their own characteristics. Considering compatibility, I chose syslinux. Syslinux is a lightweight boot program dedicated to guiding removable media and supports the initrd function. initrd = init ramdisk is a memory virtual disk used at startup, which improves extensive hardware support.
4. Software list and description
I. Preface
In the previous article, I discussed how to create the autorun. inf immune program. Although this immune program can be effective for all drive letters, it is mainly used for USB flash disks for protection. Because the new operating system does not support autorun. inf, we generally do not need to pay special attention to this issue. As the final part
who was involved in developing the USB subsystem in the Linux Kernel told me that a LUN is a driver in the device. The following is an example of the purpose of introducing LUN in USB. Some card readers can have multiple slots, such as two, one supporting the CF card and the other supporting the SD card. In this case, distinguish the devices in these two slots, you have to introduce the LUN concept, that i
example of the purpose of introducing Lun in USB. Some card readers can have multiple slots, such as two, one supporting the CF card and the other supporting the SD card. In this case, distinguish the devices in these two slots, you have to introduce the Lun concept, that is, the logical unit. Obviously, the Lun of a simple device such as a USB flash disk must b
(otherwise, the disk I/O buffer is not provided). Various DOS virtual optical drive software have some limitations, and the results are not successful. I checked some information from the Internet again. I thought it was too troublesome to install the DOS system. I decided to try to install it from WinPE. In the end, it was an exception, so I decided to write down this process here.
The installation process includes the following steps:
Fortunately, before you begin, install VMware Tools software so that virtual machines and hosts can share data, files, and so on how to install the system using a USB flash drive under a virtual machine: 1, the U disk must be recognized on the host (not the virtual machine system) 2, U disk must be in the form of mecha
For a USB-enabled motherboard to be installed on a USB flash drive, you must first prepare a hard drive with a system installed to complete the following steps.
1
1, using BOOTICE.E
Rome was not built in one day. Before making the USB flash drive work, we actually made a lot of preparations for the driver. We continue to follow our feelings. storage_probe (), 972 to 975 rows, and a series of functions named init _ * are called at the moment. here some lock mechanisms and wait mechanisms are involved, but...
Rome was not built in one day. Be
We followed storage_probe () almost completely, and it seems that everything is about to end, but do you think you haven't understood how the device works so far? USB flash disks, not just USB devices or disks, must comply with the USB massstorage protocol and...
We followed storage_probe () almost completely, and it
The following describes the usb_stor_control_thread () function. What wakes up is the up ( (us-> sema) from the queuecommand, and us-> sulfate is assigned to the Server Load balancer, in contrast, the Server Load balancer is a parameter passed in when the SCSI core layer calls the queuecommand. Focus on usb_stor_control_thread (). Row 3: As mentioned earlier, we have to look at the dev_mutex lock from a higher perspective after reading the entire module.
Line 3: If us_fw.x_disconnecting is set,
The following describes the usb_stor_control_thread () function. What wakes up is the up ( (US-> SEMA) from the queuecommand, and us-> sulfate is assigned to the Server Load balancer, in contrast, the Server Load balancer is a parameter passed in when the SCSI core layer calls the queuecommand. Focus on usb_stor_control_thread (). Row 3: As mentioned earlier, we have to look at the dev_mutex lock from a higher perspective after reading the entire module.
Line 3: If us_fw.x_disconnecting is set,
unsigned int delay_use = 5;
111 module_param (delay_use, uint, S_IRUGO | S_IWUSR );
112 MODULE_PARM_DESC (delay_use, "seconds todelay before using a new device ");
Set delay_use to 5, while module_param is a macro provided by Linux Kernel 2.6, so that delay_use can be set when the module is loaded. (If this parameter is not set, the value 5 indicates that a new device is waiting for a delay of 5 seconds .) Why latency? When the inserted USB
, select ultraiso--Boot--write to the hard disk image
3, click "Write", start writing. Prompt "Warning!" All data for the drive will be lost! Are you sure you're going to keep doing this? "Direct" is ". (Default write mode: usb-hdd+. Suggestions can be replaced for system unrecognized. )
4, click "Yes" began to write. Wait 15 minutes or so to get it done. The speed of writing depends mainly on the speed
Method 1 of unattended installation of fedora13 for USB flash drives project requirements: the company receives a project requirement to quickly install 50 fedora13 systems. The first thing that comes to mind is implementing unattended security through the network... information nbsp; | nbsp; security
Method 1 for un
, will there be a new virus? I still don't know whether to automatically delete folders and create files again, but at least this method is very effective at this stage.
How to Prevent USB flash drive poisoning
Computer users develop good habits of using USB flash drives,
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.