LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-29-2011, 06:09 AM   #1
zorro70
LQ Newbie
 
Registered: Jan 2011
Location: stockport UK
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
I need help converting a vfat extended partition into a ext4 partition


I want to convert a vfat partition into an ext4 partition.
This is on my wife's machine and she deleted the Windoze partition as she now prefers Linux.
Here is the (edited) output from fdisk -l:-

/dev/sda2 514048 4708351 2097152 83 Linux
/dev/sda3 4708352 6805503 1048576 82 Linux swap
/dev/sda4 52693200 234436544 90871672+ f W95 Ext'd (LBA)
/dev/sda5 59006800 234227699 87610446 83 Linux

I want to change /dev/sda4 to 83 to free up space for Linux without losing
the partitions in this 'extended' partition!
Any help would be very welcome.
ps: I'm new to this forum and this is my first post.
Thanks in advance.
 
Old 01-29-2011, 06:45 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Welcome to LinuxQuetions.
In a nutshell an extended partition is a container (does not contain user data) for logical partitions (i.e. IDs >5) and can not be modified as such. Since I assume that sda1 was the deleted windows partition, it can be recreated and used as additional space.
 
1 members found this post helpful.
Old 01-29-2011, 07:43 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
This is a classic example of someone demanding an answer to fit some preconceived (incorrect) supposed solution.
Describe your requirements properly, and probably we can help.

Don't ever give "edited" information. Let others be the judge of what is relevant/useful.

Last edited by syg00; 01-29-2011 at 08:26 AM. Reason: Delete duplicate (jeremy said he'd fixed this ....)
 
Old 01-29-2011, 07:55 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Moved: This thread is more suitable in <Linux-General> and has been moved accordingly to help your thread/question get the exposure it deserves. Not a Hardware issue!
 
1 members found this post helpful.
Old 02-12-2011, 05:49 AM   #5
zorro70
LQ Newbie
 
Registered: Jan 2011
Location: stockport UK
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for all your help everyone. I have never used Windows thus my confusion. The Windows partition was created by my wife who found it a very silly system which was always going wrong!
 
Old 02-12-2011, 06:07 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You could possibly create sda1 and start shuffling data from sda2>sda1 and so on.
http://www.linuxforums.org/forum/ubu...n-another.html
http://gparted.sourceforge.net/features.php
 
Old 02-15-2011, 08:55 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
I don't think you can "convert" the partition. I think it will have to be reformatted.

Try looking at the partition using GParted.

That might give you some leads.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo convert Primary Partition to Logical (ie move it inside the Extended Partition) Tom6 Linux - Software 3 11-29-2010 03:40 PM
extended sata partition shrunk at 15 partition limit, how to re-enlarge Siljrath Linux - General 3 06-02-2010 10:33 PM
Ext4 partition corrupted by resized NTFS Vista C:\ partition? graviton-boson Linux - Newbie 2 03-16-2009 01:26 PM
Booting from an extended partition - need a partition table editor Ouch_Taser Linux - General 2 02-10-2004 06:22 PM
Mounting extended vfat partition shaggz Linux - General 15 05-26-2003 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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