CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 4363|Reply: 13

HELP!!! SHARING WIN FILE WITH LINUX

[Copy link]
Post time 6-12-2003 10:56 AM | Show all posts |Read mode
AKU ADE 2 HARDISK...

SATU AKU INSTALL WINXP DAN WIN98,
SATU LAGI RED HAT LINUX 8........
WIN XP IS MY DEFAULT OS....
SOALAN AKU,

CAMNE NAK VIEW/SHARE FILE DALAM WIN PADA LINUX?? AND BACK...

AKU ADE BANYAK MP3 DDALAM HARDISK 1.....SO KALAU AKU NAK DENGAR DALAM LINUX, CAMNE NAK COPY DARI DALAM WIN XP TUH KEDALAM LINUX....ADE KER INTERFACE UTK ntfs dengan Linux ext3 NIH....

THANKS
Reply

Use magic Report


ADVERTISEMENT


kayuapi This user has been deleted
Post time 6-12-2003 11:09 AM | Show all posts
alamak aku takder pengalaman  tentang linux nie...

sarah leh terer pasal nie...


(haku kalau dah tak reti sangat aku pakai jer external harddisk aku... copy pastu paste kat memana tempat kita nak)
Reply

Use magic Report

Post time 6-12-2003 06:04 PM | Show all posts

file sharing

kalau nak suruh linux boleh baca file dalam partition / disk windows --> boleh
kalau nak suruh windows boleh baca file dalam partition / disk linux --> mungkin boleh dengan software yang org lain buat tapi i tak tahu dan tak pernah ade need utk buat (check kat google " XXXX filesystem windows" and xxx tu salah satu dari <reiser / ext3 / ext2> )

2) linux boleh baca partition windows dan kadang kadang boleh tulis dengan selamat
windows skarang ada 3 main filesystem
a) FAT16 (boleh read/write dengan selamat)
b) FAT32 (boleh read/write dengan selamat)
c) NTFS (boleh read dengan selamat dan write function tengah experimental--> write tak selamat).. dan cuma user root sahaja boleh access partition NTFS by default

utk kasi linux boleh baca partition partition di atas, u kena tahu device name partition windows tu ..

format device name harddisk master primary IDE => /dev/hdaX
format device name harddisk slave primary IDE => /dev/hdbX
format device name harddisk master secondary IDE => /dev/hdcX
format device name harddisk slave secondary IDE => /dev/hddX

biasanya X adalah nombor partition (1-4 sama ngan primary (dan extended kalau tak silap), 5-ZZZ utk logical drive)

ps: nanti i kasi screenshot xp disk manager dengan equivalent linux device name

utk boleh kan u baca partition tu, u kena activate partition tu dengan command mount. biasanya mount hanya boleh dibuat oleh root

cara cara utk mount
u kena ada folder target yang kosong sebelum mount

contohnya

/mnt/windowsC
/mnt/windowsD
/mnt/windowsE .. etc etc


skarang, utk mount partition 1 on master primary, dan letak kat mnt/windowsC, type

mount /dev/hda1 /mnt/windowsC

lepas tu, kalau success, semua partition tu ada kat /mnt/windowsC (ie  /mnt/windowsC ==C:\ contohnya)

i pernah dengar yang redhat tak include ntfs file system supprort by default ...
kalau itu berlaku, maka u perlu reconfigure kernel utk support ntfs, vfat, fat32 dll, recompile dan install kerne baru ..

kalau rasa tak mampu dan tak kisah nak install linux lain, install mandrake 9.2 lah, semua dah built in ..
Reply

Use magic Report

Post time 6-12-2003 06:23 PM | Show all posts

ok compare disk manager xp dengan device linux

windows disk manager


linux device
[root@mesenbasuh root]# fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1275  10241406    7  HPFS/NTFS
/dev/hda2          1276      5864  36861142+   f  Win95 Ext'd (LBA)
/dev/hda3          5865      9729  31045612+   7  HPFS/NTFS
/dev/hda5          1276      2040   6144831   83  Linux
/dev/hda6          2041      3060   8193118+   7  HPFS/NTFS
/dev/hda7          3061      3187   1020096    7  HPFS/NTFS
/dev/hda8          3188      5864  21502971    7  HPFS/NTFS

Command (m for help): q

[root@mesenbasuh root]# fdisk /dev/hdb

The number of cylinders for this disk is set to 3649.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1         1         0    0  Empty
Partition 1 does not end on cylinder boundary:
/dev/hdb2           652       804   1228972+  82  Linux swap
/dev/hdb3             1      3649  29310561    5  Extended
/dev/hdb5             1       312   2506077   83  Linux
/dev/hdb6           805      1952   9221278+   b  Win95 FAT32
/dev/hdb7          1953      3649  13631152    7  HPFS/NTFS
/dev/hdb8           313       651   2722986   83  Linux

Partition table entries are not in disk order

Command (m for help): q

pandai pandai ler interpret sendiri sbb i terjadi bz melihat masalah di hdb i
no wonder kat disk manager, disk 30G dia cakap 51G .. hahahahaha.. partition table corrupted rupanya ...

[ Last edited by Sarah_Radzi on 6-12-2003 at 12:27 PM ]
Reply

Use magic Report

 Author| Post time 8-12-2003 10:11 AM | Show all posts
THANKS SARAH RADZI

AKU TRY NANTI...BAB MOUNT TUH AKU DAH TRY TAPI BILER MASUK KAT DRIVE TUH KOSONG...

