Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Make Windows boot disk to install USB in Ubuntu Linux     - CentOS 6.5 installation configuration DRBD (Server)

- ogg Oracle to SQL Server 2005 to achieve synchronization (Database)

- Thunderbird 24.4.2 has been released for use with PPA updates (Linux)

- Linux user management (Linux)

- Five useful commands to manage file types and system time in linux (Linux)

- Ubuntu 14.04 build Hadoop 2.5.1 standalone and pseudo-distributed environment (32-bit) (Server)

- PostgreSQL export table structure information (Database)

- SendMail version of Java implementation with attachments (Programming)

- stat Usage: Get permission to file the corresponding figures (Linux)

- Linux (RHEL6 CENTOS6 OLE6) VNC-SERVER Installation and Configuration (Server)

- Linux, how to filter, split, and merge pcap file (Linux)

- Postfix mail service system principle and configuration (Linux)

- CentOS 6.4 OpenNebula installation (Linux)

- Puppet 3.x installed on Debian 7 (Server)

- Java open source monitoring platform Zorka basic use (Linux)

- Linux mention the right notes (Linux)

- Linux install Eclipse for C / C ++ Development (Linux)

- How to configure a development environment elegant Lua (Linux)

- Embedded Linux to solve the problem in the time zone (Linux)

- The difference between Objective-C language nil, Nil, NULL, NSNull (Programming)

 
         
  Make Windows boot disk to install USB in Ubuntu Linux
     
  Add Date : 2018-11-21      
         
         
         
  Recent want to install Windows on the U disk burn Ubuntu, read some information on the Internet, but many say that is very vague, Ever since, I have quite a few detours. Recorded here, I hope to help everyone.
First, you'll have a USB bar, where we assume that USB in ubuntu as / dev / sdb
1. USB device to / dev / sdb partition, note that if the primary partition,
sudo fdisk / dev / sdb
Command (m for help): n
Partition type: p primary (0 primary, 0 extended, 4 free) e extended
Select (default p): p
Partition number (1-4, default 1):
Using default value 1
First sector (2048-15564799, default 2048):
Using default value 2048
Last sector, + sectors or + size {K, M, G} (2048-15564799, default 15564799):
Using default value 15564799
Command (m for help): p
Disk / dev / sdb: 7969 MB, 7969177600 bytes
246 heads, 62 sectors / track, 1020 cylinders, total 15564800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical / physical): 512 bytes / 512 bytes
I / O size (minimum / optimal): 512 bytes / 512 bytes
Disk identifier: 0x8d55b9cb Device Boot Start End Blocks Id System
/ Dev / sdb1 2048 15564799 7781376 83 Linux
Above / dev / sdb1 on sub-out, all of the space gave sdb1
2. Then the / dev / sdb1 to boot partition
Command (m for help): a
Partition number (1-4): 1

Command (m for help): p
Disk / dev / sdb: 7969 MB, 7969177600 bytes
126 heads, 10 sectors / track, 12353 cylinders, total 15564800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical / physical): 512 bytes / 512 bytes
I / O size (minimum / optimal): 512 bytes / 512 bytes
Disk identifier: 0x8d55b9cb Device Boot Start End Blocks Id System
/ Dev / sdb1 * 2048 15564799 7781376 83 Linux
We can see that behind sdb1, more than a month *
3. Next, put the above to do all changes written to the USB
Command (m for help): w
The partition table has been altered!
Calling ioctl () to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe (8) or kpartx (8)
Syncing disks.
And then q to quit
4. Format the partition as the ntfs
sudo mkfs -t ntfs / dev / sdb1
This process, the partition will write all 0s, probably will wait a few minutes
5. The next step is to download a good iso file to the boot partition dd
# Burn the downloaded iso file to usb partition (and too, must be a partition, otherwise use the usb will next appear Operating not found problems
sudo dd if = / home / peter / Downloads / WindowsTechnicalPreview-x64-ZH-CN.iso of = / dev / sdb1 bs = 4M iflag = direct
See, I installed win10
6. It is not possible to start from usb disk, but also write information usb disk MBR area, which requires a tool LILO
sudo apt-get install lilo
sudo lilo -M / dev / sdb mbr
Next time it starts, select the USB boot will appear windows installation interface!
In addition, I also tried unetbootin, but without success, choose from the U disk boot, has been stuck in a selection screen. We have a successful test of the recommendation of trouble.
     
         
         
         
  More:      
 
- 20 Top Linux commands (Linux)
- Ubuntu installed Komodo editor by PPA (Linux)
- CentOS 7 Test Marathon start Docker container (Server)
- Lua non-blocking write log (Programming)
- Preview function to confirm the stop resource Oracle 12c new feature crsctl (Database)
- Java Access Control (Programming)
- MySQL development common query summary (Database)
- Oracle 11g maintenance partitions - Adding Partitions (Database)
- Bash common several configuration files (Linux)
- Linux gprof oprofiling and performance testing tools (Linux)
- Impact test noatime Linux file access time (Linux)
- Java interface and inheritance (Programming)
- Linux, modify the hostname (Linux)
- SolrCloud-5.2.1 cluster deployment and testing (Server)
- Getting the Linux shell expr use (Programming)
- RHEL7.0 configuration CD-ROM to the local YUM (Linux)
- Hive start being given: Found class jline.Terminal, but interface was expected (Database)
- Nine trick to let you speed up the old machine running Ubuntu Linux (Linux)
- Storm how to assign tasks and load balancing (Programming)
- JavaScript object - Flexible and dangerous (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.