Re^2: fdformat
Christos Ricudis
ricudis at fido.paiko.gr
Thu Jan 22 12:33:06 EET 1998
Hello Linux-greek-users!
Linux-greek-users wrote to Christos Ricudis about "Re: fdformat":
>> Akribws ayto 8a pei, oti den orizetai file system. To format
>> ginetai panta se 2 stadia - low kai high level. Aplws to format
>> toy DOS kanei kai ta dyo stadia se ena perasma.
L> Kai ti e3uphretei to ena kai to allo format?
To low level format "morfopoiei" th disketa se tracks, sectors, ktl ktl (oles
oi disketes apo to 1900 kai meta htan soft sectored).
To high level format ftiaxnei filesystem.
>> Ax agori moy, se ligw 8a me kaneis na zhleyw ton pj :>. De
>> grafeis to kernel sth disketa san arxeio bre UFO, to grafeis
>> panta kai mono san image...
L> Bre riduini, to bootdisk-HOWTO leei kai cp /vmlinuz /dev/fd0 8a
L> doulecei. Auta mhn t ales se mena..se auton pou to egrace :-).
Se sena ta lew giati eisai UFO :^).
Otan kaneis :
cp file /dev/fd0
stelneis to arxeio sto device /dev/fd0 poy einai to drive - grafeis sth disketa
to file BYTE PROS BYTE. DHLADH - STHN ARXH TOY PRWTOY SECTOR PRWTO TRACK
BRISKETAI TO PRWTO BYTE TOY file, AMESWS META BRISKETAI TO DEYTERO BYTE TOY
file, ktl ktl - na mhn ta lew kai gia ta 147 ekatommyria bytes :>.
To idio akribws symbainei kai otan kaneis dd if=blabla of=/dev/fd0 (praktika
den exei kammia diafora me thn cp).
OTAN OMWS KANEIS :
mount /dev/fd0 /mnt
cp file /mnt/
kaneis MOUNT TH DISKETA (ypo8etontas oti exei epanw ths ena filesystem) kai
grafeis ayto to arxeio MESA STO FILESYSTEM. To BIOS omws de skampazei apo
filesystems - aplws arxizei na diabazei apo to track 0 sector 0 kai oti briskei
to ektelei. Sthn anti8eth periptwsh de 8a 8elame thn entolh SYS sto dos, 8a
kaname ena copy io.sys a: kai copy msdos.sys a: kai 8a teleiwne to problhma.
<class nhpiagwgeiou '98 closed>
L> Alh8eia ti periexei auto to arxeio?
Ton kernel toy linux. (allh tetoia eksypnh erwthsh? :>)
L> Giati ka8e fora pou egka8isto
L> neo kernel prepei na 3anatre3o to lilo? Afou sto lilo.conf leei oti
L> to image 8a einai px to /vmlinuz. Ton kainourgio kernel(image dhladh) to
L> antigrafo pali sto idio arxeio.
Nai alla to lilo boot loader den kserei ti paei na pei arxeio, filesystem, disk
geometry translation, klp klp. Etsi to mono poy kanei einai na paei kai na
grafei se proka8orismenh "topo8esia" sto boot record, ta tracks kai sectors toy
diskou sta opoia brisketai to vmlinuz, wste na mporei na to fortwsei meta mono
me th boh8eia toy BIOS. ENNOEITAI oti ka8e fora poy ftiaxneis kainoyrio
vmlinuz, ayto brisketai se diaforetiko meros apo to prohgoumeno.
Ta pragmatika leitoyrgika systhmata exoyn boot loaders poy mporoyn ontws na
diabasoyn to root filesystem kai na broyn mesa s'auto to kernel. Ayto shmainei
praktika oti o boot loader exei mesa ena mikro OS, kai einai arketa megalos gia
na xwresei sto master boot record, opote ton bazoyme kapoy alloy kai ton
fortwnoyme me ena allon mini loader (first stage kai second stage loaders). Kai
fysika epeidh to filesystem einai poly periploko gia na to kaneis implement se
ena tetoio programmataki, ftiaxneis ena eidiko typo filesystem me liges
dynatothtes aplws gia na krataei mono ton kernel. Kai ystera koitas ti
eftiakses, ksernas apo thn ahdia, kai onomazeis to leitoyrgiko sou "SCO
Unix"...
Ciao,
Christos
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list