Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount problems??
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
smite
Apprentice
Apprentice


Joined: 22 Feb 2003
Posts: 266
Location: /dev/hda4

PostPosted: Thu Sep 18, 2003 11:49 pm    Post subject: mount problems?? Reply with quote

Hi, I recently bought a 120gig for a second computer and rather than copy all my data around, I thought it would be easy to keep it on as a slave and copy all the data locally, right?? It should be, but
Code:
mount -t ext3 /dev/hdd /mnt/oldstuff/

returns
Code:
mount: block device /dev/hdd is write-protected, mounting read-only
mount: No medium found

I've tried all the tricks I know to no avail. I also tried to boot Knoppix and use it to retrieve my data, but it won't read my home dir. :cry:
Back to top
View user's profile Send private message
chrisis
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2003
Posts: 112
Location: Auckland

PostPosted: Fri Sep 19, 2003 12:10 am    Post subject: Reply with quote

You have to mount a PARTITION, not a drive:

Code:

mount -t ext3 /dev/hdd1 /mnt/oldstuff


... assuming the data you're trying to get to is the first primary partition (hdd1) on the slave drive.
_________________
But the situation seemed to call for witty repartee. "Huh?" I said.
Back to top
View user's profile Send private message
smite
Apprentice
Apprentice


Joined: 22 Feb 2003
Posts: 266
Location: /dev/hda4

PostPosted: Fri Sep 19, 2003 12:28 pm    Post subject: Reply with quote

Before:
/dev/hda1
/dev/hda2
/dev/hda3
/dev/hda4

AFTER plugging in old drive:
/dev/hda1
/dev/hda2
/dev/hda3
/dev/hda4
/dev/hdb
/dev/hdc
/dev/hdd

There's only two drives. Why were the partitions of the old drive mistaken for physical drives?
Back to top
View user's profile Send private message
chrisis
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2003
Posts: 112
Location: Auckland

PostPosted: Fri Sep 19, 2003 10:02 pm    Post subject: Reply with quote

YOu have to partition the new drive before you can use it... I assume you have done this?

Next, determine exactly what the drive names should be:

Primary Master = /dev/hda
Primary Slave = /dev/hdb

Secondary Master = /dev/hdc
Secondary Slave = /dev/hdd

Post here which of your drives is what, including your cdrom drive.

(ie, if the new 120gb is /dev/hda, then post: Primary Master = 120gb, etc)

Then we can look at what you can do to examine those disks properly.
_________________
But the situation seemed to call for witty repartee. "Huh?" I said.
Back to top
View user's profile Send private message
travisau
n00b
n00b


Joined: 06 Apr 2003
Posts: 63

PostPosted: Fri Sep 19, 2003 11:30 pm    Post subject: Reply with quote

another quick thing you can try if you are not sure is this

fdisk /dev/hda
fdisk /dev/hdb
fdisk/dev/hdc
fdisk /dev/hdd

after you run each of these type p to print the partition talbe and try to determine which drive is which according to the size
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