LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-12-2006, 02:50 PM   #1
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Rep: Reputation: 16
Mount backup hard drive


I'm running amd-64 ubuntu and am having a hard time composing the correct line in fstab. the drive in other distros works fine and is reconized as /dev/hdc1.It is an ext3 drive. TIA for any help. Maury
 
Old 02-12-2006, 02:53 PM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
/dev/hdc1 /mnt/extdrive ext3 defaults,rw 0 0
 
Old 02-12-2006, 03:40 PM   #3
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Original Poster
Rep: Reputation: 16
Thanks for the reply. I have been trying to solve this problem for quite some time
and because of the cold weather am being left alone long enough to work it out I hope. It would be nice to get an amd-64 ver. of linux on this box. Below is a line that works with mepis and others that I have tried. I just put in a mepis live CD and could access the drive so it's ok. the below line is how it is set up in mepis fstab.
/dev/hdc1 /mnt/hdc1 auto auto,users,exec 0 0
Thanks for any help. I'm stumped. Maury
 
Old 02-12-2006, 03:41 PM   #4
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Original Poster
Rep: Reputation: 16
Sorry I forgot to metion this did not work
/dev/hdc1 /mnt/extdrive ext3 defaults,rw 0 0
 
Old 02-12-2006, 03:47 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,694

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
So what are the errors when you try to mount /dev/hdc1?
 
Old 02-12-2006, 04:22 PM   #6
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Original Poster
Rep: Reputation: 16
When I boot up I see a failed message when loading files and also if I go into Disk Manager it reporta drive as "inaccessable".However it does see the drive? I know there is a log file somewhere if you could point me to it I'll post it.
 
Old 02-12-2006, 04:25 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,694

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Try to manually mount the partition i.e. (as root)
mount /mnt/extdrive
 
Old 02-12-2006, 04:45 PM   #8
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Original Poster
Rep: Reputation: 16
OK here is what I did.

maurice@ubuntu:~$ sudo mount /mnt/extdrive
Password:
mount: mount point /mnt/extdrive does not exist
maurice@ubuntu:~$

Another question is sudo really root? I'm not used with working with ubuntu
and don't know my way around as well. I'm used to doing the su thing and entering a root password?
 
Old 02-12-2006, 04:51 PM   #9
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Original Poster
Rep: Reputation: 16
Have to break for dinner... Later Thanks
 
Old 02-12-2006, 04:57 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,694

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
You need to create the directory to use as a mount point.
mkdir /mnt/extdrive or mkdir /media/extdrive

I'm not real familar with ubuntu. Do you have a /mnt or /media directory? Be sure if it is /media to change fstab.
 
Old 02-12-2006, 06:24 PM   #11
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Original Poster
Rep: Reputation: 16
Mount backup hard drive

Thanks a lot for all the help. I'm postong the whole procedure below as it may help someone else. This worked great.

Procedure for auto mounting /dev/hdc1 in ubuntu
1-Using Terminal: sudo nautilus and put in password
2-Create a extdrive folder in the media folder
3-Create a link to the extdrive folder and leave it in the media folder
4-save and exit
5- using terminal: sudo gedit and goto etc/fstab and open it
6- add this line to fstab:
/dev/hdc1 /media/extdrive ext3 defaults,rw 0 0
Save and exit.and Reboot.
You should see a "extdrive" icon on the desktop and you should be able to access the drive.
Note! New fastab is as fillows

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc1 /media/extdrive ext3 defaults,rw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda /media/usb0 auto rw,user,noauto 0 0
 
  


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
Hard drive/System backup ksgill Linux - Newbie 2 11-11-2004 02:10 AM
Hard Drive Backup Boffy Linux - Software 4 10-19-2004 01:38 PM
mounting a backup hard drive Troglodyte Linux - Software 2 09-29-2004 09:47 AM
Backup whole hard drive solution Swift&Smart Linux - Software 1 07-24-2004 11:05 AM
Hard Drive System Backup of Linux? KarlT Linux - Software 2 12-20-2003 08:03 PM

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

All times are GMT -5. The time now is 11:09 AM.

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