LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-22-2008, 12:57 AM   #1
fwc
LQ Newbie
 
Registered: Dec 2008
Posts: 19

Rep: Reputation: 0
Dual boot of windows (ext3 formatting)


Hello all,
I am trying to install the latest version of Mint and having some problems. I already have Windows XP installed and I want to keep it, so I took a 22GB partition (ntfs) I had and tried to format it into a 20BG ext3 partition and a 2GB swap (I have 1GB RAM). Unfortunately, the ext3 did not and will not format properly so I currently have a swap and no ext3 file system. So, I was wondering if there was an easy way in bash (or somewhere else) to format the partition into ext3 if I can get it back to ntfs or just from "free space". Thanks very much for any help and I hope this isn't too hard.
 
Old 12-22-2008, 02:51 AM   #2
r1d3r
Member
 
Registered: May 2008
Location: Glendale, CA
Distribution: ubuntu 12.04
Posts: 146

Rep: Reputation: 22
Did you try formatting with Gparted or QtParted or ...?
 
Old 12-22-2008, 02:59 AM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I'd download the gparted live cd (go to www.distrowatch.com), delete the partition and recreate it
 
Old 12-22-2008, 04:19 AM   #4
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
From bash fdisk works fine. Command line but fairly straightforward.
 
Old 12-22-2008, 04:58 AM   #5
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by arubin View Post
From bash fdisk works fine. Command line but fairly straightforward.
There is also "cfdisk" which is easier to use. It still works in terminal, but offers text mode user interface.
 
Old 12-22-2008, 07:23 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,216
Blog Entries: 3

Rep: Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437Reputation: 1437
Hi,
Quote:
Originally Posted by fwc View Post
Hello all,
I am trying to install the latest version of Mint and having some problems. I already have Windows XP installed and I want to keep it, so I took a 22GB partition (ntfs) I had and tried to format it into a 20BG ext3 partition and a 2GB swap (I have 1GB RAM). Unfortunately, the ext3 did not and will not format properly so I currently have a swap and no ext3 file system. So, I was wondering if there was an easy way in bash (or somewhere else) to format the partition into ext3 if I can get it back to ntfs or just from "free space". Thanks very much for any help and I hope this isn't too hard.
You will need to create two partitions; one for the 'root', one for the 'swap' from the '22GB' that you previously had as a 'ntfs' partition. You can use either 'fdisk' or 'cfdisk' to create the partitions.

Code:
from the 'cli';

~#fdisk /dev/your_device         #could be /dev/hda,b,c,d or /dev/sda,b,c,d
                                 #select a,b,c,d

~#cfdisk /dev/your_device        #could be /dev/hda,b,c,d or /dev/sda,b,c,d
                                 #select a,b,c,d
You can 'man fdisk' and 'man cfdisk' to get the particulars.

You then could rely on the distribution to create the filesystem or create one;

Code:
~#mke2fs -c -L MyPart1 -j /dev/hda1 #create ext3 filesystem on /dev/hda1 with label MyPart1
~#mkswap -c /dev/hda2               #make a swap area
You can 'man mke2fs' and 'man mkswap' to get the particulars.

Remember 'man' is your friend. The online version is fine but you do have 'man' from the 'cli'.
 
  


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
Cant Boot Into Windows After Formatting HD cjbriare Linux - Newbie 4 06-21-2008 04:16 AM
LXer: Three Ways To Access Linux Partitions (ext2/ext3) From Windows On Dual-Boot Sys LXer Syndicated Linux News 0 01-20-2008 11:50 AM
formatting just the Linux portion of Dual Boot system sri Linux - Desktop 4 08-27-2006 01:37 PM
Boot process slow after formatting partition to ext3 robbbert Linux - Hardware 2 04-18-2006 03:23 PM
Formatting linux on a dual boot kijju Fedora 3 06-12-2005 08:17 AM


All times are GMT -5. The time now is 01:44 PM.

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