Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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 am setting up a new server, the mobo is ASUS P5LD2-VM, 1Gb RAM, two SATA 160Gb hard drives. I installed a cd-rom on the ide connection, but can only see one SATA drive in linux. I have installed debian 2.6.16.19. I wanted to setup a RAID with the two drives, but can only see one. I also want to take data from an old ide drive, but I cannot have the cd-rom connected. Is there any way that I can have the two SATA drives, one ide cd-rom and one ide hard drive all recognized by linux at one time?
I have set this up on a previous system, very similar server but I guess the motherboard has changed!?!?
What is the output from "lspci" and "ls /dev/sd*" and "ls /dev/hd*"? It's very strange that it would recognize one SATA drive but not both. Does the BIOS report both during startup? As to the IDE drives, are you sure one is master and the other slave? Or are they on two different IDE channels? Did you go into setup and refresh the setup? I've had the case where a mobo wouldn't recognize stuff unless you dropped into setup first.
I am setting up a new server, the mobo is ASUS P5LD2-VM, 1Gb RAM, two SATA 160Gb hard drives. I installed a cd-rom on the ide connection, but can only see one SATA drive in linux. I have installed debian 2.6.16.19. I wanted to setup a RAID with the two drives, but can only see one. I also want to take data from an old ide drive, but I cannot have the cd-rom connected. Is there any way that I can have the two SATA drives, one ide cd-rom and one ide hard drive all recognized by linux at one time?
I have set this up on a previous system, very similar server but I guess the motherboard has changed!?!?
Any help is very appreciated.
What distro and what flavor of installer you are using? If Debian sarge, try Debian etch installer
Here is the print out of lspci and mount:: As for ls /dev/hd* & /sd* there are several. I am also not familiar with Debian etch??? I have tried make menuconfig and try to figure out what needs to added?? Both drives are found in BIOS if I use Enhanced > SATA & PATA but will not boot to linux then. I have it set to Compatible Mode with Primary SATA & PATA, but only see one drive in BIOS. I believe I am using SARGE distro, but how can I really check? I was thinking of trying 2.6.20?!?!?
Thanx
mount
/dev/hdc3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hdc1 on /boot type ext3 (rw)
/dev/hdc7 on /home type ext3 (rw)
/dev/hdc6 on /usr type ext3 (rw)
/dev/hdc5 on /var type ext3 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw)
You don't have to mess with the kernel to get your SATA recognized, you just need a more up to date Debian, which isn't Sarge. Even getting the newest kernel won't re-identify your mounts, which are certainly screwed up, unless you installed on an IDE drive. As said above, use Etch which will automatically detect your SATAs. The mount points you list above are all hdc, and SATA drives should be sda and sdb.
I suggest getting the netinst iso, which is the first thing on the page. Just select the correct architecture for your processor, which is likely to be i386 or amd64.
It would be interesting to get you running, but probably wouldn't benefit anything but my curiosity. Install etch from the netinstall as Jim suggested, and if you still have problems, then repost and I'll do what I can to help. In any case, stay away from 2.6.20 for now. It's not bad in and of itself, but there are a few bits of software that are still incompatible with it.
It depends. Do you have data on the partition you're going to install to? AND, are you competent enough to ensure that you don't whack your data partitions during the install? If the data is on a different disk, then just unplug it during the install. If you want to install onto the SATA drive, then unplug your IDE drive during the install. Let us know where the data it is, and maybe we can figure a way to make sure it doesn't get touched. If you can, make a DVD of it, anyway, just to be safe.
I think that may be having a problem with ASUS's JMicron drivers, which is a pretty common problem with linux and the ASUS P5xxxx boards. The kernel does not support those drivers, or at least didn't for the distros that I tried at first on my P5Bs. However, a lot of the distros have built in their own support for the JMicron drivers, so you might check to see how your distro deals with them. Ubuntu Edgy and PCLinuxOS picked them up with no extra effort. For Suse 10.2, I had to preload the JMicron driver. Some older distros had no support.
Anyhow, I think that your problem has to do with lack of support for ASUS's JMicron drivers, and Googling the problem should lead to a solution. You aren't the first person to have experienced this problem at all.
Considering the mess that your first install is, I certainly would partition everything and erase your old data. Also given that your install is on some hdc drive and you're going to be installing to sda and/or sdb, it is best to assume everything will be lost.
You can export all your saved data to something else if it is worth keeping, but if you just installed, wipe it clean and do it over.
From the posts above, it seems like there is some confusion about what exactly you have on what disk. It's my understanding that your /dev/hdc* is actually an IDE drive, and that you don't have any partitions on the one SATA drive that is actually recognized. Am I correct on this, or am I completely confused?
Could you tell us exactly what is what? Is all of hdc* the IDE drive? Are any of the hdc* partitions on the one SATA drive that works? Doe you have any sda* partitions but didn't bother telling us about them?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.