neocytrix Posted June 24, 2006 Report Share Posted June 24, 2006 Hello all, I have most of my newly installed debian working however, I cannot find out how to mount my windows drive to get some information off of it from Debian. Below is a copy of my FSTAB # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda6 / ext3 defaults,errors=remount-ro 0 1 /dev/hda5 none swap sw 0 0 /dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 ~ How would I even go about doing this? Is it even possible? Grazie Mille Neocytrix Quote Link to comment Share on other sites More sharing options...
arctic Posted June 24, 2006 Report Share Posted June 24, 2006 First you need to know where the windows partition is and what type of partition it is. A "fdisk -l" command will show you all partitions. Once the partitions are shown, it depends a bit. If you try to access a FAT32 partition, you would type e.g. mount -t vfat /dev/hdX /mnt/ for making permanent changes you will have to change the fstab, but for this, we need to know the results of fdisk -l. Quote Link to comment Share on other sites More sharing options...
neocytrix Posted June 24, 2006 Author Report Share Posted June 24, 2006 I did the fdisk -l and it returned this: Disk /dev/hda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 11473 92156841 7 HPFS/NTFS /dev/hda3 12750 14592 14803897+ 5 Extended /dev/hda5 12750 12879 1044193+ 82 Linux swap / Solaris /dev/hda6 12880 14592 13759641 83 Linux Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 24, 2006 Report Share Posted June 24, 2006 fstsab entry /dev/hda1 / ntfs defaults,ro 0 1 This will let you read from the disk and not screw anything up Quote Link to comment Share on other sites More sharing options...
neocytrix Posted June 24, 2006 Author Report Share Posted June 24, 2006 The linux partition is already mounted on "/" where else could I tell it to mount? Quote Link to comment Share on other sites More sharing options...
arctic Posted June 24, 2006 Report Share Posted June 24, 2006 Create e.g. a mountpoint /mnt/win_c and let it mount there through the fstab. ;) Quote Link to comment Share on other sites More sharing options...
neocytrix Posted June 24, 2006 Author Report Share Posted June 24, 2006 Here is a copy of my fstab now: # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda6 / ext3 defaults,errors=remount-ro 0 1 /dev/hda5 none swap sw 0 0 /dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 /dev/hda1 /mnt/windows ntfs defaults,ro 0 1 When I type: mount -t ntfs /mnt/windows /dev/hda1 it gives me the following: mount: special device /mnt/windows does not exist Am I doing something completely wrong? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 24, 2006 Report Share Posted June 24, 2006 You need to swap it around, and if you have the fstab entry, then all you need is: mount /mnt/windows but check that the directory /mnt/windows exists. Else, you use: mount -t ntfs /dev/hda1 /mnt/windows is the correct way if no fstab entry. Quote Link to comment Share on other sites More sharing options...
neocytrix Posted June 24, 2006 Author Report Share Posted June 24, 2006 (edited) Okay I got it :-D How can I make it accessable from my user name without being root? Thank you so much Edited June 24, 2006 by neocytrix Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 24, 2006 Report Share Posted June 24, 2006 Replace defaults with something like: umask=0,user,users should do it. Quote Link to comment Share on other sites More sharing options...
neocytrix Posted June 24, 2006 Author Report Share Posted June 24, 2006 Grazie tutti!!!!!! Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 25, 2006 Report Share Posted June 25, 2006 The linux partition is already mounted on "/" where else could I tell it to mount? Sorry, I copied and pasted ... as pointed out it should be a directory of your choice like /mnt/win_c Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.