Тема: freebsd mount /dev
Показать сообщение отдельно
Старый 12.03.2009, 06:27   #5
Участник заблокирован
 
Регистрация: 12.03.2009
Сообщений: 0

Репутация: -8
По умолчанию

Цитата:
Сообщение от Jujo Посмотреть сообщение
1. напусти fsck с ключом -y на девайс и давай вывод.
2. что у тебя в /etc/fstab?
Код:
# fsck -y ad2s1
fsck: Could not determine filesystem type
#
Код:
# more /etc/fstab
# Device                Mountpoint      FStype  Options     Dump    Pass#
/dev/ad0s1b             none            swap      sw              0       0
/dev/ad0s1a             /                 ufs         rw              1       1
/dev/ad0s1e             /usr             ufs         rw              2       2
/dev/ad0s1d             /var             ufs         rw              2       2
/dev/acd0                /cdrom         cd9660    ro,noauto     0       0
# /dev/ad2s1           /mnt/ad2    ntfs-3g    rw              0       0
если последнюю строку раскомментировать то не грузится система и выдает следующую ошибку:

Код:
# mount -t ntfs-3g /dev/ad2s1 /mnt/ad2
NTFS signature is missing.
Failed to mount '/dev/ad2s1': Invalid argument
The device '/dev/ad2s1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

=========

Код:
# fdisk /dev/ad2
******* Working on device /dev/ad2 *******
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 312576642 (152625 Meg), flag 80 (active)
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

Последний раз редактировалось sysgod; 12.03.2009 в 06:43.
sysgod вне форума   Ответить /