LinuxQuestions.org
Register a domain and help support LQ
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 10-10-2005, 05:04 PM   #1
matttail
Member
 
Registered: Jan 2004
Posts: 36

Rep: Reputation: 15
formatting issues with qtparted in knoppix


Ok, so I've got a 40 gig hd hooked up to my computer. I need to format it and then copy files onto it to use as a backup drive as my windws installaiton died. I used qtparted to clear out the previous partition onthe HD, and then asked it for format it in ext3. That all went just swell, but it says that there is 2.33 gig used... but I just formated - it should be empty!

So, I asked qtparted to format it into fat32... and this time only 32mb was used.

But I'd rather just use a linux format so there's less work converting between file systems... does that make sense?

I was going to try using format from the command line, but that says command not found. So, pleaese help me, what is the best way to go about accomplish my task of formatting the HD, and how should I do it? I'm not a total n00b with linux but I'm not any kid of expirenced user either. Thanks

(Oh, and I'm sorry if this has been asked before, but I did search and I couldn't find anything)

--MattTail
 
Old 10-10-2005, 05:40 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
By default when a ext2/ext3 filesystem is created 5% is reserved for root. This is supposed to reduce fragementation as well as allow root to login in case the filesystem becomes full. You can change the amount of reserved space via tune2fs utility or mke2fs command.

The format utility in linux is the mkfs command. In any case you can use any linux filesystem. However, not all filesystems are support with all distributions out of the box.

Last edited by michaelk; 10-10-2005 at 05:45 PM.
 
Old 10-10-2005, 07:04 PM   #3
matttail
Member
 
Registered: Jan 2004
Posts: 36

Original Poster
Rep: Reputation: 15
OK, so I used mke2fs -m 0 /dev/hdb1 and it worked on that, and now I've got my partition formated in ext3 and now extra space seem to be taken up - was that right?

EDIT: it's actually ext2 - does that make a difference?

I've got an other issue now though, when I try to write files to the hd I get permission denied. I'm still running knoppix here, and by default partitions are mounted without rear-write access. But this is supposed to be easy to get around. I just right click on the icon on the desktop for the partiton, click mount, and the right click again and change permission to read-write. I click ok on the confirm box, but I'm sitll un-able to write files.

I tried both copying files from my NTFS partition, as well as just trying to create a folder - the same response permission denyed.

Any ideas?

Last edited by matttail; 10-10-2005 at 07:16 PM.
 
Old 10-10-2005, 07:23 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
You only created an ext2 filesystem. The -j option creates the journal.

Make sure the filesystem is not mounted prior to selecting read/write mode.
 
Old 10-10-2005, 07:24 PM   #5
matttail
Member
 
Registered: Jan 2004
Posts: 36

Original Poster
Rep: Reputation: 15
ahh, the right click menu doesn't work (at least in my version)

I got into a shell, su to root and then did mount -o remount,rw /mnt/hdb1 and now I can write to it.

yay!

Thanks!
 
  


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
qtparted knoppix and SATA Compyn00bie Linux - Software 2 09-30-2005 02:34 PM
Question about formatting via knoppix mechmax Linux - General 4 08-25-2005 03:55 AM
qtparted resize greyed out (I booted with Knoppix CD) kcoombes Linux - Software 2 02-11-2005 01:19 AM
Knoppix problems with QTParted subjazz Linux - Distributions 3 10-21-2004 04:43 PM
QTparted under Knoppix won't resize ext3 slackist Linux - General 1 06-05-2004 11:30 AM


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