LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-18-2003, 04:37 PM   #1
skora
LQ Newbie
 
Registered: Aug 2003
Location: Somewhere out in space
Distribution: SuSe 8.0
Posts: 18

Rep: Reputation: 0
how to format windows partitions from linux?


I fu**d up partitions on my hard drive and I want to format windows partitions (maybe and Linux partitions) but I dont know how to do that?
This is how my partitions look like:


Disk /dev/hda: 240 heads, 63 sectors, 7941 cylinders
Units = cylinders of 15120 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 647 2069 10757880 f Win95 Ext'd (LBA)
/dev/hda2 2070 7941 44392320 7 HPFS/NTFS
/dev/hda3 1 134 1013008+ 82 Linux swap
/dev/hda4 * 135 646 3870720 83 Linux
/dev/hda5 781 2069 9744808+ 83 Linux

Partition table entries are not in disk order


thank you
rasko
 
Old 09-18-2003, 04:40 PM   #2
LarryDoliver
Member
 
Registered: Mar 2003
Posts: 126

Rep: Reputation: 17
if you just want to format:
mkfs -t ext3 /dev/hda1
 
Old 09-18-2003, 04:44 PM   #3
skora
LQ Newbie
 
Registered: Aug 2003
Location: Somewhere out in space
Distribution: SuSe 8.0
Posts: 18

Original Poster
Rep: Reputation: 0
I want to format them but also I want to be able to install windows/linux again on those partitions?
is that the way of doing it?
 
Old 09-18-2003, 05:15 PM   #4
LarryDoliver
Member
 
Registered: Mar 2003
Posts: 126

Rep: Reputation: 17
you gotta know what you want to use a partition for in order to know what filesystem to create on it....

sounds like you might need to decide what you want to run, and make a clean install (delete all partitions and start over)
 
Old 09-18-2003, 06:06 PM   #5
skora
LQ Newbie
 
Registered: Aug 2003
Location: Somewhere out in space
Distribution: SuSe 8.0
Posts: 18

Original Poster
Rep: Reputation: 0
ok...
but when i do that i got this error msg

linux:/mnt # mkfs -t ext3 /dev/hda1
mkfs.ext3: No such file or directory

??
 
Old 09-18-2003, 06:21 PM   #6
LarryDoliver
Member
 
Registered: Mar 2003
Posts: 126

Rep: Reputation: 17
if you're using an older linux flavor, use ext2, not 3.

you're running this as root, right?
 
Old 09-18-2003, 06:43 PM   #7
skora
LQ Newbie
 
Registered: Aug 2003
Location: Somewhere out in space
Distribution: SuSe 8.0
Posts: 18

Original Poster
Rep: Reputation: 0
yes i am doing it as a root..
but now i am getting this msg

linux:/mnt # mkfs -t ext2 /dev/hda1
mke2fs 1.26 (3-Feb-2002)
/dev/hda1: Not enough space to build proposed filesystem while setting up superb lock

??
 
Old 09-18-2003, 06:57 PM   #8
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
I want to format them but also I want to be able to install windows/linux again on those partitions?
is that the way of doing it?
If your going to wipe both Windows and Linux by formating why not just delete all the partitions and start from scratch, rather than trying to squeeze everything back into existing partitions - its probably easier to just start from scratch. (back up what you want first though)
 
  


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
Redo Linux Partitions & Clean Format Thanatos Linux - General 2 12-22-2004 01:05 PM
use vi to convert linux format to windows format intolinux Linux - Software 2 12-10-2003 10:20 PM
CD-R windows format vs linux cjpsparks Linux - Hardware 2 10-15-2003 10:33 AM
I cannot format partitions jpinkston Linux - Newbie 6 04-18-2003 06:26 AM
Windows vs Linux: uploaded file changes format?? rooman Linux - General 3 05-28-2002 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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