CONTOH NTFS PARTITION AKU BERADA PADA PRIMARY DISK hda1
linux partiton dalam hdb1

so aku mount guna
mount /mnt/dev/hda1 mnt/winxp

tapi still takleh access...

kena pakai third party tools ker nak access from linux??

dah setahun tak dapat2 buat nih

dulu aku try pakai samba server tapi nampak aje file...tapi takleh access ie copy atau ape2 ..
Reply

Use magic Report

Post time 8-12-2003 02:01 PM | Show all posts

dewa, u silap command

command yang betul

mount /dev/hda1 /mnt/winxp
Reply

Use magic Report

Follow Us
 Author| Post time 8-12-2003 05:05 PM | Show all posts
COMMAND AKU BETUL LER SARAH...
AKU SALAH TYPE KAT SINI..HEHEH SORRY

SO CAMNE NAK SOLVEKAN MASALAH NIH....HABIS SATU MESIA AKU RONDA CARIK BOMOH..
Reply

Use magic Report

Post time 8-12-2003 06:47 PM | Show all posts

since u pakai redhat

module utk ntfs loaded tak ?
atau dah built in dalam kernel ?
atau takde ntfs support ?

pakai command lsmod utk check  samada module ntfs loaded ke tak ...

sbb tu i cakap.. kalau tak salah, redhat tak buat ready made ntfs support .. kalau nak ntfs kena reconfigure and recompile kernel ...  

guna mandrake ok je ..

try

mount  -t ntfs /dev/hda1 /mnt/winxp

mount -r -t ntfs /dev/hda1 /mnt/winxp

mount -o verbose -r -t ntfs /dev/hda1 /mnt/winxp

tengok samada ade error ke tidak
Reply

Use magic Report


ADVERTISEMENT


 Author| Post time 9-12-2003 08:23 AM | Show all posts
Originally posted by Sarah_Radzi at 8-12-2003 06:47 PM:
module utk ntfs loaded tak ?
atau dah built in dalam kernel ?
atau takde ntfs support ?

pakai command lsmod utk check  samada module ntfs loaded ke tak ...

sbb tu i cakap.. kalau tak sala ...


OKEH AKU TRY...
KERNEL NIH AKU DAH UPGRADE DAH....LUPE PLAK VERSION APE

NANTI AKU CUBA METHOD TUH....

KALAU KERNEL TAK SUPPORT NTFS CAMNE??

HOW ABOUT FAT32??
Reply

Use magic Report

Post time 9-12-2003 02:03 PM | Show all posts
kalau kernel tak support NTFS, maka perlu install source code kernel .. peh tu configure

cara dia lebih kurang

cd /usr/src/linux
make xconfig (atau make menu config atau make config kalau takde xserver running)

then configre semua mak nenek yang ada kat situ .. utk redhat, kalau tak silap, utk first config, kena go through semua .. dari A sampai Z ... memang leceh ..

make bzImage
make module
make modules_install (tak ingat samada _ atau -)
cp /usr/src/linux/arch/i386/bzImage /boot/test-kernel_nombor_x

peh tu install test-kernel dalam lilo.conf
dalam lilo.conf (copy part yang dah siap ade utk linux.. jangan delete plak ..) and tukar part

image=/boot/test-kernel_nombor_x
label=testkernel


yang lain sama je ngan yang linux tu ..


then save

kat console .. type lilo
akan keluar
adding *windows
adding *linux
adding testkernel
done


peh tu kalau takde problem ngan lilo.. reboot dan masa lilo suruh pilih os, pilih lah test kernel .. kalau tak oupps ..dan semua berjalan lancar .. u terror ler ..

kalau tak berjalan lancar, reboot masuk linux yang biasa and configure sampai betul ...

dari experience, utk newbie atau yang first time configure kernel baru ... memang kena retry beribu ribu kali ... kalau tak confiden sangat, minta tolong org buatkan ler utk first time tu ..

masa i first time install redhat 7.2 /8.0.. i configure kernel tapi asyik tak lengkap sampai i fed up install mandrake balik kernel panic toksah citer laa
Reply

Use magic Report

Post time 9-12-2003 02:05 PM | Show all posts

lupa nak precise

baca INSTALL, READMI, CONFIG dll yang ada dalam directory /usr/src/linux tu

and kena install kernel source dulu
Reply

Use magic Report

 Author| Post time 9-12-2003 03:57 PM | Show all posts
OK SARAH..AKU CUBA NANTI..BZ RITE NOW
Reply

Use magic Report

Post time 15-12-2003 02:48 AM | Show all posts

dewaganaz

Reply

Use magic Report

 Author| Post time 15-12-2003 12:24 PM | Show all posts
OK SARAH...CAYA LER NKO..
AKU DAH TRY SEGALA METHOD YG NKO SUGGEST...AND IT WORKS

AMIK LER KREDIT SIKIT...HEHEHE


ANYWAY, WHAT I DID IS
1. DOWNLOD THE RESPECTIVE KERNEL
THEN INSTALL...PASTUH FOLLOW AJE INSTRUCTION.....
TAPI ADE ERROR SIKIT...PASTUH GODEK2 SAMPAI OK

SKANG AKU DAH BOLEH ACCESS WIN FROM LINUX.....

[ Last edited by DewaGanaZ on 15-12-2003 at 12:55 PM ]
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

22-11-2024 11:11 AM GMT+8 , Processed in 0.077691 second(s), 31 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list