|
|
发表于 2006-9-28 00:41:33
|
显示全部楼层
我没有用你那个版本的,不可你可以试试我的想法。
你可以先考虑启动到 Linux 。把你的需要的 文件发送到邮箱,然后回Windows下将邮箱中的文件取出。有fat / fat32 磁盘分区可直接写入。
还有,如果有 LiveCD 也行的。
***************************
GRUB 启动配置文件
***************************
sles@sles10:~> cat /boot/grub/menu.lst
cat: /boot/grub/menu.lst: 权限不够
sles@sles10:~> su
口令:
sles10:/home/sles # cat /boot/grub/menu.lst
下面的是 menu.lst文件内容:
# Modified by YaST2. Last modification on Tue Sep 5 23:25:11 CST 2006
color white/blue black/light-gray
default 0
timeout 8
# password --md5 ******************** 此处为GRUB密码 用 # 注释掉。不设密码可不要这句话。
# 没特别需要,绿色文字都可以去掉不写。凡是开关打 的一名话都是不被执行的。用来注释(解释)的。
gfxmenu (hd0,9)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 10
root (hd0,9)
kernel /boot/vmlinuz root=/dev/hda10 vga=0x31a resume=/dev/hda9 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: windows 1###
# 这段用来启动第一块硬盘 boot命令省略 (从 MBR引导 可以用 chainload (hd0)+1 表示)
title /dev/hda Disk master
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: windows 2###
# 这一段用来启动第二块硬盘 (从 MBR引导 可以用 chainload (hd1)+1 表示)
title /dev/sda Disk slave
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 10
root (hd0,9)
kernel /boot/vmlinuz root=/dev/hda10 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /boot/initrd
很明显的,分析一下:
vmlinuz 和 initrd 这两个文件都是链接文件。文件大小为0 。
它们指向的是系统中已经安装过的 带有主版本号、次版本号、修改次数等详细信息方式命名的文件。
在Linux中使用
# ls -lsh /boot/
或者
# ls -l /boot
这条命令看以发现
29 lrwxrwxrwx 1 root root 29 2006-09-05 23:23 initrd -> initrd-2.6.16.21-0.15-default
30 lrwxrwxrwx 1 root root 30 2006-09-05 23:23 vmlinuz -> vmlinuz-2.6.16.21-0.15-default
这个 -> 符号就表明了链接文件指向的文件。
还有 链接文件的特点是文件很小,只有30字节左右。 |
|