LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2012, 09:08 AM   #1
alanhl
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Rep: Reputation: Disabled
what have I done to my hard drive


i have deleted and repartitioned my data drive using partition manager but i can not write data to the drive or even create a new folder - what am i doing ( or not doing wrong please)
 
Old 02-03-2012, 09:21 AM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
First I need more information:

From terminal (console) as root run the command fdisk -l (small L) and post the results

What distro and version?

Is it a separate h/d?

What file system did you format the partition?
 
1 members found this post helpful.
Old 02-03-2012, 09:32 PM   #3
alanhl
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b27b1

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 968384511 484191232 83 Linux
/dev/sda2 968386558 976771071 4192257 5 Extended
/dev/sda5 968386560 976771071 4192256 82 Linux swap / Solaris

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d9d58

Device Boot Start End Blocks Id System
/dev/sdb1 63 976768064 488384001 83 Linux

Kubuntu latest version as far as i know
file system ? ext2
 
Old 02-03-2012, 10:34 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Try "parted -l".
How are you mounting it ?.
 
Old 02-04-2012, 06:21 AM   #5
alanhl
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Model: ATA ST3500413AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 496GB 496GB primary ext4 boot
2 496GB 500GB 4293MB extended
5 496GB 500GB 4293MB logical linux-swap(v1)


Model: ATA ST3500418AS (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 500GB 500GB primary ext2
a right click on the drive gives the option to mount an unmounted drive and vice versa
 
Old 02-04-2012, 06:28 AM   #6
alanhl
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
I wonder if a complete reinstall might render the disc usable?
 
Old 02-04-2012, 06:40 AM   #7
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Did you add an entry in /etc/fstab for /dev/sdb ?

Is there any error output ?
 
Old 02-04-2012, 06:48 AM   #8
alanhl
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Sorry Cedrik, used the partition manager that is with Kubuntu and left all settings as standard, there is no error output paste is greyed out
 
Old 02-04-2012, 07:29 AM   #9
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
It sounds like you are not mounting the partition. There are a couple of ways to do this,

Permanent: Make an entry in your /etc/fstab directory "Tutorial"

Temporary: Mount from terminal

This may be a better tutorial

Last edited by Larry Webb; 02-04-2012 at 07:38 AM.
 
Old 02-04-2012, 05:17 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
fdisk and parted disagree on how the partition is allocated (the start in particular). Can't be good. I'd reckon you should delete that partition and reallocate it again using Linux tool(s) - gparted maybe a good choice.
You might want to reconsider the filesystem type as well - why did you choose ext2 ?. On a large extent like that there are (usually) better options.
 
Old 02-05-2012, 02:25 PM   #11
alanhl
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
syg00
many thanks for your help, what i have now done is to reinstall Kubuntu on the problem disc so i can now write to it, i know it's not an ideal solution but it has bodged me round the problem. I used ext2 because that was the default sooo being a newbie I assumed the software knew better than i did, I'll know better in future, once again many thanks for your suggestions I will know where to come in future.
Very Best Regards to all
 
Old 02-05-2012, 09:05 PM   #12
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 470

Rep: Reputation: Disabled
I still what to know how that's even possible? Could parted be evaluating the same drive with a different geometry configuration?
 
Old 02-05-2012, 09:22 PM   #13
alanhl
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
don't know, it's all new to me. right now i'm running windows 8 and that's even stranger
 
  


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
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 10:19 AM
Booting Linux on an external USB hard drive (not a memory stick, a hard drive) comcastuser Linux - Hardware 4 01-13-2010 07:59 PM
I want to copy my hard drive to a larger hard drive and boot from the new drive. lpmorgan1 Ubuntu 8 09-08-2009 12:26 AM
[SOLVED] Hardware crash,Repaired,New Install New Hard drive,how to access original Hard drive flatstan Linux - Hardware 7 07-21-2009 07:51 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM


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