Ubuntu Cloud Live 11.10 简单测试笔记


Ubuntu Cloud Live 11.10 是一个USB镜像,写入到U盘后,就可以用“Live”的方式体验 Openstack。什么是“Live”方式呢?呵呵,就是用U盘或光盘直接启动电脑进入的桌面环境,不会改变本机硬盘的任何数据。

地址:
http://cloud.ubuntu.com/2011/10/ubuntu-cloud-live-11-10-is-available/

通过安装有Ubuntu Desktop的计算机,下载ubuntu-11.10-cloud-live-amd64.img,保存到,比如说,主文件夹下的Downloads目录。

插入U盘(官方推荐至少4G,我用2G的来实验),在终端窗口运行:

$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x624aa2e0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   122881184    61440561    7  HPFS/NTFS/exFAT
/dev/sda2       122882048   123496447      307200   83  Linux
/dev/sda3       123496448   131885055     4194304   82  Linux swap / Solaris
/dev/sda4       131887102   625141759   246627329    5  Extended
/dev/sda5       131887104   625141759   246627328   83  Linux

Disk /dev/sdd: 2031 MB, 2031091712 bytes
4 heads, 32 sectors/track, 30992 cylinders, total 3966976 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: 0x0007c916

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1     1085439      542719+   6  FAT16
gt@gt-Dell:~$


在输出结果中判断,U盘被加载为 /dev/sdd 。

继续,cd 到保存img文件的目录:

gt@gt-Dell:~$ cd ~/Downloads
gt@gt-Dell:~/Downloads$ sudo dd if=ubuntu-11.10-cloud-live-amd64.img of=/dev/sdd

记录了1085440+0 的读入
记录了1085440+0 的写出
555745280字节(556 MB)已复制,161.524 秒,3.4 MB/秒
gt@gt-Dell:~/Downloads$

现在,Live U盘做好了。重新启动计算机,选择USB启动。看(手机拍摄,中间的大亮点是闪光灯):

Ubuntu Cloud Live 11.10 简单测试笔记
Ubuntu Cloud Live 11.10 简单测试笔记

桌面上的文本文件是安装指南,按照指南的要求一步步做就可以了,英文阅读能力要给力哦。记住,随便弄,绝对不会影响你硬盘里现有的系统的。试好了欢迎谈谈感想,我就不试了,我还是喜欢实际部署,到目前为止,比较靠谱的还是devstack脚本。如下:

$sudo apt-get install git
$git clone git://github.com/cloudbuilders/devstack.git

相关内容