新年礼物,ubuntu710最精简版 50多M的U盘系统
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 43
- 注册时间: 2008-02-18 20:11
- yaska
- 帖子: 1169
- 注册时间: 2007-10-28 21:35
这个系统是精简的ubuntu,没有包管理. 大部分软件都是以ro的形式加进去的.. ro包需要自己定制.键盘上的舞者 写了:麻烦您了.yaska 写了:把syslinux.cfg贴上来... 我帮你改
ubuntu下用什么CG软件??? slax上没有吗??
INCLUDE /boot/slax.cfg
就上面这一句呢.
我的笔记本运行slax,播放视频,会偏色呢.应该是驱动不好,而ubuntu就不会.
主要在linux中使用NUKE,FUSION,C4D等呢.
感谢.
这个系统可以很好的在移动设备运行,但是在功能方面可能不适合你的需求.
by the way.. 可以把bootinst 传上来吗???
-
- 帖子: 43
- 注册时间: 2008-02-18 20:11
嗯。我现在想把系统启动起来就好。yaska 写了:这个系统是精简的ubuntu,没有包管理. 大部分软件都是以ro的形式加进去的.. ro包需要自己定制.键盘上的舞者 写了:麻烦您了.yaska 写了:把syslinux.cfg贴上来... 我帮你改
ubuntu下用什么CG软件??? slax上没有吗??
INCLUDE /boot/slax.cfg
就上面这一句呢.
我的笔记本运行slax,播放视频,会偏色呢.应该是驱动不好,而ubuntu就不会.
主要在linux中使用NUKE,FUSION,C4D等呢.
感谢.
这个系统可以很好的在移动设备运行,但是在功能方面可能不适合你的需求.
by the way.. 可以把bootinst 传上来吗???
感谢您的解答。
#!/bin/bash
set -e
TARGET=""
MBR=""
# Find out which partition or disk are we using
MYMNT=$(cd -P $(dirname $0) ; pwd)
while [ "$MYMNT" != "" -a "$MYMNT" != "." -a "$MYMNT" != "/" ]; do
TARGET=$(egrep "[^[:space:]]+[[:space:]]+$MYMNT[[:space:]]+" /proc/mounts | cut -d " " -f 1)
if [ "$TARGET" != "" ]; then break; fi
MYMNT=$(dirname "$MYMNT")
done
if [ "$TARGET" = "" ]; then
echo "Can't find device to install to."
echo "Make sure you run this script from a mounted device."
exit 1
fi
MBR=$(echo "$TARGET" | sed -r "s/[0-9]+\$//g")
NUM=${TARGET:${#MBR}}
cd "$MYMNT"
clear
echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
echo " Welcome to Slax boot installer "
echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
echo
echo "This installer will setup disk $TARGET to boot only Slax."
if [ "$MBR" != "$TARGET" ]; then
echo
echo "Warning! Master boot record (MBR) of $MBR will be overwritten."
echo "If you use $MBR to boot any existing operating system, it will not work"
echo "anymore. Only Slax will boot from this device. Be careful!"
fi
echo
echo "Press any key to continue, or Ctrl+C to abort..."
read junk
clear
echo "Flushing filesystem buffers, this may take a while..."
sync
# setup MBR if the device is not in superfloppy format
if [ "$MBR" != "$TARGET" ]; then
echo "Setting up MBR on $MBR..."
./boot/syslinux/lilo -S /dev/null -M $MBR ext # this must be here to support -A for extended partitions
echo "Activating partition $TARGET..."
./boot/syslinux/lilo -S /dev/null -A $MBR $NUM
echo "Updating MBR on $MBR..." # this must be here because LILO mbr is bad. mbr.bin is from syslinux
cat ./boot/syslinux/mbr.bin > $MBR
fi
echo "Setting up boot record for $TARGET..."
./boot/syslinux/syslinux -d boot/syslinux $TARGET
echo "Disk $TARGET should be bootable now. Installation finished."
echo
echo "Read the information above and then press any key to exit..."
read junk
-
- 帖子: 43
- 注册时间: 2008-02-18 20:11
好像找到问题的原因了。换了个grub4dos-0.4.3-chs版本的,启动了。可是提示我的分区不对。
请问,menu.lst这样编辑对吗?我的电脑就是一块硬盘。U盘是sdb。
title Prayaya LiveSystem
root (hd0,0)
kernel (hd0,0)/prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
initrd (hd0,0)/prayaya-files/initrd.img
boot
请问,menu.lst这样编辑对吗?我的电脑就是一块硬盘。U盘是sdb。
title Prayaya LiveSystem
root (hd0,0)
kernel (hd0,0)/prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
initrd (hd0,0)/prayaya-files/initrd.img
boot
-
- 帖子: 43
- 注册时间: 2008-02-18 20:11
启动后看见了选择菜单,回车后,要么提示找不到文件,要不说分区的type不对。
我想应该是menu.lst不对。我是按照你的这个搞得。这个menu.lsi的内容是:
title Prayaya LiveSystem
root (hd0,0)
kernel (hd0,0)/prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
initrd (hd0,0)/prayaya-files/initrd.img
boot
我的电脑是一块硬盘4个分区。U盘是4G的,全部化为一个分区。
请帮忙。
我想应该是menu.lst不对。我是按照你的这个搞得。这个menu.lsi的内容是:
title Prayaya LiveSystem
root (hd0,0)
kernel (hd0,0)/prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
initrd (hd0,0)/prayaya-files/initrd.img
boot
我的电脑是一块硬盘4个分区。U盘是4G的,全部化为一个分区。
请帮忙。
- yaska
- 帖子: 1169
- 注册时间: 2007-10-28 21:35
快接近成功了,试试改成这样。。
title Prayaya LiveSystem
find --set-root /prayaya-files/initrd.img
kernel /prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
initrd /prayaya-files/initrd.img
boot
硬盘是sata?
如果是提示文件找不到, 用grub的命令行check一下:
1. 进入到grub菜单,按“e”进入命令行
2. 输入:
#root(hd
按“Tab”键,会列出设备。 你的情况应该显示hd0和hd1。
3. 输入
#root (hd0,
按“Tab”键,会列出设备的分区,如果只有一个分区就可用判断是hd0是U盘,否则就是硬盘。
4. 假设hd0是U盘。输入:
# root (hd0, 0)
#find /
按“Tab”键,会列出分区上的目录和文件,确认有/prayaya-files/目录。
最后根据第四步的root (hd*,*),改一下menu.lst.
title Prayaya LiveSystem
find --set-root /prayaya-files/initrd.img
kernel /prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
initrd /prayaya-files/initrd.img
boot
硬盘是sata?
如果是提示文件找不到, 用grub的命令行check一下:
1. 进入到grub菜单,按“e”进入命令行
2. 输入:
#root(hd
按“Tab”键,会列出设备。 你的情况应该显示hd0和hd1。
3. 输入
#root (hd0,
按“Tab”键,会列出设备的分区,如果只有一个分区就可用判断是hd0是U盘,否则就是硬盘。
4. 假设hd0是U盘。输入:
# root (hd0, 0)
#find /
按“Tab”键,会列出分区上的目录和文件,确认有/prayaya-files/目录。
最后根据第四步的root (hd*,*),改一下menu.lst.
上次由 yaska 在 2008-02-20 23:52,总共编辑 1 次。
- yaska
- 帖子: 1169
- 注册时间: 2007-10-28 21:35
echo "This installer will setup disk $TARGET to boot only Slax."
if [ "$MBR" != "$TARGET" ]; then
echo
echo "Warning! Master boot record (MBR) of $MBR will be overwritten."
echo "If you use $MBR to boot any existing operating system, it will not work"
echo "anymore. Only Slax will boot from this device. Be careful!"
fi
注意上面几句
我只知道它用syslinux来启动,细节还要看看
if [ "$MBR" != "$TARGET" ]; then
echo
echo "Warning! Master boot record (MBR) of $MBR will be overwritten."
echo "If you use $MBR to boot any existing operating system, it will not work"
echo "anymore. Only Slax will boot from this device. Be careful!"
fi
注意上面几句
我只知道它用syslinux来启动,细节还要看看
-
- 帖子: 43
- 注册时间: 2008-02-18 20:11
改成上面的后,全屏如下:
Boot "prayaya livesystem"
find --set-root /prayaya-files/initrd.img
(hd0,0)
Filesystem type is fat,partition type 0xc
kernel /prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
error 17:File not found
press any key to continue...
menu.lst是复制您的173楼的内容,没有改动。
我在win xp系统下,查看分区是fat32的,怎么会提示is fat呢?
再次感谢。
Boot "prayaya livesystem"
find --set-root /prayaya-files/initrd.img
(hd0,0)
Filesystem type is fat,partition type 0xc
kernel /prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
error 17:File not found
press any key to continue...
menu.lst是复制您的173楼的内容,没有改动。
我在win xp系统下,查看分区是fat32的,怎么会提示is fat呢?
再次感谢。
- yaska
- 帖子: 1169
- 注册时间: 2007-10-28 21:35
还是error 17:File not found啊..键盘上的舞者 写了:改成上面的后,全屏如下:
Boot "prayaya livesystem"
find --set-root /prayaya-files/initrd.img
(hd0,0)
Filesystem type is fat,partition type 0xc
kernel /prayaya-files/vmlinuz-2.6.22-14-inlsd-generic mode=iso init=/init root=/dev/ram lang=cn dir=/prayaya-files fs_dir=prayaya-files find_ro quiet splash
error 17:File not found
press any key to continue...
menu.lst是复制您的173楼的内容,没有改动。
我在win xp系统下,查看分区是fat32的,怎么会提示is fat呢?
再次感谢。
你确定prayaya-files下面是vmlinuz-2.6.22-14-inlsd-generic吗?