LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 12-25-2008, 11:24 AM   #1
allyanncah
LQ Newbie
 
Registered: Sep 2008
Posts: 13

Rep: Reputation: 0
unable to format external hard drive


I'm running Novell SLED 10.1 and need to back up approximately 40GB of data to jump over to Ubuntu 8.10. I cannot store data on my external HD; I get access denied errors. I have tried reformatting and repartitioning the drive, and I still cannot write to it, and there is still data there even after reformatting.

The drive will mount, but again, I cannot write to it. I have tried chmod 755 /dev/sdb1 as well as chmod 755 /media/SimpleDrive. I currently have two ext2 partitions, on which the Get Started with Windows and Mac files still exist and to which I still cannot write. Any help here would be appreciated...
I've used cfdisk and fdisk to repartition. mkfs won't create a filesystem on a mounted drive. I can't afford to lose the data on my internal HD, either.
 
Old 12-25-2008, 11:45 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
this has to be done as root.check and see if you have gparted.this you can do through your yast program I think suse uses. then it will ask you for your password then go to the drive and do it. any way sudo or su then password in a terminal. type cfdisk /dev/your device sdX or hdX what ever. or you can down load live cd puppy linux and boot it up and use gparted.
you will find suse is set up so you jump through some hoops to get things done as root. this is to protect your system.
 
Old 12-25-2008, 11:54 AM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,613
Blog Entries: 1

Rep: Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047
Quote:
mkfs won't create a filesystem on a mounted drive
AFAIK, that's how it's supposed to be. You need to umount it first to use mkfs.
Create a partition, write a file system to it, and then mount it:
Quote:
mount -t ext3 /dev/... /home/yourbackupdirectory -rw
Quote:
chown -R yourusername.yourgroup yourbackupdirectory
And see what happens...
 
Old 12-25-2008, 12:00 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by Drakeo View Post
this has to be done as root.check and see if you have gparted.this you can do through your yast program I think suse uses. then it will ask you for your password then go to the drive and do it. any way sudo or su then password in a terminal. type cfdisk /dev/your device sdX or hdX what ever. or you can down load live cd puppy linux and boot it up and use gparted.
you will find suse is set up so you jump through some hoops to get things done as root. this is to protect your system.
and like sycamorex said above you need to umount /dev/your hard drive.

Last edited by Drakeo; 12-25-2008 at 12:01 PM.
 
  


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
Unable to mount USB external hard drive Irene Chan Linux - Newbie 11 03-13-2010 02:02 PM
I'm trying to format an external USB hard drive... djackson75 Linux - Software 3 08-09-2008 03:26 PM
Unable to mount external hard drive JenovaProject Linux - Hardware 1 04-06-2008 04:14 PM
How do I format and mount an external hard drive? Durham Linux - Hardware 1 12-19-2006 07:05 PM
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 07:51 PM


All times are GMT -5. The time now is 03:01 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration