[分享]ubuntu7.10 安装在1G U盘上启动成功:D

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
openatone
帖子: 160
注册时间: 2007-12-03 13:57

[分享]ubuntu7.10 安装在1G U盘上启动成功:D

#1

帖子 openatone » 2007-12-06 17:11

感谢大家的帮助。经过不断的寻找和试验。终于启动成功了 下面先把英文说明贴出来,等我找时间翻译成中文,其实以前也有朋友 贴过中文的,但是没成功,这个是对7.10 成功的。

USB Ubuntu 7.10 Essentials:

Ubuntu7.10 ISO
CD Burner
1GB USB flash drive (2GB+ recommended)

U710fix.tar
Ubuntu 7.10 USB installation tutorial:

Hint: You can drastically speed up the install by Copying (Ctrl+c) and Pasting (Ctrl+v) commands into the terminal instead of manually typing them out. With the exception of replacing x with your drive letter.

Grab the Ubuntu 7.10 ISO and burn it to a CD
Insert the CD and your USB flash drive
Reboot your computer into Ubuntu from the Live CD
Open a terminal window and type sudo su
Type fdisk -l to list available drives/partitions. Note which device is your flash drive (example: /dev/sda) Throughout this tutorial, replace x with your flash drive letter. For example, if your flash drive is sdb, replace x with b.
Type umount /dev/sdx1
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
type 1 to make this the first partition
hit enter to use the default 1st cylinder
type +750M to set the partition size
type a to make this partition active
type 1 to select partition 1
type t to change the partition filesystem
type 6 to select the fat16 file system
type n to make another new partition
type p for primary partition
type 2 to make this the second partition
hit enter to use the default cylinder
hit enter again to use the default last cylinder
type w to write the new partition table
Type umount /dev/sdx1 to ensure the 1st partition is unmounted
Type mkfs.vfat -F 16 -n ubuntu710 /dev/sdx1 to format the first partition
Type umount /dev/sdx2 just to ensure the 2nd partition is unmounted
Type mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
Remove and Re-insert your flash drive
Back at the terminal, type apt-get update
Type apt-get install syslinux mtools

Type syslinux -sf /dev/sdx1
Type cd /cdrom
Type cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/ubuntu710/
Ignore any "cannot create symbolic link" errors


Type cd /home/ubuntu
Type wget pendrivelinux.com/downloads/U710fix.zip
Type unzip -o -d /media/ubuntu710/ U710fix.zip
Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again.
You should now have a USB Ubuntu 7.10 Gutsy Gibbon flash drive that should automatically save your changes, restoring them on boot.

Note: 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)
附件
U710fix.zip
(939 Bytes) 已下载 165 次
openatone
帖子: 160
注册时间: 2007-12-03 13:57

#2

帖子 openatone » 2007-12-06 17:21

USB Ubuntu 7.10 条件

Ubuntu7.10 ISO
CD Burner
1GB USB flash drive (2GB+ 推荐)
U710fix.tar   见附件

Ubuntu 7.10 USB 安装准备

提示:可以直接在这里使用复制 粘贴功能来输入命令。在以下的驱动符号X中,用自已的来代替X.

刻录 Ubuntu 7.10 ISO  CD
插入 CD 和U盘
重启在Live CD 状态下
打开一个终端窗口 输入  sudo su
输入 fdisk -l 显示磁盘分区,看你的U盘是那个盘 (example: /dev/sda) 下面以这个为例, 用你的盘符替换X. 例如,你的盘符是SDB 就把X换成B.
输入 umount /dev/sdx1
输入 fdisk /dev/sdx
输入 p to show the existing partition and d to delete it
输入 p again to show any remaining partitions (if partitions exist, repeat the previous step)
输入 n to make a new partition
输入 p for primary partition
输入 1 to make this the first partition
hit enter to use the default 1st cylinder
输入 +750M to set the partition size
输入 a to make this partition active
输入 1 to select partition 1
输入 t to change the partition filesystem
输入 6 to select the fat16 file system
输入 n to make another new partition
输入 p for primary partition
输入 2 to make this the second partition
hit enter to use the default cylinder
hit enter again to use the default last cylinder
输入 w to write the new partition table
输入 umount /dev/sdx1 to ensure the 1st partition is unmounted
输入 mkfs.vfat -F 16 -n ubuntu710 /dev/sdx1 to format the first partition
输入 umount /dev/sdx2 just to ensure the 2nd partition is unmounted
输入 mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
Remove and Re-insert your flash drive
Back at the terminal, 输入 apt-get update
输入 apt-get install syslinux mtools

输入 syslinux -sf /dev/sdx1
输入 cd /cdrom
输入 cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/ubuntu710/
Ignore any "cannot create symbolic link" errors


输入 cd /home/ubuntu
输入 wget pendrivelinux.com/downloads/U710fix.zip
输入 unzip -o -d /media/ubuntu710/ U710fix.zip
Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again.
You should now have a USB Ubuntu 7.10 Gutsy Gibbon flash drive that should automatically save your changes, restoring them on boot.

Note: 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 输入 sudo apt-get install lilo then 输入 lilo -M /dev/sdx (replacing x with the letter of your flash device)
wenluzhi
帖子: 4
注册时间: 2007-12-03 22:53

#3

帖子 wenluzhi » 2007-12-06 17:48

受用了 支持一下
头像
fantasy027
帖子: 73
注册时间: 2007-11-17 13:21
联系:

#4

帖子 fantasy027 » 2007-12-07 22:31

这个东西我很需要,不过楼主能详细讲一讲么?
hawkk
帖子: 14
注册时间: 2007-10-19 8:25

#5

帖子 hawkk » 2007-12-08 8:30

这个我也装成功了,不过好像还一点小问题。
头像
windwiny
帖子: 2254
注册时间: 2007-03-13 17:26

#6

帖子 windwiny » 2007-12-08 13:17

听说有个装在4G优盘上的 Mandrive 2008,

看看它是怎么实现 文件系统挂载和 显卡/声卡 检测的
huzi
帖子: 68
注册时间: 2006-06-18 14:13
联系:

#7

帖子 huzi » 2008-04-26 14:43

我按照这个方法装了,但速度太慢太慢了。不知道是怎么回事。
回复