LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-04-2013, 11:57 PM   #1
TwiToiT
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
Unhappy How to increase the partion devoted to Fedora 19


Hello there,

I am new to linux.
I wanted to install fedora on 400GB space of my 500GB harddisk and wanted to have 100GB seperated disk.

But, during the installation process I did some blunder and now I have ended up with Fedora 19 Genome installed on 100B space of my 500 GB hdd with 400GB missing altogether.

What is the easiest possible way to get to the point where I originally headed to ?
 
Old 08-05-2013, 03:39 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Can you show the current layout eg
Code:
fdisk -l
That's a lowercase L btw
 
Old 08-05-2013, 04:59 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,121

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
i would boot a live-usb and use gparted to extend/move/delete/copy/play around with you partitions.
 
Old 08-15-2013, 10:26 AM   #4
TwiToiT
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
[root@localhost /]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x250e7697

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 b W95 FAT32
/dev/sda2 2099200 206907391 102404096 8e Linux LVM
/dev/sda4 767055872 976773119 104858624 83 Linux

Disk /dev/mapper/fedora-root: 104.9 GB, 104857600000 bytes, 204800000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
 
Old 08-16-2013, 04:31 AM   #5
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 216

Rep: Reputation: 38
your 100GB partition is /dev/sda2. This holds a LVM group and partition.
Show us the output of
Code:
pvdisplay
and
Code:
lvdisplay
.

you 400GB partition is /dev/sda4.

When we are lucky (since you said it's a new system) you do not have any data on sda4 yet.
What you want to do in this case:
- unmount sda4
- remove sda4 using fdisk
- enlarge sda2 using fdisk
- resize LVM volume group on sda2 using pvresize
- resize LVM partition and file system on sda2 using lvresize

If you already have data on sda4 you start decreasing sda4 and moving it to the end of the HDD using gparted.

Be warned: You need to have a backup of all data. Messing around with partitions and no experience has a great chance to end in a desaster. With experience it still has a great chance to end up in a huge fail.

If you search in the forum here you'll find more details about the single steps. If you have any issues let us know.
 
  


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
increase boot partion size dappa_don Linux - Newbie 7 02-04-2009 08:47 AM
increase root partion size viral_Ahire Linux - Software 1 03-28-2008 07:18 AM
problem mounting a linux partion from another ext3 partion fkeith Linux - Hardware 1 10-14-2007 07:33 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 12:51 PM


All times are GMT -5. The time now is 03:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration