我这里没有生成 vmlinuz 和 initrd.img 呢,文件夹里只有 squashfs 文件 和 menu.lst ,没记得上面有人提到过这个情况呀!
信息 系统: ubuntu 10.10
U盘启动,使用 syslinux引导
程序输出信息:
ubuntu@ubuntu:~/Downloads$ sudo lub -b
english/chinese?
c
将要备份系统。建议退出其他程序。继续?(y/n)
y
指定一个空目录 (绝对路径) 来存放备份。
可以从 Nautilus 文件管理器拖放目录至此。
可以使用移动硬盘。
如果不指定, 将会存放到 /home/ubuntu/backup-2010.11.20
/cdrom/doc/lub
是否排除 /home 里所有的用户文件? (y/n)
n
是否也排除 /home 里所有的用户配置文件(隐藏文件)? (y/n)
n
是否排除已下载软件包在 /var/cache/apt/archives/ 里的本地缓存 ? (y/n)
y
(高级用户功能)指定其他需要排除的文件/目录, 一行写一个。以空行结束。
可以从 Nautilus 文件管理器拖放至此。
注意程序已经自动排除所有移动设备, windows 分区, 手动挂载的所有设备, /proc, /sys, /tmp 下的文件, wubi 的 /host 内容, 等等。
所以在绝大多数情况下你只需要直接回车就可以了。
如果你排除了重要的系统文件/目录, 不要指望你的备份能够工作。
/cdrom
ls: cannot access /tmp/bind/media/*: No such file or directory
开始备份?(y/n)
y
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /cdrom/doc/lub/backup2010.11.20.squashfs, block size 131072.
[=========================================================-] 103323/103323 100%
Exportable Squashfs 4.0 filesystem, data block size 131072
compressed data, compressed metadata, compressed fragments
duplicates are removed
Filesystem size 787533.21 Kbytes (769.08 Mbytes)
38.59% of uncompressed filesystem size (2040630.71 Kbytes)
Inode table size 1425735 bytes (1392.32 Kbytes)
25.09% of uncompressed inode table size (5682955 bytes)
Directory table size 1386747 bytes (1354.25 Kbytes)
39.64% of uncompressed directory table size (3498036 bytes)
Number of duplicate files found 10094
Number of inodes 146674
Number of files 99044
Number of fragments 6893
Number of symbolic links 31547
Number of device nodes 85
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 15998
Number of ids (unique uids + gids) 32
Number of uids 12
root (0)
man (6)
daemon (1)
couchdb (105)
gdm (113)
lp (7)
hplip (112)
ubuntu (999)
speech-dispatcher (107)
libuuid (100)
syslog (101)
avahi-autoipd (103)
Number of gids 30
root (0)
video (44)
audio (29)
tty (5)
fuse (104)
kmem (15)
disk (6)
daemon (1)
dip (30)
messagebus (105)
couchdb (113)
lp (7)
shadow (42)
ssl-cert (112)
ubuntu (999)
crontab (102)
mail (8)
lpadmin (111)
mlocate (106)
utmp (43)
ssh (107)
games (60)
utempter (116)
staff (50)
libuuid (101)
src (40)
admin (119)
avahi-autoipd (108)
gdm (120)
adm (4)
cp: cannot stat `/boot/initrd.img-2.6.35-22-generic': No such file or directory
cp: cannot stat `/boot/vmlinuz-2.6.35-22-generic': No such file or directory
已备份至 /cdrom/doc/lub。请阅读里面的 menu.lst
开始于: Sat Nov 20 09:00:16 UTC 2010
结束于: Sat Nov 20 09:03:41 UTC 2010
###################################################
中间只有ls: cannot access /tmp/bind/media/*: No such file or directory 这一处异常,但是看起来不像是大问题,我当时以为是说没有检测到移动设备,所以没在意。现在想想应该也不是这里的问题。
请问是 billbear 兄修改了脚本,和上面大家讨论的不一样了,还是因为 liveusb的问题,我记得好像见到billbear兄说不推荐在 livecd ,liveusb上使用。
另外,没有这两个文件影响吗?我的U盘里有这两个文件,是当初用 unversial-usb-installer 这个软件制作U盘启动盘时U盘里就有的。还有系统盘里应该也会有的吧。都是 10.10的,能通用吗?
####
晕,我太粗心了,刚刚看发过的帖子才发现有最后两行错误,
cp: cannot stat `/boot/initrd.img-2.6.35-22-generic': No such file or directory
cp: cannot stat `/boot/vmlinuz-2.6.35-22-generic': No such file or directory
看来这个脚本是从 /boot 目录复制上面所说的这两个文件了,那么说还是原来的文件?安装个程序什么的不至于修改了这些个内核什么的东西了吧,应该是的。那我放U盘里启动一下试试
另外我的/boot 目录似乎多了点东西,以前记得只有 grub一个文件夹,当然也有可能是我记错了,现在有
abi-2.6.35-22-generic
config-2.6.35-22-generic
memtest86+.bin
memtest86+_multiboot.bin
System.map-2.6.35-22-generic
vmcoreinfo-2.6.35-22-generic
这几个文件和grub文件夹,文件夹中只有一个 grubenv文件