LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-25-2005, 03:28 PM   #1
bono_head
LQ Newbie
 
Registered: Sep 2005
Posts: 13

Rep: Reputation: 0
Thumbs up absolute noob about linux, need gaim & mounting of windows partitions


Hello!

Greeting to ya all. Since I have decided to quit using Windows at home, except for playing that is... I am going to need some help from you guys out there.

This might seem weird but I don't have a clue about Linux, and I have just installed Debian.

My first question is this: HOW do I get to see the windows partitions? I have about 4 harddrives on the computer, and 10-15 partitions or something. But I can't find them when I use Debian.

My other question is: How do I install GAIM? Please bare in mind that I'm a complete noob, who has just set out on a journey to use Linux.

And I guess that I will post about a million questions in this forum in time :-D
 
Old 09-25-2005, 03:52 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
You are in luck with Debian. Installing programs is a breeze. Open a console, become root (use the 'su' command) and type 'apt-get install gaim'.

Welcome to LQ
 
Old 09-25-2005, 04:45 PM   #3
shifty_eyes
LQ Newbie
 
Registered: Sep 2005
Location: Victoria, B.C
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
In order for linux to see other partitions you have to declare them in your /etc/fstab file. For example here is the line that corrisponds to my windows XP partition
Code:
/dev/hda1     /mnt/windows   ntfs    auto,user,ro    0   0
/dev/hda1 is the device you want to be able to mount (first harddisk first partition ide harddrive in this case)

/mnt/windows is the mount point (the directory that you want the filesystem attached to)

ntfs is the filesystem (use vfat if its a fat32 filesystem)

auto makes it automaticly mount (after the first mount)

user makes it so non-root users can mount/unmount

ro makes it read-only (you cant write to ntfs without risking corruption...remove this option if its vfat)

0 0 - I dont know what this is for but it is needed


Once you have that set up just do
Code:
mount /mnt/windows
replacing /mnt/windows with whatever your mount point was. If you can't seem to mount ntfs then your kernel probably isn't compiled with support for it. Here is a good guide to compiling your own kernel is you need to add NTFS support.
 
Old 09-26-2005, 09:05 AM   #4
bono_head
LQ Newbie
 
Registered: Sep 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Allrighty then! Thanks folk. Gaim is on, no with the mounting. Wish me luck...
 
Old 09-26-2005, 09:08 AM   #5
bono_head
LQ Newbie
 
Registered: Sep 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Err...


I have installed Debian on one of my many partitions. I haven't mounted any Windows-partitions. How do I get access to them via Debian?

How do I list them up? When I write /dev/hda1 and go to, I get an error message that Nautilus don't have any programs capable of showing the file

Last edited by bono_head; 09-26-2005 at 09:10 AM.
 
Old 09-26-2005, 09:43 AM   #6
logosys
Member
 
Registered: Jul 2005
Location: Texas
Distribution: RHEL4 - ES
Posts: 178

Rep: Reputation: 31
First, you need to know 2 things:
What is the partition type?
If your Windows is NT, 2000, or XP, it's of type 'ntfs'.
If your Windows is 3.1, 95, or 98 it's PROBABLY of type 'vfat'.
Where is the partition?
Linux uses the following device naming scheme for harddrives:
hdxy where x=a, b, c, d (First IDE Master, First IDE Slave, Second IDE Master, Second IDE Slave) and y=1, 2, 3,..., 12 (First Partition, Second Partition, etc) If you installed Windows first, it is PROBABLY on hda1, but you may have to make sure.

If you have an NTFS Partition, which it probably is, based on your error message, you'll need to check out the Linux NTFS Project to get the driver that you need to build into your kernel to support NTFS partitions. WARNING: READ THE DOCUMENTATION, If you don't do what the nice NTFS people tell you to do, you risk losing ALL the data on your NTFS partition (bad). I recommend backing up your data before you try this.

Let us know if you need more guidance, we're happy to help. Best of Luck!
 
Old 09-26-2005, 10:17 AM   #7
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
fdisk -l will list any that Linux sees.

To access a filesystem on a device partition in /dev that has not been mounted by the system, you'll need to mount it. The normal way to do this is to create an empty directory in /mnt and then mount the partition on it. Linux will do this during boot if you populate /etc/fstab with the necessary information.

/dev/hda = primary master
/dev/hdb = primary slave
/dev/hdc = secondary master
/dev/hdd = secondary slave

Partitions on a device are identified by number: /dev/hda1, /dev/hda2 etc.

If you have a PCI IDE controller, a drive attached to it may show up as /dev/hde. You'll find SCSI devices at /dev/sd*

I suggest you create suitable directories in /mnt. eg:
mkdir /mnt/windows_XP_c
mkdir /mnt/windows_XP_d

Then identify and mount the partitions that you want to access. eg:
mount /dev/hda1 /mnt/windows_XP_c
mount /dev/hdb1 /mnt/windows_XP_d

If mount is unable to auto-identify the filesystem, you may need to specify it. eg:
mount -t ntfs /dev/hda1 /mnt/windows_XP_c

You can specify extra mount options like iocharset, codepage, utf8 which you may need for some filesystems. You can also specify read-only or read-write and a umask to control access by non-root users.

When you're happy with the setup, you can populate /etc/fstab for automounting on boot.

Last edited by Snowbat; 09-26-2005 at 10:30 AM.
 
Old 09-26-2005, 10:22 AM   #8
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
FYI: The fifth field (the first number) in fstab is whether the filesystem should be backed up or not. The sixth is the filesystem check option (used by fschk). Normally both are zero, as above.

More info on fstab: http://www.tuxfiles.org/linuxhelp/fstab.html
 
Old 09-26-2005, 03:49 PM   #9
bono_head
LQ Newbie
 
Registered: Sep 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Allrighty then! That's what I'll do (tomorrow). Right now it's nappy time :-)
 
Old 09-29-2005, 08:53 AM   #10
bono_head
LQ Newbie
 
Registered: Sep 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by shifty_eyes
In order for linux to see other partitions you have to declare them in your /etc/fstab file. For example here is the line that corrisponds to my windows XP partition
Code:
/dev/hda1     /mnt/windows   ntfs    auto,user,ro    0   0


How do I declare them?

Quote:
/mnt/windows is the mount point (the directory that you want the filesystem attached to)
How do I "attach"?

ntfs is the filesystem (use vfat if its a fat32 filesystem)

auto makes it automaticly mount (after the first mount)

user makes it so non-root users can mount/unmount

ro makes it read-only (you cant write to ntfs without risking corruption...remove this option if its vfat)

0 0 - I dont know what this is for but it is needed


Once you have that set up just do
Code:
mount /mnt/windows
replacing /mnt/windows with whatever your mount point was. If you can't seem to mount ntfs then your kernel probably isn't compiled with support for it. Here is a good guide to compiling your own kernel is you need to add NTFS support.
[/QUOTE]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux & Windows partitions label were deleted Dr_Death_UAE Linux - General 5 02-21-2006 04:06 AM
Absolute Noob koricVI Linux - Newbie 17 11-30-2005 06:16 PM
Stil mounting problem in linux to windows partitions prince_linux Red Hat 3 11-03-2005 06:28 AM
Mounting hard disks & partitions dbong Linux - Hardware 3 01-16-2004 12:16 PM
absolute noob red hat 9 how do i connect to the net ?? Incode Linux - Newbie 5 11-19-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:04 PM.

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