Results 1 to 10 of 23
hi!
i m using debian.
i want to use my windows partitions with it.
followings are the details.
plz help me
debian:/home/ved# /sbin/fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
...
- 01-26-2008 #1
can i mount my windows partitions
hi!
i m using debian.
i want to use my windows partitions with it.
followings are the details.
plz help me
debian:/home/ved# /sbin/fdisk -l
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 1785 14337981 7 HPFS/NTFS
/dev/hda2 1786 8046 50291482+ f W95 Ext'd (LBA)
/dev/hda3 * 8047 9729 13518697+ 83 Linux
/dev/hda5 17debian:/home/ved# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda7 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
debian:/home/ved# 86 5355 28675993+ b W95 FAT32
/dev/hda6 5356 7966 20972826 b W95 FAT32
/dev/hda7 7967 8046 642568+ 82 Linux swap / Solaris
debian:/home/ved#
- 01-26-2008 #2
Hi and Welcome !!
First of all, install ntfs-3g package to enable NTFS write access.
Press Alt+F2 and type thisCode:su - apt-get update apt-get install ntfs-3g cd /media mkdir hda1 hda5 hda6
It will open /etc/fstab file in Gedit with root privileges.Code:gksu gedit /etc/fstab
Add these three lines at the end of file.
Save file and execute mount -a command or reboot machine.Code:/dev/hda1 /media/hda1 ntfs-3g defaults,umask=0 0 0 /dev/hda5 /media/hda5 vfat defaults,umask=0 0 0 /dev/hda6 /media/hda6 vfat defaults,umask=0 0 0
Check /media/hda1, hda5 and hda6 folders. All users will have read/write access in those.Last edited by devils casper; 01-26-2008 at 02:29 PM. Reason: corrected code.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-26-2008 #3
- 01-26-2008 #4
My Mistake ! /dev/hda5 and hda6 are FAT32 partitions. user vfat instead of ntfs-3g in for both in above code. ( Corrected in post #2 too )
You will have write access in /media/hda5 and hda6.Code:/dev/hda5 /media/hda5 vfat defaults,umask=0 0 0 /dev/hda6 /media/hda6 vfat defaults,umask=0 0 0
You have to install ntfs-3g for /dev/hda1 partition.
Execute this
Originally Posted by ved
Post output here.Code:cat /etc/apt/sources.list
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-27-2008 #5
debian:/home/ved# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 kde-CD Binary-1 20080102-13:51]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 kde-CD Binary-1 20080102-13:51]/ etch contrib main
deb Debian -- Security Information etch/updates main contrib
deb-src Debian -- Security Information etch/updates main contrib
debian:/home/ved#
- 01-27-2008 #6
Press Alt+F2 and type this
It will open sources.list file in Gedit.Code:gksu gedit /etc/apt/sources.list
Add non-free at the end of second last line.
Save file and execute thisCode:deb Debian -- Security Information etch/updates main contrib non-free
Code:su - apt-get update apt-get install ntfs-3g
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-27-2008 #7
- 01-27-2008 #8
Try open it in command line text editor like vi or nano. Open Terminal and execute this
Or replace nano with vi.Code:su - nano /etc/apt/sources.list
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-27-2008 #9
# deb cdrom:[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 kde-CD Binary-1 200$
deb cdrom:[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 kde-CD Binary-1 20080$
deb Debian -- Security Information etch/updates main contrib
deb-src Debian -- Security Information etch/updates main contrib
- 01-27-2008 #10What does your post mean? I am not getting it.
Originally Posted by ved It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote

