当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 9 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求助 引导
帖子发表于 : 2010-11-02 12:35 
头像

注册: 2007-10-27 8:25
帖子: 63
送出感谢: 1
接收感谢: 0 次
原为XP和win7,现用 ubuntu光盘直接把win7给格了,装上ubuntu,但是现在引导不了XP了,麻烦各位了,急!!谢谢


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求助 引导
帖子发表于 : 2010-11-02 12:38 
头像

注册: 2008-12-13 15:03
帖子: 395
送出感谢: 0 次
接收感谢: 1
你把xp的引导也一并格掉了。

因为7把xp的引导给接管了,7又被你格了。


_________________
一条狗的马甲!
对不起,我承认我是一只穿着马甲的狗!


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 求助 引导
帖子发表于 : 2010-11-02 12:46 
头像

注册: 2007-10-27 8:25
帖子: 63
送出感谢: 1
接收感谢: 0 次
请问那有没有办法找回来了?怎么实现双系统


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 求助 引导
帖子发表于 : 2010-11-02 13:17 
头像

注册: 2009-09-06 5:53
帖子: 4666
送出感谢: 6
接收感谢: 110
http://sourceforge.net/projects/bootinfoscript/
把文件先复制到桌面,终端运行:
代码:
sudo bash ~/桌面/boot_info_script055.sh

把RESULTS.txt文件内容贴上来。


_________________
电子书下载:
鸟哥的Linux私房菜 基础学习篇 第三版 pdf
鸟哥的Linux私房菜 服务器架设篇 第三版 pdf


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 求助 引导
帖子发表于 : 2010-11-02 13:44 
头像

注册: 2007-10-27 8:25
帖子: 63
送出感谢: 1
接收感谢: 0 次
Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs:

sda2: _________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files/dirs:

sdb1: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb2: _________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sdb5: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sdb5 starts
at sector 63.
Operating System:
Boot files/dirs:

sdb6: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sdb6 starts
at sector 63.
Operating System:
Boot files/dirs:

sdb7: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 120.0 GB, 120034123776 bytes
240 heads, 63 sectors/track, 15505 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 102,407,759 102,407,697 7 HPFS/NTFS
/dev/sda2 102,407,760 234,435,599 132,027,840 f W95 Ext d (LBA)
/dev/sda5 102,407,823 234,435,599 132,027,777 7 HPFS/NTFS


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 2,048 108,736,511 108,734,464 83 Linux
/dev/sdb2 108,738,558 976,767,119 868,028,562 f W95 Ext d (LBA)
/dev/sdb5 112,644,063 542,732,399 430,088,337 7 HPFS/NTFS
/dev/sdb6 542,732,463 976,767,119 434,034,657 7 HPFS/NTFS
/dev/sdb7 108,738,560 112,642,047 3,903,488 82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 00A0EAC6A0EAC170 ntfs
/dev/sda2: PTTYPE="dos"
/dev/sda5 F6A8FF8DA8FF4A9F ntfs
/dev/sda: PTTYPE="dos"
/dev/sdb1 87377f2b-9e6b-48ad-a23a-0a08803ada1e ext4
/dev/sdb2: PTTYPE="dos"
/dev/sdb5 70DCC1AEDCC16EC2 ntfs
/dev/sdb6 6814D5C714D59880 ntfs
/dev/sdb7 b3a84dbc-dd3b-4300-a25a-9152735abbf2 swap
/dev/sdb: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sdb1 / ext4 (rw,errors=remount-ro)


=========================== sdb1/boot/grub/grub.cfg: ===========================

#
# 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 ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 87377f2b-9e6b-48ad-a23a-0a08803ada1e
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
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 87377f2b-9e6b-48ad-a23a-0a08803ada1e
set locale_dir=($root)/boot/grub/locale
set lang=zh
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

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

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu,Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 87377f2b-9e6b-48ad-a23a-0a08803ada1e
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=87377f2b-9e6b-48ad-a23a-0a08803ada1e ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu,Linux 2.6.32-25-generic (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 87377f2b-9e6b-48ad-a23a-0a08803ada1e
echo '载入 Linux ...'
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=87377f2b-9e6b-48ad-a23a-0a08803ada1e ro single
echo '载入引导虚拟磁盘 ...'
initrd /boot/initrd.img-2.6.32-25-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 87377f2b-9e6b-48ad-a23a-0a08803ada1e
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 87377f2b-9e6b-48ad-a23a-0a08803ada1e
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### 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 ###

=============================== sdb1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sdb1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb7 during installation
UUID=b3a84dbc-dd3b-4300-a25a-9152735abbf2 none swap sw 0 0

=================== sdb1: Location of files loaded by Grub: ===================


2.3GB: boot/grub/core.img
4.4GB: boot/grub/grub.cfg
2.3GB: boot/initrd.img-2.6.32-25-generic
2.3GB: boot/vmlinuz-2.6.32-25-generic
2.3GB: initrd.img
2.3GB: vmlinuz


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 求助 引导
帖子发表于 : 2010-11-02 13:45 
头像

注册: 2007-10-27 8:25
帖子: 63
送出感谢: 1
接收感谢: 0 次
你好麻烦帮帮忙谢谢


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 求助 引导
帖子发表于 : 2010-11-02 14:06 
头像

注册: 2009-09-06 5:53
帖子: 4666
送出感谢: 6
接收感谢: 110
引用:
sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs:

如果xp在第一分区sda1,找台安装xp的电脑,复制这几个文件到c:\试试:ntldr、boot.ini、ntdetect.com、bootfont.bin。
不是就悲剧了。


_________________
电子书下载:
鸟哥的Linux私房菜 基础学习篇 第三版 pdf
鸟哥的Linux私房菜 服务器架设篇 第三版 pdf


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 求助 引导
帖子发表于 : 2010-11-02 15:53 
头像

注册: 2007-10-27 8:25
帖子: 63
送出感谢: 1
接收感谢: 0 次
试了不好使真是麻烦亚,悲剧


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 求助 引导
帖子发表于 : 2010-11-03 16:41 

注册: 2009-06-17 20:47
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
sudo update-grub


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 9 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

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


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

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

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