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 just added a second IDE hard drive to my Linux Red Hat 9 system. It is recognized in the Bios. When it boots up, I see it say /dev/hdb in the initilization. But when I go into the shell to try and run fdisk /dev/hdb it returns "Unable to open /dev/hdb"
Is there something I have to do to reconfigure Linux to recognize the drive. It has not been formatted or partioned yet.
I would appreciate any help, as scans of the net have not yielded any clues.
I tried it, and now I'm in a real bind. I get an error on boot up and saying it has a mount error - doesn't recognize /dev/hdb1 and its lost in a cycle of reboot. Unfortunately being a newbie, I am not sure how to navigate around the command line to reedit the fstab and delete the addition. Any help? Which command editor line should I use?
Thanks for the attempt. I am really confused. I thought Red Hat 9 would recognize the drive and reconfigure the system and then all I had to do was run fdisk. Maybe I am doing something wrong. It a Maxtor 160G ATA/133 drive. I'll play with the bios settings and see if that does anything. Any other help would be appreciated.
When you were running the redhat installation program and you get to the part where you set up your drives/partitions, is the drive listed? If yes, use that utility to format it. If no, well... then I don't know..
It's been a while since I ran the Red Hat Installation program. When I did, I only had one drive. It is set up as ext3. By the way, the error I get after I added the line you told me in the fstab is:
modprob. Can't locate module ide-disk fsck.ext2. Possibly non-existante or swap drive. fsck.ext2: No such address ... to open /dev/hdb1. I can't read my note on the "..."
As for the Red Hat Install, do I need to rerun it from the CD? I'll give it a try.
Yes, try to re-run the program. You dont actually need to re-install anything, just run it up to the point where it asks you to set up your drive(s)/partition(s). If you see your drive, then format it, and all is good if you don't, then I really don't know what you can do
It asked me about the drive during the install, but it didn't ask me to format it. I then tried to run the fdisk /dev/hdb again and came up with the same error. Oh by the way, do I just kill it after I get there, because I wan't sure if I should update my bootrecord. I replied yes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.