LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices

Reply
 
Search this Thread
Old 05-13-2008, 08:47 AM   #1
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint Olivia, Android, Manjaro.
Posts: 565

Rep: Reputation: 32
Does DSL Have A Format HD Option?


Does Damn Small Linux, like Knoppix, have an option to format the hard drive?

If so, how is it done?
 
Old 05-13-2008, 09:30 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
If you're looking for a graphical tool, there probably isn't one, unless DSL comes with gparted or qtparted; DSL does come with parted which is much like cfdisk - it's just a partition editor.

To format a harddrive, just use parted or cfdisk, to modify the partitions, then depending on the filesystem you want (let's use the Linux-standard ext2 and ext3 filesystems), use the corresponding command and the terminal:
Code:
For an ext2 (non-journaling) filesystem
# mke2fs /dev/partition

For an ext3 (journaling) filesystem
# mke2fs -j -O dir_index /dev/parition
Just a reminder, if it's a SCSI (SATA or USB) drive, the PARTITION bit should read as "sd{a,b,c}{1,2,3,..,9}". Whereas IDE drives would read ""hd{a,b,c}{1,2,3,..,9}".
 
Old 05-13-2008, 09:32 AM   #3
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I don't know if there is some GUI tool to format drives (which I assume is what you are referring too) but you can certainly format a drive from any Linux distribution using the command line tools. Though DSL doesn't include as many FS tools as more robust distributions, so your available FS choices would be limited.

In fact, looking at the packages that ship with DSL, the only filesystem tools that appear to be included are for EXT2.
 
  


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
How to Format & Install DSL 3.0.1 talukder Linux - Newbie 1 12-17-2007 03:48 AM
DSL Install Issue with Loadlin and vmlinuz(invalid Compressed Format) rtoney5 DamnSmallLinux 0 10-06-2007 12:43 PM
i cant seem to get dsl to format my hd aeiouer DamnSmallLinux 2 06-06-2007 12:52 AM
Still getting option screen at boot after format of disc Jacksenflamed Linux - Newbie 6 04-02-2004 04:22 PM
t-dsl (germay) what to do when i don t get option ppp over Ethernet in kernel config saavik Linux - Software 4 12-14-2001 04:45 AM


All times are GMT -5. The time now is 12:47 AM.

Main Menu
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