LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   second hard disk in linux.. (https://www.linuxquestions.org/questions/linux-newbie-8/second-hard-disk-in-linux-317199/)

bruse 04-26-2005 03:04 AM

second hard disk in linux..
 
i have moutn new hard disk in my linux box.

i am using mandrake10.0 +KDE.

bought one hard disk.

i connected to cable.during booting it was detected.

it has pattitions.

how to view that hard disk partitions.



[staff@localhost staff]$ su
Password:
[root@localhost staff]# fdisk

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
...
[root@localhost staff]# fdisk -l

Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1217 9775521 7 HPFS/NTFS
/dev/hda2 1218 2434 9775552+ 83 Linux
/dev/hda3 2435 9733 58629217+ 5 Extended
/dev/hda5 2435 2559 1004031 82 Linux swap
/dev/hda6 2560 4992 19543041 83 Linux
/dev/hda7 4993 7425 19543041 7 HPFS/NTFS
/dev/hda8 7426 9733 18538978+ c W95 FAT32 (LBA)



here i have only one hard disk ..please help me ..


how to identify my second hard disk.

[root@localhost staff]#

prasanta 04-26-2005 03:16 AM

Re: second hard disk in linux..
 
Quote:

how to identify my second hard disk.
Code:

prasanta@hbc11:/proc# cat /proc/partitions
major minor  #blocks  name

  3    0  39121488 hda
  3    1  38869236 hda1
  3    2          1 hda2
  3    5    248976 hda5
  3    64  117220824 hdb
  3    65  68356543 hdb1
  3    66  48861697 hdb2

prasanta@hbc11:/proc#

As can be seen, hda and hdb are the two harddisks in my system.

- Prasanta

masand 04-26-2005 03:21 AM

hi there

is that a raw disk??

fdisk -l

should show u the partitions
i think u need to intialize that disk

regards

bruse 04-26-2005 03:27 AM

i have this ..

[staff@localhost staff]$ cat /proc/partitions
major minor #blocks name

1 0 32000 ram0
1 1 32000 ram1
1 2 32000 ram2
1 3 32000 ram3
1 4 32000 ram4
1 5 32000 ram5
1 6 32000 ram6
1 7 32000 ram7
1 8 32000 ram8
1 9 32000 ram9
1 10 32000 ram10
1 11 32000 ram11
1 12 32000 ram12
1 13 32000 ram13
1 14 32000 ram14
1 15 32000 ram15
3 0 78184008 hda
3 1 9775521 hda1
3 2 9775552 hda2
3 3 1 hda3
3 5 1004031 hda5
3 6 19543041 hda6
3 7 19543041 hda7
3 8 18538978 hda8
[staff@localhost staff]$


sir what iss that ram0 to ram 15.



(i think u need to intialize that disk )

so how to intialize the hard disk after connected .please help me.

masand 04-26-2005 03:31 AM

do u have a CD from the manufacturer of your hard disk???

bruse 04-26-2005 03:41 AM

no sir i do not have right now.

it is not possible.

any othere options??please.

masand 04-26-2005 04:15 AM

either get these tools CD from here

ultimatebootcd.com

or intailize through windows,go to disk management(this would be y last option)i do not know about the same thing for linux,but u have that ultimatebootcd

regards


All times are GMT -5. The time now is 11:40 AM.