Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding a second harddrive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jkruer01
Apprentice
Apprentice


Joined: 15 Jul 2004
Posts: 214
Location: Louisville, KY

PostPosted: Wed May 18, 2005 10:34 pm    Post subject: Adding a second harddrive Reply with quote

I got a new computer and have it loaded and everything is working. Now, I am in the process of hooking up my old harddrive to my new computer so I can copy all the files I need off of it. I connected the harddrive and booted up, but when I try to mount /dev/hdb6 to /mnt/tmp it gives me the following error:
Code:
mount: /dev/hdb6 is not a valid block device


Can someone please tell me what I am doing wrong.

Thanks,
Jeremy
Back to top
View user's profile Send private message
lopez
n00b
n00b


Joined: 24 Jun 2004
Posts: 52
Location: Toledo, OH USA

PostPosted: Wed May 18, 2005 10:43 pm    Post subject: Reply with quote

Code:
fdisk -l /dev/hdb


Will give you a list of your partitions. Select a valid partition to mount. Also might want to pass a filesystem type when you mount it.

Example:

Code:
mount -t ext2 /dev/hdbX
Back to top
View user's profile Send private message
JRV
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 291

PostPosted: Wed May 18, 2005 10:45 pm    Post subject: Re: Adding a second harddrive Reply with quote

jkruer01 wrote:

Code:
mount: /dev/hdb6 is not a valid block device



Well, _is_ /dev/hdb6 a valid block device? That is, have you hooked up your old HD as a slave to your first IDE channel?

What does

Code:
$ dmesg | grep hd


show?

Also, try

Code:
$ fdisk /dev/hdb
...
Command (m for help): p <RETURN>


and see if it recognizes your disk at all.

Greets,
Julius
Back to top
View user's profile Send private message
jkruer01
Apprentice
Apprentice


Joined: 15 Jul 2004
Posts: 214
Location: Louisville, KY

PostPosted: Wed May 18, 2005 10:55 pm    Post subject: Reply with quote

ok, when I do
Code:
dmesg | grep hd

I get the following:
Code:
bash-2.05b# dmesg | grep hd
Bootdata ok (command line is root=/dev/hda3 vga=0x318 splash=verbose video=vesafb:mtrr,ywrap udev)
Kernel command line: root=/dev/hda3 vga=0x318 splash=verbose video=vesafb:mtrr,ywrap udev console=tty0
Using local APIC NMI watchdog using perfctr0
hda: HDS728080PLAT20, ATA DISK drive
hdc: HL-DT-ST GCE-8526B, ATAPI CD/DVD-ROM drive
hda: max request size: 1024KiB
hda: 160836480 sectors (82348 MB) w/1719KiB Cache, CHS=16383/255/63
hda: cache flushes supported
hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: Using r5 hash to sort names
Adding 1004052k swap on /dev/hda2.  Priority:-1 extents:1
ReiserFS: hda4: found reiserfs format "3.6" with standard journal
ReiserFS: hda4: using ordered data mode
ReiserFS: hda4: journal params: device hda4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda4: checking transaction log (hda4)
ReiserFS: hda4: Using r5 hash to sort names


when I do
Code:
fdisk /dev/hdb

I get the following:
Code:
bash-2.05b# fdisk /dev/hdb

Unable to open /dev/hdb


Obviously, I don't have the harddrive hooked up correctly, because it is not reading it. Any suggestions?

Thanks,
Jeremy
Back to top
View user's profile Send private message
JRV
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 291

PostPosted: Wed May 18, 2005 11:05 pm    Post subject: Reply with quote

jkruer01 wrote:
Obviously, I don't have the harddrive hooked up correctly, because it is not reading it. Any suggestions?


Go into your system's BIOS and see if it recognizes your HD _there_. If not, either

1) You didn't connect it correctly,
2) You have a Motherboard/BIOS problem or
3) You have a broken drive...

Greets,
Julius
Back to top
View user's profile Send private message
jkruer01
Apprentice
Apprentice


Joined: 15 Jul 2004
Posts: 214
Location: Louisville, KY

PostPosted: Wed May 18, 2005 11:09 pm    Post subject: Reply with quote

ok, stupid mistake. I had it as my master hard drive on my old system and I forgot to change the jumpers to make it my slave hard drive. All works now.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum