LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Add a new hard disk in Suse 10.3 (https://www.linuxquestions.org/questions/linux-newbie-8/add-a-new-hard-disk-in-suse-10-3-a-685757/)

java8964 11-24-2008 10:56 AM

Add a new hard disk in Suse 10.3
 
Hi,

I have a problem to add a new hard disk in my SUSE 10.3. Hope that someone here can help me.

I have a Linux Suse 10.3, which is using AMD CPU 64 bit. Originally, I attached the first IDE hard disk as the slave, with the DVD rom as the master. Then install SUSE 10.3 without any problem on it. To my surprise, in the suse, it use the first harddisk as /dev/sda, not the /dev/hda as I thought. Anyway, it works fine and I have no problem to use it for about a year.

Now, I want to install another IDE hard disk into this system since the storage is kind of problem now. I installed the new hard disk (it is also a IDE) as the master on the second IDE. From the BIOS, I can see all 3 IDE devices, first master is my DVD, first slave is my old hard disk, second master is my new hard disk. All the infomation, like name brand, capacity of my disk are correct in the BIOS.

But I can not access or partition the new disk in my suse. I tried the YAST2, but it did NOT see this new hard disk. It only found out the /dev/sda and all the partitions I original created on it. I expected a new /dev/sdb or something like that, so I can format and create partitions on it.

I searched on the web, normally I need to know the new disk name, found it in either /dev/hd* or /dev/sd*, then I can use fdisk to fomrat it, parition it and mount it. But here, I can not find it.

My question:
1) Why Linux treat my old hark disk as /dev/sda, instead of /dev/hda? I am 100% sure it is a IDE disk.
2) I see nothing as 'ls /dev/hd*', I only see /dev/sda as my old disk.
3) I check the /var/log/boot.msg, it looks like during the boot, the Linux use /dev/disk/by-id/ata-ST316xxxxxxxx to identify my first hard disk (It is a seagate disk, and I have SATA support in my motherboard. But I only have 2 IDE hard disk attached to it). I also saw that I have /dev/disk/by-id/edd-int12-dev80 in /dev/disk/by-id folder. Is it for my new added disk? If so, how I can format and mount it? My new disk is a Westdigit IDE disk.

All these new hard disk standard makes thing complex now. I miss my old /dev/hd? world now.

Thanks for your time and help.

amani 11-24-2008 11:51 AM

1) kernel changed


Try

# su
# fdisk -l
Post output

Use Qtparted, Gparted or parted for partitioning etc or YAST
or use the parted magic cd

#man fstab

java8964 11-24-2008 12:17 PM

Thanks for your help.

Here is the output of 'fdisk -l':

fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0e93949b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 17 136521 83 Linux
/dev/sda2 18 540 4200997+ 82 Linux swap / Solaris
/dev/sda3 541 3151 20972857+ 83 Linux
/dev/sda4 3152 19457 130977945 83 Linux


The problem is that I can not find any information about the new hard disk I just added, but I did see it in the BIOS.


All times are GMT -5. The time now is 05:13 AM.