lmh1999 发表于 2005-7-17 02:24:45

NTFS-fs warning

NTFS-fs warning (device hda1): parse_options(): Option iocharset is deprecated.                                                            Please use option nls=<charsetname> in the future.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is inv                                                             alid.
printk: 2 messages suppressed.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is inv                                                             alid.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Mount option errors=recove                                                             r not used. Aborting without trying to recover.
NTFS-fs error (device hda1): ntfs_fill_super(): Not an NTFS volume.

吸血蝙蝠 发表于 2005-7-17 12:21:41

怎么挂载的?

lmh1999 发表于 2005-7-17 15:19:17

mount -t ntfs /dev/hda1 /mmnt/c

月下刀客 发表于 2005-7-17 15:25:30

或mount -t ntfs -o iocharset=utf8 /dev/hda1 /mnt/c

lmh1999 发表于 2005-7-17 16:01:28

# mount -t ntfs -o iocharset=utf8 /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

lmh1999 发表于 2005-7-17 16:03:31

怎么可以把grub 从新安装到MBR覆盖掉原来的,在FC4下...

lmh1999 发表于 2005-7-17 16:05:29

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.096 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(1121615804.881: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, b2:c6:7e:d8:66:c2usbcore: 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 warning (device hda1): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future.
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.

hew 发表于 2005-7-17 16:29:57

写了/etc/fstab的?怎么写的?

lmh1999 发表于 2005-7-17 16:33:17

写了AOTU.MISC

#
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cd                -fstype=iso9660,ro,nosuid,nodev        :/dev/cdrom

# the following entries are samples to pique your imagination
#linux                -ro,soft,intr                ftp.example.org:/pub/linux
#boot                -fstype=ext2                :/dev/hda1
#floppy                -fstype=auto                :/dev/fd0
#floppy                -fstype=ext2                :/dev/fd0
#e2floppy        -fstype=ext2                :/dev/fd0
#jaz                -fstype=ext2                :/dev/sdc1
#removable        -fstype=ext2                :/dev/hdd
c -fstype=ntfs-iocharset=utf8:/dev/hda1
d -fstype=auto-iocharset=utf8:/dev/hda5
e -fstype=ntfs-iocharset=utf8:/dev/hda6
f -fstype=ntfs-iocharset=utf8:/dev/hda7
g -fstype=auto-iocharset=utf8:/dev/hda8
h -fstype=auto-iocharset=utf8:/dev/hda9
i -fstype=auto-iocharset=utf8:/dev/hda10
j -fstype=auto-iocharset=utf8:/dev/hda11
k -fstype=ntfs-iocharset=utf8:/dev/hdc5

月下刀客 发表于 2005-7-17 16:48:47

已经你应该安装ntfs补丁

hew 发表于 2005-7-17 16:57:57

何苦用autofs 服务来做,直接写fstab 不好吗?

lmh1999 发表于 2005-7-17 17:07:09

不用服务做,HDA1一样,MOUNT 不了呀......
其他分区都可以MOUNT ,就C盘MOUNT 不了!!

NTFS补丁已经装了...

# mount -t ntfs -o iocharset=utf8 /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 | tail or so

lmh1999 发表于 2005-7-17 17:08:03

狂晕,我从昨晚弄到现在了..
唉.......................

linky_fan 发表于 2005-7-17 23:06:28


Option iocharset is deprecated. Please use option nls=<charsetname> in the future.


译文: iocharset参数快过时了, 将来可以考虑使用nls=xxx
页: [1]
查看完整版本: NTFS-fs warning