LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
Senior Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052

Rep: Reputation: 38
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
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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



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

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

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