Pridani disku

Michal Varga varga at stonehenge.sk
Wed Aug 25 17:16:16 CEST 2004


man disklabel:

[...]
           dd if=/dev/zero of=/dev/da0 bs=512 count=32
           fdisk -BI da0
           dd if=/dev/zero of=/dev/da0s1 bs=512 count=32
           bsdlabel -w -B da0s1
           bsdlabel -e da0s1

     Completely wipe any prior information on the disk, creating a new
     bootable disk with a DOS partition table containing one slice
     covering the whole disk.  Initialize the label on this slice, then
     edit it. The dd(1) commands are optional, but may be necessary for
     some BIOSes to properly recognize the disk.


On Wed, 2004-08-25 at 17:06, koutek at o-k.cz wrote:
> na dalsi konzoli). Pak v disklabelu udelam partition a pokusim se ji
> namountovat do /mnt, ktere existuje a je prazdne.
>
Partition namountovat nelze, mountovat lze filesystem. Z popisu je
videt, ze v tom case na parititon jeste zadny filesystem neexistuje.


> Nicmene tento proces konci zpravou:
> Error mounting /dev/ad0s1d on /mnt: No such file or directory
> 
Nicmene, tahle chybova hlaska nesedi. Pomohl by vypis vsech pouzitych
prikazu.


> Podotykam, ze ne nespustil newfs a tento pokus shodi i slice vytvoreny v
> predeslem kroku. Disk je opet prazdny.
> 
Tomuhle vubec nerozumim, ale desi me to. Co znamena "shodit slice"?


> Vymena radice/disku nepomohla.
> 
Jiste, menit radic/disk a neznat ani zakladni postup naformatovani disku
je docela zbytecna prace navic (misto toho mohl byt treba cas precist si
zmineny manual k disklabelu)


> napada me, ze bude nekde chyba v sysinstallu, konecne byly hlaseny zmeny
> do currentu, ale ne do 5.2.1
> 
> Bohuzel jsem z comandline utilit nebyl moudry, takze bez sysinstallu disk
> nenastavaim.
> 
Viz zacatek mailu.


> Proto prosim pokud nekdo vite jak se to dela:
> slice na cely disk, partition na cely disk bez zvlastnich flagu, dejte
> vedet at mohu zkusit.
> 
Napsal bych neco o FreeBSD handbooku, ale.. Ale nic.


m.

-- 
Michal Varga <varga at stonehenge.sk>
Stonehenge




More information about the Users-l mailing list