LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-28-2002, 12:10 PM   #1
atljam
LQ Newbie
 
Registered: Jul 2002
Posts: 2

Rep: Reputation: 0
how to: mount existing partition on 2nd drive


RH 7.3 installed on hde
I have a second hard drive that I previously had mounted in the first install of RH, ( now re-installed RH) I now need to access that drive with the data intact,
it shows up on fdisk -l
as /dev/hdc2 start 128 end 2491 blocks 18988830 ID 83 System Linux


I then tried the command:
mkfs /dev/hdc2: /dev/hdc2

the error message is: mkfs.ext2: bad blocks count - /dev/hdc2

what is the proper way for me to proceed to gain access to this hard drive partition, and be able to mount it as /stage11i

thanks

Dan
 
Old 07-28-2002, 12:17 PM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
do NOT try mkfs, this will format the partition, so all data will be lost!!!

try to mount it.
command should be:
/mount /dev/hdc2 /stage11i
 
Old 07-28-2002, 12:32 PM   #3
atljam
LQ Newbie
 
Registered: Jul 2002
Posts: 2

Original Poster
Rep: Reputation: 0
yes now I have read up on that (mkfs)

what I did was add a line to the /etc/fstab

/dev/hdc2 /stage11i ext3 defaults 1 1
rebooted and now the root shows my partition in all its glory
I tried the mount command before but I see that you have a / in front of mount which I didn't try. any way, all is well and thanks for the quick response.

Dan
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I mount a 2nd CD drive??? phreakshew Linux - Newbie 22 09-05-2005 07:51 PM
Mount An Existing ext3 Partition br00tal Linux - Newbie 3 06-10-2005 12:08 AM
How do i mount a partition on a 2nd HD? Linux_Nooby Linux - Newbie 5 03-22-2005 05:41 PM
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 01:26 PM
Mount a partition to an existing folder groover Linux - Newbie 5 04-04-2004 01:43 AM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration