LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-05-2005, 12:19 PM   #1
angmar
LQ Newbie
 
Registered: Aug 2005
Location: New Jersey
Posts: 6

Rep: Reputation: 0
cannot mount already formatted secondary hard drive on newly installed debian


Hi, I am new to linuxquestions.org

I am having a problem. I have a secondary hard drive (primary slave) that is already formatted with reiserfs and contains files that i need. I just installed debian, and I cannot seem to get access to hdb. There is no mount point set, I know I can use cfdisk to set a mount point, but only after formatting the hard drive..and I do not want to do this. Can anyone please tell me how to set a mount point for hdb without destroying all my data. Thank you kindly.
 
Old 08-05-2005, 12:39 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
You don't set a 'mount point' with cfdisk. Do 'fdisk -l /dev/hdb' to see what partitions are on hdb, then you'll need to mount the partition itself.
 
Old 08-05-2005, 12:41 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Post fdisk -l
Just so we can see the partitions
if you just want to see or copy one partition
as root;
Code:
mkdir /mnt/other(or whatever name you want)
mount /dev/hdb1(or whatever partition)/mnt/other
to unmount
Code:
umount /dev/hdb1
get the idea?
 
Old 08-05-2005, 12:43 PM   #4
angmar
LQ Newbie
 
Registered: Aug 2005
Location: New Jersey
Posts: 6

Original Poster
Rep: Reputation: 0
Disk /dev/hdb: 41.1 GB, 41110142976 bytes
16 heads, 63 sectors/track, 79656 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 79656 40146592+ 83 Linux
 
Old 08-05-2005, 12:50 PM   #5
angmar
LQ Newbie
 
Registered: Aug 2005
Location: New Jersey
Posts: 6

Original Poster
Rep: Reputation: 0
also when i try to mount /dev/hdb1 i get this can't find /dev/hdb1 in /etc/fstab or /etc/mtab
 
Old 08-05-2005, 12:52 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Have you added /dev/hdb1 to the /etc/fstab file?

You need a line like
Code:
/dev/hdb1 /mnt/somewhere ext3 defaults 0 0
where ext3 is the filesystem on /dev/hdb1.
 
Old 08-05-2005, 01:01 PM   #7
angmar
LQ Newbie
 
Registered: Aug 2005
Location: New Jersey
Posts: 6

Original Poster
Rep: Reputation: 0
i just added it and i got this when i ran the mount command:

mntent]: warning: no final newline at the end of /etc/fstab
 
Old 08-05-2005, 01:04 PM   #8
angmar
LQ Newbie
 
Registered: Aug 2005
Location: New Jersey
Posts: 6

Original Poster
Rep: Reputation: 0
Oh, ok, i got it...it was a mistake on my part, I thought that hdb1 was formatted with reiser, its with ext3. Stupidity on my part, thank you for your help.
 
Old 08-05-2005, 01:12 PM   #9
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
You did fine, the only "stupid" thing is to give up.
 
  


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
How can I mount my secondary hard drive on boot? Scorlibrian Linux - Hardware 1 02-26-2005 11:36 AM
windows formatted hard drive motaguense Linux - Hardware 3 09-15-2004 04:49 PM
I un-formatted my hard drive and I need help restoring it! mrbrianwaters Linux - General 1 03-30-2004 06:28 PM
problems writing to newly installed second hard disk ffenics2002 Linux - Hardware 7 02-12-2004 01:16 PM
how do i mount my windows partitions and secondary hard drive in RH9 kasperl Linux - Newbie 5 10-22-2003 05:26 AM


All times are GMT -5. The time now is 02:04 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