南方Linux论坛   首页 | 行业 | 下载 | Blog | 桌面应用 | 数据库 | 电子商务 | 文摘 | 网络服务 | 开源 | 系统管理 | 内核代码 | 教程

返回   南方Linux论坛 > Linux发行版分类讨论区 > UBUNTU专题
注册账号 Blog 论坛帮助 会员列表 日历事件 搜索 今日新帖 标记讨论区已读

发表新主题 回复
 
主题工具 显示模式
旧 2008-09-04, 12:54 PM   #1
TOM
级别:10 | 在线时长:143小时 | 升级还需:22小时级别:10 | 在线时长:143小时 | 升级还需:22小时级别:10 | 在线时长:143小时 | 升级还需:22小时级别:10 | 在线时长:143小时 | 升级还需:22小时
论坛义工
 
注册日期: 2006-07-05
帖子: 477
精华: 0
现金: 1632 金币
资产: 1632 金币
声望: 16 TOM 正向着好的方向发展
帖子 USB Ubuntu 8.04 Persistent install from Live CD

performing the process entirely from Ubuntu. This process uses a few less steps, thus could be performed in less time. In addition the persistence feature is being used to save and restore changes on subsequent boots.

Update: Now works on Ubuntu 8.04.1

Essentials for Ubuntu 8.04 USB installation:

*
* Working CD Drive and the Ubuntu 8.04 CD
* Established internet connection
* 1GB or larger USB flash drive

How to install Ubuntu 8.04 to a USB flash drive:

1. Download the Ubuntu 8.04 ISO and burn it to a CD
2. Restart your computer and boot from the Ubuntu Live CD
3. Insert a 1GB or larger USB flash drive
4. Open a terminal window and type sudo su
5. Now type fdisk -l to list available drives/partitions (note which device is your flash drive Example: /dev/sdb). Throughout this tutorial, replace all instances of x with your flash drive letter. For example, if your flash drive is sdb, replacex withb.
6. Type umount /dev/sdx1
7. Type fdisk /dev/sdx
* type p to show the existing partition and d to delete it
* type p again to show any remaining partitions (if partitions exist, repeat the previous step)
* type n to make a new partition
* type p for primary partition
o type 1 to make this the first partition
o hit enter to use the default 1st cylinder
o type +750M to set the partition size
o type a to make this partition active
o type 1 to select partition 1
o type t to change the partition filesystem
o type 6 to select the fat16 file system
* type n to make another new partition
* type p for primary partition
o type 2 to make this the second partition
o hit enter to use the default cylinder
o hit enter again to use the default last cylinder
o type w to write the new partition table
8. Type umount /dev/sdx1 to unmount the partition
9. Type mkfs.vfat -F 16 -n ubuntu8 /dev/sdx1 to format the first partition
10. Type umount /dev/sdx2 to ensure the partition is unmounted
11. Type mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
12. Remove and re-insert your flash drive (if prompted that a new medium has been detected, select to open in a new window and click ok)
13. Back at the terminal, type sudo apt-get install syslinux mtools
14. Type syslinux -sf /dev/sdx1
15. Type cd /cdrom
16. Type cp -rfv casper dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines install/mt86plus /media/ubuntu8
17. Type cd /media/ubuntu8
18. Type wget pendrivelinux.com/downloads/u8/syslinux.cfg
19. Type cd casper
20. Type rm initrd.gz
21. Type wget pendrivelinux.com/downloads/u8/initrd.gz
22. Reboot your computer and set your system BIOS boot priority to boot from the USB stick.

If everything has gone as it should, you should now be able to boot Ubuntu 8.04 from the USB flash device and it should save your changes, restoring them on boot.

Notes: If your having trouble getting Ubuntu to boot, your memory stick may have a corrupted MBR. To repair the MBR of your USB device, at the terminal type sudo apt-get install lilo then type lilo -M /dev/sdx (replacing x with the letter of your flash device)

此帖于 2008-10-13 03:32 AM 被 TOM 编辑.
TOM 当前离线  
回复时引用此帖
发表新主题 回复


当前查看此主题的会员: 1 (0 位会员和 1 位游客)
 
主题工具
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

论坛启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码


所有时间均为北京时间。现在的时间是 06:19 AM


vBulletin 3.6.8 Powered by 南方Linux联盟
版权所有 ©2004 - 2009, bbs.linuxunion.net