麻烦最新装了9.04的网友发一下你的grub-menu文件?

各种窗口管理器和美化相关
回复
muyufan
帖子: 95
注册时间: 2006-02-14 1:50
联系:

麻烦最新装了9.04的网友发一下你的grub-menu文件?

#1

帖子 muyufan » 2009-06-08 18:46

我的不小心清空了

丢失了window那己行

默认安装完成后系统自动在menu文件里添加了ubuntu和window的启动选项

请注意哈 不是类似这样的写法 是另外一种写发的windows启动参数

代码: 全选

title		Windows 95/98/NT/2000
rootnoverify		(hd0,0)
makeactive
chainloader	+1
是另外一种我以前没见过的写法
头像
daf3707
论坛版主
帖子: 12731
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 麻烦最新装了9.04的网友发一下你的grub-menu文件?

#2

帖子 daf3707 » 2009-06-08 18:56

管他哪种,能引导不就行了 :em20
muyufan
帖子: 95
注册时间: 2006-02-14 1:50
联系:

Re: 麻烦最新装了9.04的网友发一下你的grub-menu文件?

#3

帖子 muyufan » 2009-06-08 21:21

能引导我发帖干嘛 呢

就是这种不能用引导不了 装完系统我看了一眼menu.lst没记住 它怎么设置的

有人用windows吗 麻烦给发一下grub设置

是ubunt自动生成的那个设置
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 麻烦最新装了9.04的网友发一下你的grub-menu文件?

#4

帖子 wangdu2002 » 2009-06-08 21:39

title Ubuntu 9.04, kernel 2.6.28-12-generic
uuid 1cde82f8-ce20-4043-be60-09eb8669f908
kernel /boot/vmlinuz-2.6.28-12-generic root=UUID=1cde82f8-ce20-4043-be60-09eb8669f908 ro quiet splash
initrd /boot/initrd.img-2.6.28-12-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-12-generic (recovery mode)
uuid 1cde82f8-ce20-4043-be60-09eb8669f908
kernel /boot/vmlinuz-2.6.28-12-generic root=UUID=1cde82f8-ce20-4043-be60-09eb8669f908 ro single
initrd /boot/initrd.img-2.6.28-12-generic

title Ubuntu 9.04, memtest86+
uuid 1cde82f8-ce20-4043-be60-09eb8669f908
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Deepin62xp3
rootnoverify (hd0,0)
savedefault
chainloader +1
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
shanliang8008
帖子: 1362
注册时间: 2007-07-16 19:43
来自: tangshan

Re: 麻烦最新装了9.04的网友发一下你的grub-menu文件?

#5

帖子 shanliang8008 » 2009-06-08 21:44

grub4dos de

代码: 全选

# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.

color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies /ntldr
chainloader /ntldr
savedefault --wait=2

title find and load BOOTMGR of Windows VISTA
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2

title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2

title Install Ubuntu 9.10a
root (hd0,0)
kernel (hd0,0)/vmlinuz boot=iso-scan/filename=/ubuntu-9.10-alternate-i386.iso
initrd (hd0,0)/initrd.gz

title Install Ubuntu 9.04
root (hd0,0)
kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-9.04-dvd-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/initrd.gz

title find and load IO.SYS of Windows 9x/Me
fallback 4
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2

title find and boot 0PE.ISO
fallback 5
find --set-root /0PE/0PE.ISO
map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title find and boot MicroPE.ISO
fallback 6
find --set-root /boot/MicroPE.ISO
map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title Parted Magic ISO
fallback 7
find --set-root /pmagic.iso
map /pmagic.iso (0xff) || map --mem /pmagic.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title Ultimate Boot CD ISO
fallback 8
find --set-root /ubcd.iso
map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title commandline
commandline

title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

title back to dos
quit

title reboot
reboot

title halt
halt

title MAXDOS.IMG
find --set-root --ignore-floppies /boot/MAXDOS.IMG
map --mem /boot/MAXDOS.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

头像
allarem
帖子: 1025
注册时间: 2008-05-31 17:27
来自: SUES
联系:

Re: 麻烦最新装了9.04的网友发一下你的grub-menu文件?

#6

帖子 allarem » 2009-06-09 14:39

那个grub有时候确实不知所云,虽然功能太强大了……
lds
帖子: 3
注册时间: 2009-06-11 20:07

Re: 麻烦最新装了9.04的网友发一下你的grub-menu文件?

#7

帖子 lds » 2009-06-12 20:36

我的8.04 也不能启动了
回复