Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-05-2005, 12:19 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Location: New Jersey
Posts: 6
Rep:
|
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.
|
|
|
08-05-2005, 12:39 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
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.
|
|
|
08-05-2005, 12:41 PM
|
#3
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
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
get the idea?
|
|
|
08-05-2005, 12:43 PM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: New Jersey
Posts: 6
Original Poster
Rep:
|
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
|
|
|
08-05-2005, 12:50 PM
|
#5
|
LQ Newbie
Registered: Aug 2005
Location: New Jersey
Posts: 6
Original Poster
Rep:
|
also when i try to mount /dev/hdb1 i get this can't find /dev/hdb1 in /etc/fstab or /etc/mtab
|
|
|
08-05-2005, 12:52 PM
|
#6
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
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.
|
|
|
08-05-2005, 01:01 PM
|
#7
|
LQ Newbie
Registered: Aug 2005
Location: New Jersey
Posts: 6
Original Poster
Rep:
|
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
|
|
|
08-05-2005, 01:04 PM
|
#8
|
LQ Newbie
Registered: Aug 2005
Location: New Jersey
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
08-05-2005, 01:12 PM
|
#9
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
You did fine, the only "stupid" thing is to give up.
|
|
|
All times are GMT -5. The time now is 08:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|