Next Previous Contents

3. Symbatothta me alla leitoyrgika

3.1 Mporei to Linux na moirastei ton disko me DOS; OS/2; 386BSD; Win95; WinNT; Solaris;

NAI. To Linux xrhsimopoiei to typopoihmeno sxhma gia partitions twn PC, etsi mporei na moirastei ton disko me alla leitoyrgika systhmata. Shmeiwste par' ola ayta, oti ta alla leitoyrgika systhmata, merikes fores dhmioyrgoun problhmata, logw bugs. Eidika to FDISK kai to FORMAT toy DOS mporei merikes fores na gracoyn panw dedomena toy Linux, giati merikes fores xrhsimopoioun dedomena apo ton tomea ekkinhshs ths katatmhshs (partition boot sector), anti toy pinaka katatmhsewn (partition table), poy brisketai ston tomea ekkinhshs diskoy (Master Boot Record, MBR). Gia to logo ayto, einai asfales otan dhmioyrgeite partition apo to Linux, na mhdenizete thn arxh ths neas katatmhshs, prin to morfopoihsete apo to MSDOS h opoydhpote allou. Ayth entolh kanei akribws ayto: dd if=/dev/zero of=/dev/hdXY bs=512 count=1 opoy XY einai to sxetiko partition, px hda1=1os diskos, 1h katatmhsh.

To Linux, mporei na diabasei kai na gracei arxeia se susthma arxeiwn (filesystem) toso toy DOS (FAT), oso OS/2 (HPFS). Yposthrizei epishs filesystems poy xrhsimopoiountai apo ta Windows opws: VFAT (megala onomata), FAT32 (to neo protypo ths M$), alla kai NTFS (twn NT).

Alla leitoyrgika mporoun na diabasoyn arxeia apo to Linux (px OS/2). Gia perissoteres plhrofories deite: http://students.ceid.upatras.gr/ gef/fs

