root (hd0,0)
chainloader +1
boot
BOOT后,什么都没有显示,就跳回默认选择FC4的计时界面,
grub>root (hd0,0)
filesystem type unknown, partition type 0x7
grub>chainloader +1
什么都没有显示.
原来XP是可以启动的. :?::?::?: 用grub>rootnoverify(hd0,0)
就不会出现 filesystem type unknown, partition type 0x7
grub>makeactive
grub>chainloader +1
grub>boot
打入以上,都没出现任何错误信息,不过,BOOT后还是回到原来的选择界面.
难道XP的引导程序有误? grub>root(hd0,0)
grub>makeactive
grub>chainloader (hd0,0)+1
grub>boot
试试
ps.你这样安装grub不够合理,第一个盘的mbr安装grub,而linux的/boot又在另一盘。当然,按理是可以启动的。 mount -t ntfs /dev/hda1 /mnt/c
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tailor so
进LINUX 下,无法MOUNT /DEV/HDA1 (NTFS)
却可以 MOUNT 其他的NTFS 分区,(我已经装了NTFS的RPM包)
Device Boot Start End Blocks IdSystem
/dev/hda1 * 1 383 3076416 7HPFS/NTFS
/dev/hda2 384 4865 36001665 fW95 Ext'd (LBA)
/dev/hda5 384 1148 6144831 bW95 FAT32
/dev/hda6 1149 1785 5116671 7HPFS/NTFS
/dev/hda7 1786 2423 5124703+ 7HPFS/NTFS
/dev/hda8 2424 3188 6144831 bW95 FAT32
/dev/hda9 3189 3953 6144831 bW95 FAT32
/dev/hda10 3954 4335 3068383+ 7HPFS/NTFS
/dev/hda11 4336 4865 4257193+ bW95 FAT32
Disk /dev/hdc: 15.0 GB, 15000330240 bytes
255 heads, 63 sectors/track, 1823 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks IdSystem
/dev/hdc1 2 1823 14635215 fW95 Ext'd (LBA)
/dev/hdc5 2 1033 8289508+ 7HPFS/NTFS
root>dmesg
Linux version 2.6.12-1.1398_FC4 ([email protected]) (gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Fri Jul 15 00:52:32 EDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 65520
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 61424 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 VIA694 ) @ 0x000f78b0
ACPI: RSDT (v001 VIA694 MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3000
ACPI: FADT (v001 VIA694 MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3040
ACPI: DSDT (v001 VIA694 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: PM-Timer IO Port: 0x4008
Allocating PCI resources starting at 10000000 (gap: 10000000:efff0000)
Built 1 zonelists
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Initializing CPU#0
CPU 0 irqstacks, hard=c0454000 soft=c0453000
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 1004.618 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 253496k/262080k available (2508k kernel code, 7892k reserved, 684k data, 184k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1990.65 BogoMIPS (lpj=995328)
Security Framework v1.0.0 initialized
SELinux:Initializing.
SELinux:Starting in permissive mode
selinux_register_security:Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0183f1ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0800 (from 0e00)
checking if image is initramfs... it is
Freeing initrd memory: 1666k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb180, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 1 3 4 5 6 7 10 11 12 14 15) *9
ACPI: PCI Interrupt Link (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".If it helps, post a report
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1121612581.933:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 57652F2F3358E32D
- User ID: Red Hat, Inc. (Kernel Module GPG key)
Applying VIA southbridge workaround.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
agpgart: AGP aperture is 64M @ 0xd8000000
PNP: PS/2 Controller at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
PCI: Via IRQ fixup for 0000:00:07.1, from 255 to 0
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: WDC WD400AB-00BVA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: Maxtor 2R015H1, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
hdc: max request size: 128KiB
hdc: 29297520 sectors (15000 MB) w/2048KiB Cache, CHS=29065/16/63, UDMA(100)
hdc: cache flushes not supported
hdc: hdc1 < hdc5 hdc6 hdc7 >
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 458752 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI wakeup devices:
SLPB PCI0 USB0 USB1 MODM UAR1 UAR2 ECP1
ACPI: (supports S0 S3 S4 S5)
Freeing unused kernel memory: 184k freed
input: AT Translated Set 2 keyboard on isa0060/serio0
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: [email protected]
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
kjournald starting.Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
security:3 users, 6 roles, 824 types, 94 bools
security:55 classes, 194632 rules
SELinux:Completing initialization.
SELinux:Setting up existing superblocks.
SELinux: initialized (dev dm-0, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), not configured for labeling
SELinux: initialized (dev hugetlbfs, type hugetlbfs), not configured for labeling
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev eventpollfs, type eventpollfs), uses genfs_contexts
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
FDC 0 is a post-1991 82077
ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
http://www.scyld.com/network/ne2k-pci.html
ACPI: PCI Interrupt Link enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:0e.0 -> Link -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL-8029 found at 0xec00, IRQ 11, 52:54:AB:4D:B0:BD.
ACPI: PCI Interrupt 0000:00:07.5 -> Link -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x378
parport0: PC-style at 0x378 (0x778), irq 7
parport_pc: VIA parallel port: io=0x378, irq=7
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.12 loaded
ACPI: PCI Interrupt Link enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0 -> Link -> GSI 10 (level, low) -> IRQ 10
saa7130: found at 0000:00:09.0, rev: 1, irq: 10, latency: 32, mmio: 0xdf000000
saa7130: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130)
saa7130: board init: gpio is 38500
saa7130: Huh, no eeprom present (err=-5)?
tuner 0-0061: chip found @ 0xc2 (saa7130)
tuner 0-0061: type set to 17 (Philips NTSC_M (MK2))
saa7130: registered device video0
saa7130: registered device vbi0
saa7130: registered device radio0
USB Universal Host Controller Interface driver v2.2
SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
ACPI: PCI Interrupt Link enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:07.2 -> Link -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 10, io base 0x0000d400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3 -> Link -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 10, io base 0x0000d800
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: new full speed USB device using uhci_hcd and address 2
SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts
usb0: register usbnet at usb-0000:00:07.3-2, Genesys GeneLink, 56:cd:a4:34:0b:deusbcore: registered new driver usbnet
ACPI: Power Button (FF)
ACPI: Sleep Button (CM)
ibm_acpi: ec object not found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3 FS on dm-0, internal journal
kjournald starting.Commit interval 5 seconds
EXT3 FS on hdc6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hdc6, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Adding 524280k swap on /dev/VolGroup00/LogVol01.Priority:-1 extents:1
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 272 bytes per conntrack
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
Bluetooth: Core ver 2.7
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.7
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.5
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
lp0: using parport0 (interrupt-driven).
lp0: console ready
application mixer_applet2 uses obsolete OSS audio interface
NTFS driver 2.1.22 .
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda1): ntfs_fill_super(): Not an NTFS volume. 我用XP 的安装盘修复XP 安装的时候,在显示分区列表时,hda1(即C盘)是UNKONW 的!
其他分区却没问题,在LINUX下FDISK -L 可以正常显示,HDA1是NTFS 却无法MOUNT,其他的NTFS分区却可以MOUNT.
root>dmesg
NTFS driver 2.1.22 .
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda1): ntfs_fill_super(): Not an NTFS volume.
我用XP 的安装盘,格式化C(ntfs),修复XP 后(FIXMBR),把GRUB for dos (论坛上最新版)解压到C盘.按照精华贴中的方法,在BOOT.INI中加入GRUB,
然后grub>root (hd1,5)
grub>setup (hd0,0)
grub>kernel /vmli-------
grub>initrd /boot--------------.img
grub>boot
成功恢复GRUB菜单,进入FC4
但是又进不了XP ,一样,MOUNT不了C盘,其他盘却可以.
怀疑GRUB装在MBR时,修改了C盘的参数.....................
导致C盘损坏............
狂晕..........
各位老大..帮帮忙.......
页:
1
[2]