LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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: 58
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
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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: 58
You did fine, the only "stupid" thing is to give up.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:40 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
Open Source Consulting | Domain Registration