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

Notices

Reply
 
LinkBack Search this Thread
Old 09-15-2004, 07:02 AM   #1
TuxToaster
Member
 
Registered: May 2003
Location: UK
Distribution: Debian
Posts: 127

Rep: Reputation: 15
HDD/Partition Format.


Hi,

I have a Windows system i want to change over to Linux "Debian" but i want to keep 2 of the 3 NTFS HDD's/Partitions.

Whats the shell command so i can just format hda1 on ext2 or ext3
 
Old 09-15-2004, 07:29 AM   #2
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 373

Rep: Reputation: 32
either format during the install, but if u want as root

mkfs -t ext3 /dev/hdaX

that will do it for ya
 
Old 09-15-2004, 07:39 AM   #3
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
Hi TuxToaster,

cadj ist right - but make sure that you really get the "right" partition (/dev/hda1?).

As you use knoppix, you can

- mount the partition (mount /dev/hda1),
- look at it
- and then, if you are sure to format it, issue the command cadj posted.

Of course, it is always a good idea to backup all data before changing anything in your system.

HTH,

Peter
 
Old 09-15-2004, 08:07 AM   #4
TuxToaster
Member
 
Registered: May 2003
Location: UK
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 15
I got knoppix booted befor i posted this thred ready to do the hda1 format, knoppix mounted all the drives as it booted and the one i want on Linux is hda1.
And i have already backed up most of the stuff i dont wanna loose incase something screws up.

Thnx for the help
 
Old 09-15-2004, 08:16 AM   #5
TuxToaster
Member
 
Registered: May 2003
Location: UK
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 15
I wont let me format, im getting this.

knoppix@ttyp0[knoppix]$ mkfs -t ext3 /dev/hda1
mke2fs 1.35 (28-Feb-2004)
/dev/hda1 is mounted; will not make a filesystem here!
knoppix@ttyp0[knoppix]$
 
Old 09-15-2004, 08:37 AM   #6
TuxToaster
Member
 
Registered: May 2003
Location: UK
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 15
Also if i go from the root konsole i get mkfs.ext2: bad fragment size - ext3
 
Old 09-15-2004, 01:55 PM   #7
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
Hi TuxToaster,

oops, forgot to tell: you have to unmount the partition before mkfs -so, issue the command "umount /mnt/hda1" before making the new file system.

HTH, Peter
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
format hdd jorasmi Slackware 4 03-09-2005 04:25 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
cannot format hdd quickk Linux - Hardware 6 07-20-2003 03:33 PM
format hdd problem jdhogg Linux - General 6 07-15-2003 07:55 AM
Format HDD bytebrowser Linux - Hardware 1 07-02-2003 06:33 AM


All times are GMT -5. The time now is 08:16 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