当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 19 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : c盘的winxp用ntfs文件格式,无法恢复双系统引导?
帖子发表于 : 2006-08-12 8:41 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
原安装的是双系统,XP与Ubuntu 6.06 LTS ,系统重安装winxp在C盘,文件格式是ntfs ; 现在双系统引导菜单出不来了。用楼上的教程多种方法无法恢复。是否c盘的winxp用ntfs文件格式就无法恢复双引导啊?有办法让双系统引导菜单出来吗?


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-08-12 9:37 

注册: 2006-08-01 11:12
帖子: 33
送出感谢: 0 次
接收感谢: 0 次
可以用你的livecd重装grub啊


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2006-08-12 10:00 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
oink 写道:
可以用你的livecd重装grub啊

装不进去呀,你是怎么装进去的?


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2006-08-12 22:07 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
是不是xp用了ntfs文件系统就无法正确挂载grub?那位高手指点一下?


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2006-08-13 11:04 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ 7 HPFS/NTFS
/dev/hda2 1021 4865 30884962+ f W95 Ext'd (LBA)
/dev/hda5 1021 2699 13486536 b W95 FAT32
/dev/hda6 2700 3457 6088603+ b W95 FAT32
/dev/hda7 3458 4485 8257378+ 83 Linux
/dev/hda8 4486 4769 2281198+ 83 Linux
/dev/hda9 4770 4865 771088+ 82 Linux swap / Solaris
ubuntu@ubuntu:~$






GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub>


grub> find /grub/stage1

Error 15: File not found

grub>

rub> root (hd0,7)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no

Error 15: File not found


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2006-08-13 16:30 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
grub> root (hd0,
Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 4, Filesystem type is fat, partition type 0xb
Partition num: 5, Filesystem type is fat, partition type 0xb
Partition num: 6, Filesystem type is ext2fs, partition type 0x83
Partition num: 7, Filesystem type is ext2fs, partition type 0x83
Partition num: 8, Filesystem type unknown, partition type 0x82

grub> root (hd0,6)
Filesystem type is ext2fs, partition type 0x83

grub> find(hd0,6)/grub/stage1

Error 27: Unrecognized command


grub> setup(hd0)

Error 27: Unrecognized command

grub> setup (hd0,6)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0,6)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,6)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0,6) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
Done.

grub>


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2006-08-13 16:52 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 4, Filesystem type is fat, partition type 0xb
Partition num: 5, Filesystem type is fat, partition type 0xb
Partition num: 6, Filesystem type is ext2fs, partition type 0x83
Partition num: 7, Filesystem type is ext2fs, partition type 0x83
Partition num: 8, Filesystem type unknown, partition type 0x82

grub> root (hd0,6)/grub/stage2
Filesystem type is ext2fs, partition type 0x83

grub> root (hd0,6).grub.stage1
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,6)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

grub>


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2006-08-14 1:52 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
有双系统引导了,可是,还是进不了ubuntu系统。


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2006-08-14 13:33 

注册: 2006-08-14 13:26
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
你好!我碰到的问题,跟随你一样,不知道你解决了没有呢?
如果解决的话,告诉我解决的方法.谢谢


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2006-08-14 23:35 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
$sudo vim /vim /etc/fstab

unionfs / unionfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/hda9 swap swap defaults 0 0
~
~
~
~
~
~
"/etc/fstab" 3L, 92C 1,1 All

===========================================


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2006-08-14 23:44 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
find(hd0,6)/grub/stage1

Error 27: Unrecognized command


grub> setup(hd0)

Error 27: Unrecognized command
看到没空格。
fstab有置顶的帖子参考。
grub的引导版本注意检查


_________________
● 鸣学


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2006-08-15 0:57 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2006-08-15 1:21 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda8 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true


页首
 用户资料  
 
14 楼 
 文章标题 :
帖子发表于 : 2006-08-15 1:23 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title Ubuntu, kernel 2.6.15-26-686
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-26-686 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-686
savedefault
boot

title Ubuntu, kernel 2.6.15-26-686 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-26-686 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.15-26-686
boot

title Ubuntu, kernel 2.6.15-23-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
savedefault
boot

title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.15-23-386
boot

title Ubuntu, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the mt - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.


页首
 用户资料  
 
15 楼 
 文章标题 :
帖子发表于 : 2006-08-15 1:24 

注册: 2005-12-18 23:17
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
"new/boot/grub/menu.lst" [readonly] 157L, 4362C 1,1 Top

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 19 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译