u盘刻录ubuntu系统

先格式化u 盘

假如u盘挂载在/media/disk上


卸载:
sudo umount /media/disk 


格式化:
sudo mkfs.vfat /dev/sdb

可以用 sudo fdisk -l查看u盘是不是/dev/sdb。

不同的格式对应不同的格式化命令:
mkfs mkfs.cramfs mkfs.ext3 mkfs.ext4dev mkfs.msdos mkfs.vfat 
mkfs.bfs mkfs.ext2 mkfs.ext4 mkfs.minix mkfs.ntfs 

下载系统后用软件刻录到u盘上

Open the terminal and execute the following command to add repository.

sudo add-apt-repository universe

Execute the following command to add ppa.  Press Enter if being asked.

sudo add-apt-repository ppa:mkusb/ppa  # and press Enter

The following information will be displayed on the screen.

Figure 1:  Press “Enter” when being asked to add repository.

Execute the following command to update apt.

sudo apt-get update

Install the following two applications by executing the following commands:

sudo apt-get install -y mkusb-nox pv

Move to the directory in which the ISO file is stored.

cd /tmp

Tips:  ISO file can be downloaded from SFTP server, and the SFTP login credentials will be provided separately.  /tmp here is taken for reference only, and the path might vary depending on user’s machine.

Connect USB flash drive to computer and execute the following command to create a bootable USB flash drive.

sudo mkusb-nox  ./ubuntu-14.04.5-server-amd64-ygomi-custom.iso

Accept all the conditions when being asked.  It might take 20 minutes to install ISO file to USB flash drive.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值