LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2004, 08:48 AM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
Cannot see my Windows drives (newbie)


I have just installed Slackware and am having problems looking at my Windows partitions as I would like to copy files over.

There should be hda and hdb1 but this is all that fstab shows.

/dev/hdb3 swap swap defaults 0 0
/dev/hdb2 / ext2 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


Thanks
 
Old 04-18-2004, 09:15 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
For me, this entry in /etc/fstab mounts my Windows partition. You may need to alter it to /dev/hdb1 or wherever windows is on your system. Also, it's Windows XP for me, hence it's of type ntfs. It could be type vfat if you have an older flavour of Windows.

/dev/hda1 /mnt/windows ntfs ,ro,umask=0 0 0
 
Old 04-18-2004, 09:43 AM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Welcome to Slackware!


If it doesn't exist, give your linux systen a mount point for your windows drive:

mkdir /Windows (call it what you like, Win would be just as good)

you can use konqueror or any filemanager to create this is if you want, put it in the root of your filesystem along with bin, boot, dev, etc)

then follow Andrew's instructions. add 'user' to this line as well, then you can access this dir as a user (assuming it has the right permissions) if it is vfat then you dont need ro, as you can safely write to it as well.

type 'man mount' (without quotes) into a console for more info, (or read 'the book' on the Slackware site)
 
Old 04-18-2004, 11:02 AM   #4
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
Smile

Thanks!. That worked a treat. Next problem is that though I have a Cdrom directory in mnt the contents of CDs are not shown in it.

I actually have a DVD/CD combi and a separate CR/RW on my Pc
 
Old 04-18-2004, 11:41 AM   #5
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
I have partly sorted it by changin fstab to
/dev/cdrom /mnt/cdrom iso9660 auto,users,ro 0 0

but I cannot eject the CD and I cannot see the rwriter drive.

Thanks
 
Old 04-18-2004, 11:58 AM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I think that to eject it you need to first
umount /dev/cdrom
or
umount /mnt/cdrom
I think you'll find that /dev/cdrom is a symbolic link pointing at /dev/hdc and that your other CD/DVD is there as /dev/hdd . If so, try a similar fstab entry. I don't use CD's much so on the rare occasions when I do use them the command (issued as root)
mount /dev/hdc /home/andy/tmp
works fine. If you use the CD's a lot you may consider applying the supermount patch http://supermount-ng.sourceforge.net/ and recompiling your kernel, then you don't need to use the mount command at all, just click on the icon on your desktop. I use it for floppy disks and various USB things (camera, mp3 and USB hard drive- they all get mounted automagically at /mnt/mp3).
 
Old 04-18-2004, 12:06 PM   #7
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
With a standard Slackware installation, removable drives are not mounted at boot.
One reason for this is that you may choose to put an audio cd in the drive, and in
this case you do not mount the cd before accessing it.

So the usual way (assuming you are using a Window Manager such as kde or gnome)
is to have an icon on your desktop to mount and unmount for you.

If this is what you want, then right click on the desktop and create new>device>cdrom or whatever, and go from there.

If you are doing it from the command line, then you will mount and umount:

[u]mount /mnt/cdrom is all you need if the entry exists in fstab.

There are ways to automount at boot, but there is more work required to do this.
Some distros such as Mandrake enable this for you I think, but Slackware makes you
work a little harder, the end result being that you get to understand your linux
system a little better!

edit: Sorry Andrew, did not see you already replied to this...

Last edited by tobyl; 04-18-2004 at 12:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network windows drives xviddivxoggmp3 Slackware 3 04-07-2004 10:57 PM
NEWBIE/ What is the command for my cd and dvd drives? ssbullpit Linux - Hardware 3 03-19-2004 06:50 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM
mounting windows drives madiyaan Linux - Newbie 3 05-15-2003 01:18 AM
Newbie Question (mounting drives/partitions) Abremelin Linux - Newbie 11 07-01-2002 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration