当前位置: 技术问答>linux和unix
怎样能制作linux的USB启动盘?
来源: 互联网 发布时间:2017-01-19
本文导语: 我想学习linux,但电脑是公司的用的,装的是windows,里面装了很多软件,为了防止出问题会影响到工作,不想在硬盘上再装个linux。 我想在U盘上装个linux(Redhat,ubuntu都可以),这样我每次开机时只需要进入U盘就可以了...
我想学习linux,但电脑是公司的用的,装的是windows,里面装了很多软件,为了防止出问题会影响到工作,不想在硬盘上再装个linux。
我想在U盘上装个linux(Redhat,ubuntu都可以),这样我每次开机时只需要进入U盘就可以了,不想用时就把U盘去掉。
但目前不知道怎么做,请大家帮忙,最好给出详细的制作方法和使用方法,谢谢!
我想在U盘上装个linux(Redhat,ubuntu都可以),这样我每次开机时只需要进入U盘就可以了,不想用时就把U盘去掉。
但目前不知道怎么做,请大家帮忙,最好给出详细的制作方法和使用方法,谢谢!
|
我这会儿用的操作系统是CentOS,就是在U盘上的
你把Linux的光盘刻出来,用U盘安装也可以
在选择安装位置时,选择U盘
将/分区设置为ext4格式,空间尽可能大
/boot分区设置为ext4格式,空间100M左右就足够了
swap分区的格式就是swap,没有挂载点,我的U盘是8G ,所以给swap分了1G,再多了,就按装不上去,/分区得要好几个G呢,少了不让安装
|
安装好以后就是这样
|
这个图太小
|
用ubuntu比较简单。下载一个ubuntu livecd,然后可以在windows下创建可启动的usb disk
From Windows
The ISO file includes a file called usb-creator.exe in the CD image. You need to run this program, so you need to copy it out of the CD image. To do so, you can burn the Ubuntu ISO file to a disk, or you can use a Windows utility such as Virtual Clone Drive to access the .iso file's contents. You can also use 7Zip to extract the ISO so you can work with the files inside.
This process is described in detail in a video on this website.
Once you have usb-creator.exe, run it and follow the same steps as described for Linux (point it at your .iso file or your Ubuntu CD-ROM, point it at your USB flash drive, make sure you have the right device selected, then "Make Startup Disk").
Notes
Instead of usb-creator.exe you can use Unetbootin to create a bootable USB flash drive. http://unetbootin.sourceforge.net/
You won't be able to select the USB flash drive if it wasn't formatted in a way that Windows can see it. You may have to format it using Windows Explorer in order for it to show up in a creator tool.
From Windows
The ISO file includes a file called usb-creator.exe in the CD image. You need to run this program, so you need to copy it out of the CD image. To do so, you can burn the Ubuntu ISO file to a disk, or you can use a Windows utility such as Virtual Clone Drive to access the .iso file's contents. You can also use 7Zip to extract the ISO so you can work with the files inside.
This process is described in detail in a video on this website.
Once you have usb-creator.exe, run it and follow the same steps as described for Linux (point it at your .iso file or your Ubuntu CD-ROM, point it at your USB flash drive, make sure you have the right device selected, then "Make Startup Disk").
Notes
Instead of usb-creator.exe you can use Unetbootin to create a bootable USB flash drive. http://unetbootin.sourceforge.net/
You won't be able to select the USB flash drive if it wasn't formatted in a way that Windows can see it. You may have to format it using Windows Explorer in order for it to show up in a creator tool.
|
楼主的Windows上可以自己装软件吗?
还是装一个虚拟机比较好,比如收费的VMware以及免费的Virtual Box。
还是装一个虚拟机比较好,比如收费的VMware以及免费的Virtual Box。