LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-26-2005, 10:55 PM   #1
akadad
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
Second drive (XP format)


I am currently running Redhat 9.0 on a fairly new e-machine 2.60. I have Linux as the only o/s and running off my c: drive. I also have a second hard drive that I had on the system when running XP that is partitioned into 6 drive letters. Now that I've switched to Linux I can't access the second drive. This is where all my music, pictures, etc. is, and I'd really like to save this data. Any ideas?
 
Old 06-26-2005, 11:54 PM   #2
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
yep...

open a terminal and type:

su
password for root

cfdisk /dev/hdb

# this should show you what partitions are on the disc. then you will have to mount them with
# something like:

mkdir /mnt/hdb1
mount /dev/hdb1 /mnt/hdb1

# if you dont find anyting in cfdisk, then are you sure you set the master and slave right on the discs? is it on the slave, or on the master of the primary.... i am not sure of your setup.. but should work.
 
Old 06-27-2005, 12:28 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
edong23's advice is spot-on. My only comments would be that the mountpoint (eg, /mnt/hdb1) will need to exist first in order for the mount command to succeed. Additionally, and depending on where the second drive is installed, the device name may not necessarily be /dev/hdb. Specifically:

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

Just use the device name that corresponds to where the drive is located. Good luck with it and Welcome to LQ! -- J.W.
 
Old 06-27-2005, 06:18 PM   #4
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
word... and i did say to make the mount point first... but you can name it whatever you want like

mkdir /mnt/buggar

then mount it there but using the device name is better... some distros use /mnt/cdrom and stuff but i use the device like /mnt/hdc so there is no confusion. and the mount point doesnt have to be in mnt if you dont want it to be. you can just mount it to a home directory if you wnat like

mkdir ~/hdb1

or buggar

mkdir ~/buggar

then
mount /dev/hdb1 /home/*you*/buggar

cool huh..
 
Old 06-27-2005, 06:29 PM   #5
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
also i might add if you edit your /etc/fstab to add that device and mount point .. (just follow the syntacs of everything else in there) you can mount it with a simpler command like

mount /mnt/hdb1

this will look at the fstab and see that it is going to mount /dev/hdb1 to /mnt/hdb1

cool and you can add the user to the permissions part and then user can mount it,, or kde quickdisk thingy i dont use kde so i cant remember what it is called. cooll have fun
 
  


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
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
Drive Format wremote SUSE / openSUSE 6 02-11-2005 09:56 AM
Format a ntfs drive bionicyeti Linux - Newbie 7 12-31-2004 05:03 PM
Format drive Anjo Linux - Software 3 03-30-2003 02:35 PM
format a second drive Sathe Linux - General 1 10-31-2001 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:45 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