Previous Next Table of Contents

3. Sumbatotnta me alla leitourgika

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

NAI. To Linux xrnsimopoiei to tupopoinmevo sxnma gia partitions twv PC, etsi mporei va moirastei tov disko me alla leitourgika sustnmata. Snmeiwste par' ola auta, oti ta alla leitourgika sustnmata, merikes fores dnmiourgouv problnmata, logw bugs. Eidika to FDISK kai to FORMAT tou DOS mporei merikes fores va pavwgrayouv dedomeva tou Linux, giati merikes fores xrnsimopoiouv dedomeva apo tov tomea ekkivnsns tns katatmnsns (partition boot sector), avti tou pivaka katatmnsewv (partition table), pou brisketai stov tomea ekkivnsns diskou (Master Boot Record, MBR). Gia to logo auto, eivai asfales otav dnmiourgeite partition apo to Linux, va mndevizete tnv arxn tns veas katatmisns, priv to morfoponsete apo to MSDOS n opoudnpote allou. Autn evtoln kavei akribws auto: dd if=/dev/zero of=/dev/hdXY bs=512 count=1 opou XU eivai to sxetiko partition, px hda1=1os diskos, 1n katatmnsn.

To Linux, mporei va diabasei kai va grayei arxeia se sustnma arxeiwv (filesystem) toso tou DOS (FAT), oso OS/2 (HPFS). Upostnrizei episns filesystems pou xrnsimopoiouvtai apo ta Windows opws: VFAT (megala ovomata), FAT32 (to veo protupo tns M$), alla kai NTFS (twv NT).

Alla leitourgika mporouv va diabasouv arxeia apo to Linux (px OS/2). Gia perissoteres plnrofories 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 prospelauvw ta arxeia mou se mia katatmnsn tou DOS;

To DOS (FAT) upostnrizetai apo to Linux, mesw tou MSDOS filesystem driver. Grayte apla: (Upoti8etai oti to DOS eivai sto trito partition tou prwtou diskou)

        mkdir /dos
        mount -t msdos -o conv=text,umask=022,uid=100,gid=100 /dev/hda3 /dos
n avtistoixa:
        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 bon8ouv wste va givetai automata n metatropn arxeiwv keimevou apo DOS morfn ( CR/LF -> LF ) kai gia apodosn tautotntas xrnstn kai omadas kai permissions sta arxeia tou DOS, otav faivovtai katw apo Linux. To mount mporei va givei pio eukolo eav uparxouv ndn oi swstes parametroi sto arxeio /etc/fstab. Gia perissotera ekteleste man 8 mount, man fstab.

To paketo mtools mporei va xrnsimeusei episns gia grngorn prosbasn: kavei kaveis px "mdir a:" kai diabazei tnv prwtn disketa, klp.

Eva kernel patch (gvwsto ws fd-patches) pou uparxei epitrepei tnv avagvwsn disketwv me asuvn8istn orgavwsn tracks kai/n sectors

3.3 Mporw va xrnsimopoinsw to sumpiesmevo mou DOS drive;

Me duskolia. Av kai mesa apo tov DOS emulator (Q1.2 `What software does it support?') givetai gia Stacked kai DBLSPC, eivai polu pio duskolo va givei mesa apo filesystem driver. Uparxei eva paketo pou upostnrizei read-only prospelasn gia doublespaced volumes: Bl. sunsite.unc.edu/pub/Linux/system/Filesystems, gia to "ths".

3.4 Mporw va xrnsimopoinsw to partition tou OS/2 (HPFS);

Nai, alla movo avagvwsn eivai duvatn akoma. Gia va to xrnsimopoinseis, prepei va kaveis compile tov kernel (purnva) sou, afou evergopoinseis tnv avtistoixn epilogn. Gia perissoteres plnrofories, des {(Q7.6)}. Meta arkei va to prosartnseis 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 va tre3w efarmoges twv Windows katw apo Linux;

Uparxei mia prospa8eia, pou omws dev exei apodwsei akoma karpous, to WINE Kapoies (aples) farmoges trexouv, omws oxi oi pio polles. Gia perissoteres plnrofories deite comp.emulators.ms-windows.wine

Episns, n Sun, pou edw kai kairo eixe bgalei to WABI gia alla Unices, prosfata to dia8etei kai gia to Linux mesw tns Caldera. To WABI eivai evas polu kalos kai a3iologos e3omeiwtns, pou trexei oles tis gvwstes souites grafeiou, sxediastika klp.

Epeidn to WINE dev douleuei kala, kai to WABI dev eivai dwreav, n kalutern lusn eivai va exete kai ta Windows kai to Linux kai va allazete avaloga me tnv periptwsn, kavwvtas reboot. Auto mporei va givei mesw tou LILO (LInux LOader), pou upostnrizei BOOT MENU. {***}

---------------------------------------------------------------------

3.7 Pws mporw va ekkivw to Linux apo tov Boot Manager tou OS/2;

To OS/2 apatei eidikn diadikasia gia va suvergastei.

  1. Me to fdisk tou OS/2 (kai movo me auto) dnmiourgeiste mia katatmnsn gia to Linux. Eav xreiazete, ftia3te kai to swap partition.
  2. Formarete tnv katatmnsn me HPFS n FAT. (Auto dev xreiazetai katw apo OS/2 WARP)
  3. Pros8este to stov Boot Manager.
  4. Me tnv evtoln mkfs -t ext2 n mke2fs formarete to veo partition me ext2 domn, pou eivai katallnln gia to Linux. Episns me to fdisk tou Linux dwste tov swsto tupo sto ka8e partition (kavovika 83, n 82 gia swap).
  5. Egkatestnse to Linux stn vea katatmnsn.
  6. Egkatestnse to LILO stov BOOT SECTOR (Linux partition), OXI pavw sto Master Boot Record (MBR), giati alliws 8a apevergopoinseis tov Boot Manager. Auto kavei to LILO va eivai evas fortwtns B' epipedou gia to leitourgiko, pavw stnv idia tnv katatmnsn me to sustnma arxeiwv, pou ekkivei tov purnva pou orizetai sto /etc/lilo.conf me tnv evtoln boot = /dev/hda2
  7. Epibebaiwste oti n katatmnsn tou Boot Manager eivai evergn (active), wste va xrnsimopoieisete tov Boot Manager gia va epile3ete ti 8a ekkivnsete.

---------------------------------------------------------------------

3.8 Pws mporw va moirastw tov idio xwro meta3u tou Linux kai twv Windows gia swap;

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

=====================================================================


Previous Next Table of Contents