思路来源于长篇巨著ubuntu bible中介绍的ubuntu desktop cd 的一个特性 :
适合环境:wubi替代方案之一, 临时使用ubuntu,体验ubuntu,展示ubuntu ,在不方便安装linux的电脑上使用linux , and so onUsing Desktop CD Persistence
Live CDs like the Ubuntu Desktop CD provide an easy way to temporarily turn any compatible computer
system into an Ubuntu Linux system. However, the fact that most live CDs don’t provide any sort of persistent
storage for configuration data, custom applications, and so on (other than manually copying files to
other local or networked storage) limits the practical usability of Live CDs to simple demonstrations, general
one-time experimentation, rescuing data from crashed systems, and for general system repair and
recovery efforts. Until now, that is.
The Ubuntu 6.06 Desktop CD provides a built-in mechanism for recognizing an external storage device
with a special name at boot-time and using the contents of that device to restore desktop settings, application
configuration files, and even installed applications. The amount of custom configuration information
and installed applications that you can save and restore is only limited by the size of the external storage
device that you use.
The requirements for taking advantage of this capability are the following:
The external storage device must be one that can be found by the Desktop CD kernel when it boots.
The external storage device must contain a Linux filesystem that is supported by the Desktop CD
kernel. VFAT, NTFS, and HFS+ filesystems will not work—the filesystem must be an actual
Linux filesystem. Ext2 or ext3 filesystems are recommended for portability.
The filesystem on the external storage device must have the name casper-rw.
You must add the persistent keyword to the kernel command line when you boot from the
Desktop CD.
The most common devices used for persistent storage with the Desktop CD are USB devices. USB sticks
(a.k.a. pen drives) are extremely portable, but provide a limited amount of storage. An external USB hard
drive is a better alternative if you need to install applications, related files, and other data that would exceed
the amount of storage available on a USB stick.
If you are using an Ubuntu Desktop
请按骨头大大的方法对你所用电脑进行仔细的硬件兼容性测试,兼容性测试通过后再进行下面的步骤,否则不要往下看了,另外,如果你对硬盘进行分区时采用了第三方分区工具,建议试下本方案,但不建议安装
viewtopic.php?t=97951
实现环境:
ubuntu 6.06 或以上版本可以通过光盘或移动硬盘实现
ubuntu 7.04 或以上版本可以通过光盘,本地硬盘或移动硬盘实现
windows安装在本地硬盘,c盘分区为fat32(ntfs也可),ubuntu 7.10(或以上版本)desktop cd iso文件,推荐内存512M 或以上,其它情况,比如全部放在移动硬盘中,要先学习下grub4dos的mbr引导指南,也可参见ptptp大大的专著
简单的usb方案:
也可以在本地硬盘上做好后,把本地硬盘的c盘ghost到移动硬盘的第一个主分区,没用的东东,除了ntloader以外,比如windows目录,可以通通删除。 ghost完后,要在win的磁盘管理中把移动硬盘的第一个主分区设为活动的
该方法涉及M$ 和ghost的版权,但不涉及华镭usb启动linux的烂专利,如果想完全不涉及版权,请用linux的拷贝代替ghost,因为用win 的拷贝是否侵权还不清楚,同时移动硬盘的mbr处理请放弃M$的ntloader ,转用grub4dos的bootlace.com
由于用m$ win使用时间不长,我对win 不了解,还请各路win 高手批评指正。
1 下载ubuntu 7.10(或以上版本) desktop cd iso文件,将iso中的全部文件释放到c盘根目录下,释放后,如果casper目录在c盘根目录下,说明操作正确,否则重来.
2. windows下,我的电脑,属性,磁盘管理,删除一个分区,比如说最后一个分区,删除前请备份资料,如果不想删,推荐用usb的存储设备来进行
3.下载附件中的文件,把grldr 和menu.lst放到c盘根目录
4.修改c盘下的boot.ini,在最后加一句: C:\GRLDR=ubuntu
5.重启,选ubuntu启动,到桌面后进入终端
代码: 全选
sudo gparted
6 .重启再次进入ubuntu,在终端中输入:
e2label /dev/sda5 casper-rw
红色数字不代表你的实际情况
7. 重启,注意如果刚才你处理的是usb设备,记得每次开机前都要接上。
8. 通过以上处理,不用安装ubuntu ,但和安装后的效果一样,可以安装软件,修改配制,也可以享受3d,重启后仍然会有效。
以上方法也可以做为ubuntu desktop cd硬盘安装参考
测试结果:
8楼骨头在本地硬盘上分了一个这样的分区, 使用光盘启动测试成功,重启后所有设定全部保留!
skyx使用sd卡+读卡器,把sd卡格式化为ext3分区,卷标名改为casper-rw,使用硬盘启动成功,重启后所有设定全部保留!
硬件要求: 采用live cd 光盘或硬盘启动,只要可以正常进桌面的理论上都可以,内存最好在512M 以上。
适合环境: 临时使用,体验,展示 ,在不方便安装linux的电脑上使用linux , and so on
另一种类似方案为:
viewtopic.php?t=58778