Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'd go ahead and through in that card and make the drive single/master and on the first ide channel. If the card is supported by your kernel, then the drive should be /dev/hde
No, I am pretty sure its not. It's keyed and has a blocked out pin, so it can't fit in any other way. Also, the bios on the computer and the initialization of Red Hat Linux 9 recognizes the drive. I just can't seem to figure out how to partition it. Is there a way to run Disk Druid from the command line or on the GUI interface? I was wondering if that would make it show up?
Went ahead and put in the Promise Technology ATA card and Linux can now see the drive. I got the fdisk to work - set up one large partition (I am working on a large database), since this is my spare drive. I tried to run mkfs -c -t ext3 /dev/hde1 but it doesn't seem to work. Get a "bad blocks count" type error. When I check it out using the Hardware Browser it shows up as a NTFS format. ( I had deleted the partition I initially installed described above using Maxtors Fdisk as NTFS. When I ran fdisk, I was able to delete this old partion, put in a new one as primary 1. When I ran "v" it said there were 62 unallocated sectors - I assume this was OK and when I ran w, it said the partition table had been altered. Do I have to do something like mount it before I run mkfs? Making progress, but still confused. That's a newbie for you!
Well, tried mkfs with just "mkfs -t ext3 /dev/hde1" and that seems to be working. Not sure what the problem was with -c and -v options. We'll see where this leads.
It appears to be working now. I'll summarize the issues I faced and their resolution.
Problem: I couldn't get a Maxtor 160G ATA/133 second hard drive recognized by Red Hat Linux 9.0. My primary drive is a Western Digital 180G ATA/100 drive. The physical hardware connection seemed to go fine with the drive recognized by the bios, and even by the Maxtor utility program and if I reran Red Hat installation. However, when I went to run fdisk /dev/hdb I would get an error "Unable to open /dev/hdb"
Solution: Upon the recommendation of vegeta_nc, I installed a Promise Technology Ultra100 tx2 ATA controller card and connected the drive to it. This allowed Linux to see the drive. The following steps were used to completion.
1) Ran "fdisk /dev/hde1"
a) Used the commands "p" to display the existing partitions
b) "d" to delete a partion I created when I ran the Maxtor utility.
c) "n" to add a new partition, selecting p for Primary and 1 for partition number and using the defaults 1 and 19920 for the first and last cylinders (just pressed enter at the command prompt). I stayed with the default Id type of 83 Linux native, because I found this supported the ext3 format.
d) ran "v" to verify the partion table
e) ran w to write the table.
2) then I ran "mkfs -t ext3 /dev/hde1". I had problems with the "-c" and "-v" settings, but without that it seemed to work fine.
3) I created the directory /mnt/hde1 using mkdir /mnt/hde1.
4) I then edited /etc/fstab and added the line "/dev/hde1 /mnt/hde1 ext3 defaults,users 1 1"
5) I rebooted and everything looks fine. I am copying files and testing the drive to see how it goes.
6) My next challenge is to try to reconfigure MySQL to use the new drive as its default directory. Hopefully that won't be as challenging!
Hope this helps someone else out there. As a newbie I appreciate these forums in treking through a new world! Best of luck and thanks to those that responded!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.