Pridanie noveho oddielu a particie (Freebsd 5.3)

Juris, Maros {PGID~Kaiseraugst} maros.juris at roche.com
Mon Jan 17 11:28:47 CET 2005


Dobry den,

Chcem vas poprosit o radu, pokusam sa namountovat cerstvo vytvorenu
particiu a stale mi to pise "Incorrect superblock". Novy oddiel a particiu
som vytvaral z bootovacieho CD (sysinstall) a filesystem je UFS2, u 5.3 je 
urceny ako default. Pokial tou istou cestou vytvorim iny filesystem (skusal som FAT)
vseko sa chova tak ako ma.

System je FreeBSD 5.3, Dual-boot cez Windowsieho boot managera (prvy oddiel je dedikovany pre windows)
Aktualny stav diskov (problemova je particia 3):
------------------------------------------------------------------------------------------------------
# fdisk
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=39813 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=39813 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 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 63, size 10233342 (4996 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 2/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 10233405, size 10239075 (4999 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 15/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 20472480, size 8191008 (3999 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 15/ sector 63
The data for partition 4 is:
<UNUSED>
------------------------------------------------------------------------------------------------------
BSDLabel na novovytvoreny oddiel:
# bsdlabel /dev/ad0s3
# /dev/ad0s3:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  8191008        0    unused        0     0         # "raw" part, don't edit
  d:  8191008        0    4.2BSD        0     0     0
------------------------------------------------------------------------------------------------------
FSCK na novovytvorenu particiu:
# fsck /dev/ad0s3d
** /dev/ad0s3d
Cannot find file system superblock
/dev/ad0s3d: INCOMPLETE LABEL: type 4.2BSD fsize 0, frag 0, cpg 0, size 8191008
------------------------------------------------------------------------------------------------------
# mount -t ufs /dev/ad0s3d /opt
mount: /dev/ad0s3d on /opt: incorrect super block
------------------------------------------------------------------------------------------------------
# mount
/dev/ad0s2a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s2e on /tmp (ufs, local, soft-updates)
/dev/ad0s2f on /usr (ufs, local, soft-updates)
/dev/ad0s2d on /var (ufs, local, soft-updates)
------------------------------------------------------------------------------------------------------

Po styroch hodinach Googlovania budem vdacny za akekolvek nakopnutie spravnym smerom :o)

Maroš Juriš




More information about the Users-l mailing list