谁来帮个忙----把/boot/下面的文件给我传下

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

谁来帮个忙----把/boot/下面的文件给我传下

#1

帖子 phallic » 2009-09-19 21:33

谁来帮个忙----把/boot/下面的文件给我传下,我刚用wubi装的,这个目录下面竟然是空的,我实在无语,当然也没法启动,内核是2.6.31-9,grub.cfg这个文件我以前备份的有。哎。如果附件传不了的话,发到我邮箱里吧:leroy_0912@hotmail.com.先谢了。坐等...........................................
上次由 phallic 在 2009-09-20 16:09,总共编辑 1 次。
phallic
帖子: 74
注册时间: 2008-03-24 21:15

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#2

帖子 phallic » 2009-09-19 23:05

自己顶!
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#3

帖子 wangdu2002 » 2009-09-19 23:09

某的新910的Grub.cfg就给了你吧。 :em04
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
load_env
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set 2d61e5f9-1d2a-4167-a6f1-b991ba00878b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set timeout=10
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-10-generic" {
set quiet=1
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set 2d61e5f9-1d2a-4167-a6f1-b991ba00878b
linux /boot/vmlinuz-2.6.31-10-generic root=UUID=2d61e5f9-1d2a-4167-a6f1-b991ba00878b ro quiet splash
initrd /boot/initrd.img-2.6.31-10-generic
}
menuentry "Ubuntu, Linux 2.6.31-10-generic (recovery mode)" {
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set 2d61e5f9-1d2a-4167-a6f1-b991ba00878b
linux /boot/vmlinuz-2.6.31-10-generic root=UUID=2d61e5f9-1d2a-4167-a6f1-b991ba00878b ro single
initrd /boot/initrd.img-2.6.31-10-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_otheros ###

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
menuentry "Microsoft Windows XP Professional" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set e852-230b
drivemap -s (hd0) $root
chainloader +1
}
### END /etc/grub.d/30_otheros ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
missing
帖子: 1470
注册时间: 2008-03-28 20:52
系统: QNX

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#4

帖子 missing » 2009-09-19 23:10

给你你什么弄进去?
missing is i missing you...
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#5

帖子 wangdu2002 » 2009-09-19 23:18

sudo chmod 777 /etc/grub/grub.cfg :em04
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
phallic
帖子: 74
注册时间: 2008-03-24 21:15

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#6

帖子 phallic » 2009-09-19 23:35

wubi装的,这些文件在NTFS分区上,windows下就可以查看,grub.cfg我有,就是没有内核等其他的东西,wubi安的grub.cfg写法不一样的。
头像
missing
帖子: 1470
注册时间: 2008-03-28 20:52
系统: QNX

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#7

帖子 missing » 2009-09-19 23:41

不是吧?你wubi安装在win可以看/boot/grub?
missing is i missing you...
phallic
帖子: 74
注册时间: 2008-03-24 21:15

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#8

帖子 phallic » 2009-09-19 23:45

其实不完全是/boot/grub,而是/ubuntu/disks/boot/grub(windows下看).wubi不是虚拟的磁盘吗,它把这个位置挂载在/boot/grub上(linux)
头像
missing
帖子: 1470
注册时间: 2008-03-28 20:52
系统: QNX

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#9

帖子 missing » 2009-09-20 0:04

你这个怪怪的,感觉没装上吧?wubi装好win下只能看到*.disk单个文件吧?
missing is i missing you...
phallic
帖子: 74
注册时间: 2008-03-24 21:15

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#10

帖子 phallic » 2009-09-20 4:30

一点不怪,从来就是那样的,我一般都是wubi装的,因为没有更多分区了。
hiandhello
帖子: 23
注册时间: 2009-09-09 11:21

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#11

帖子 hiandhello » 2009-09-20 11:12

我的也是wubi安装后,找不到grub.cfg,不能进入系统!
hiandhello
帖子: 23
注册时间: 2009-09-09 11:21

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#12

帖子 hiandhello » 2009-09-20 11:13

我的也是wubi安装后,找不到grub.cfg,不能进入系统!
phallic
帖子: 74
注册时间: 2008-03-24 21:15

Re: 谁来帮个忙----把/boot/grub下面的文件给我传下

#13

帖子 phallic » 2009-09-20 16:07

好像我说错了,是/boot下面是空的,生成的内核是没有的
回复