( See Q1.2 `What software does it support?' for details and status of the emulators for DOS, MS Windows and System V programs. See also Q3.5 `Can I access BSD FFS, SysV UFS, Mac, Amiga, etc filesystems?'. )

3.2 Pws prospelaunw ta arxeia moy se mia katatmhsh toy DOS;

To DOS (FAT) yposthrizetai apo to Linux, mesw toy MSDOS filesystem driver. Gracte apla: (Ypoti8etai oti to DOS einai sto trito partition toy prwtoy diskoy)

        mkdir /dos
        mount -t msdos -o conv=text,umask=022,uid=100,gid=100 /dev/hda3 /dos
h antistoixa:
        mkdir /floppyA
        mount -t msdos -o /dev/fd0 /floppyA
        ls -als /floppyA
        umount /dev/fd0
MHN 3EXNATE NA KANETE UMOUNT, OTAN BGAZETE THN DISKETA

Oi proairetikes parametroi conv=text/binary/auto, umask=nnn, uid=nnn and gid=nnn boh8oun wste na ginetai aytomata h metatroph arxeiwn keimenoy apo DOS morfh ( CR/LF -> LF ) kai gia apodosh taytothtas xrhsth kai omadas kai permissions sta arxeia toy DOS, otan fainontai katw apo Linux. To mount mporei na ginei pio eukolo ean yparxoyn hdh oi swstes parametroi sto arxeio /etc/fstab. Gia perissotera ekteleste man 8 mount, man fstab.

To paketo mtools mporei na xrhsimeusei epishs gia grhgorh prosbash: kanei kaneis px "mdir a:" kai diabazei thn prwth disketa, klp.

Ena kernel patch (gnwsto ws fd-patches) poy yparxei epitrepei thn anagnwsh disketwn me asynh8isth organwsh tracks kai/h sectors

3.3 Mporw na xrhsimopoihsw to sympiesmeno moy DOS drive;

Me dyskolia. An kai mesa apo ton DOS emulator (Q1.2 `What software does it support?') ginetai gia Stacked kai DBLSPC, einai polu pio duskolo na ginei mesa apo filesystem driver. Yparxei ena paketo poy yposthrizei read-only prospelash gia doublespaced volumes: Bl. sunsite.unc.edu/pub/Linux/system/Filesystems, gia to "ths".

3.4 Mporw na xrhsimopoihsw to partition toy OS/2 (HPFS);

Nai, alla mono anagnwsh einai dynath akoma. Gia na to xrhsimopoihseis, prepei na kaneis compile ton kernel (pyrhna) soy, afou energopoihseis thn antistoixh epilogh. Gia perissoteres plhrofories, des (Q7.6). Meta arkei na to prosarthseis sto root filesystem:

        mkdir /hpfs
        mount -t hpfs /dev/hda5 /hpfs

3.5 ***Can I access BSD FFS, SysV UFS, Mac, Amiga, etc filesystems?

I'm told that there is a primitive, alpha test read-only Amiga filesystem on sunsite.unc.edu in /pub/Linux/patches/amigaffs.tar.Z. More information is in affs-readme in the tarfile.

Recent kernels contain support for the UFS filesystem used by System V, Coherent and Xenix.

There is alpha kernel support, readonly for the moment, for the 4.2BSD UFS, on sunsite.unc.edu in /pub/Linux/ALPHA/ufs.

There is a set of user-level programs that provides read-only access to the Macintosh hierarchical filing system (HFS). It is available on sunsite.unc.edu in /pub/Linux/utils/disk-management/hfs0_36.tgz. This is being turned into a kernel module, which is available on sunsite.

A suite of programs called Samba provide support for Windows for Workgroups networked filesystems (provided it's configured to use TCP/IP). Information is available at http://lake.canberra.edu.au/samba/samba.html. There is alpha kernel support for mounting such filesystems, on sunsite.unc.edu in /pub/Linux/ALPHA/smbfs.

There is no support for the rest of those yet; I have not heard of any recent work on providing some.

3.6 Mporw na trejw efarmoges twn Windows katw apo Linux

Yparxei mia prospa8eia, poy omws den exei apodwsei akoma karpous, to WINE Kapoies (aples) efarmoges trexoyn, omws oxi oi pio polles. Gia perissoteres plhrofories deite comp.emulators.ms-windows.wine

Epishs, h Sun, poy edw kai kairo eixe bgalei to WABI gia alla Unices, prosfata to dia8etei kai gia to Linux mesw ths Caldera. To WABI einai enas polu kalos kai ajiologos ejomoiwths, poy trexei oles tis gnwstes soyites grafeioy, sxediastika klp.

Epeidh to WINE den doyleuei kala, kai to WABI den einai dwrean, h kaluterh lush einai na exete kai ta Windows kai to Linux kai na allazete analoga me thn periptwsh, kanontas reboot. Ayto mporei na ginei mesw toy LILO (LInux LOader), poy yposthrizei BOOT MENU.

3.7 Pws mporw na ekkinw to Linux apo ton Boot Manager toy OS/2;

To OS/2 apaitei eidikh diadikasia gia na synergastei.

  1. Me to fdisk toy OS/2 (kai mono me ayto) dhmioyrgeiste mia katatmhsh gia to Linux. Ean xreiazeste, ftiajte kai to swap partition.
  2. Formarete thn katatmhsh me HPFS h FAT. (Ayto den xreiazetai katw apo OS/2 WARP)
  3. Pros8este to ston Boot Manager.
  4. Me thn entolh mkfs -t ext2 h mke2fs formarete to neo partition me ext2 domh, poy einai katallhlh gia to Linux. Epishs me to fdisk toy Linux dwste ton swsto tupo sto ka8e partition (kanonika 83, h 82 gia swap).
  5. Egkatesthse to Linux sth nea katatmhsh.
  6. Egkatesthse to LILO ston BOOT SECTOR (Linux partition), OXI panw sto Master Boot Record (MBR), giati alliws 8a apenergopoihseis ton Boot Manager. Ayto kanei to LILO na einai enas fortwths B' epipedoy gia to leitoyrgiko, panw sthn idia thn katatmhsh me to susthma arxeiwn, poy ekkinei ton pyrhna poy orizetai sto /etc/lilo.conf me thn entolh boot = /dev/hda2
  7. Epibebaiwste oti h katatmhsh toy Boot Manager einai energh (active), wste na xrhsimopoihsete ton Boot Manager gia na epilejete ti 8a ekkinhsete.

3.8 Pws mporw na moirastw ton idio xwro metaju toy Linux kai twn Windows gia swap;

Des to Mini-HOWTO apo ton H. Peter Anvin, < hpa@yggdrasil.com>: ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/mini/Swap-Space


Next Previous Contents