LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-26-2005, 04:04 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
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]#
 
Old 04-26-2005, 04:16 AM   #2
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
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

Last edited by prasanta; 04-26-2005 at 04:17 AM.
 
Old 04-26-2005, 04:21 AM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

is that a raw disk??

fdisk -l

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

regards
 
Old 04-26-2005, 04:27 AM   #4
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
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.
 
Old 04-26-2005, 04:31 AM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
do u have a CD from the manufacturer of your hard disk???
 
Old 04-26-2005, 04:41 AM   #6
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
no sir i do not have right now.

it is not possible.

any othere options??please.
 
Old 04-26-2005, 05:15 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 01:51 AM
Recover Hard Disk that was used for Linux pureheartedsoul Linux - Newbie 3 08-23-2004 12:57 PM
Copying a windows or linux install to a new hard disk using linux.... some_cs_student Linux - Software 7 05-24-2004 08:17 PM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 07:08 PM
install 2 linux on the same hard disk? tb-guru Linux - Software 3 04-10-2002 10:33 AM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration