LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-08-2008, 12:50 PM   #1
manishgarg21
LQ Newbie
 
Registered: May 2008
Posts: 16

Rep: Reputation: 0
Question Not happy with 'use the free space and creat default partions' during installation


Hi,

I have recently installed Fedora 8, i386 on my Acer Aspire 5500 Laptop, Pentium M. I was orinaly using windows o this machine. Change partitions using QTparted (Knoppix). I made disk space free for Linux installation (around 8Gb). And during installation process i used the option "use the free space and creat default partions" for creaing the partitions. Rather then showing /dev/hda6 (because my windows last partition was hda5) it is showing /dev/VolGroup00/LogVol00 in my /etc/fstab file. however /boot is mount on/dev/sda6. What is this /dev/VolGroup00/LogVol00 ? why such a name. Also installer has given 2GB of space to swap. For my work i dont need any swap space. How i can change that to my root disk space.
Thank in advance.

Manish
 
Old 06-08-2008, 01:00 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Quote:
Originally Posted by manishgarg21 View Post

Also installer has given 2GB of space to swap. For my work i dont need any swap space. How i can change that to my root disk space.
Edit /etc/fstab and comment out the entry for the swap partition by placing a # in column 1 of the swap line. Turn swap off with the swapoff command:

swapoff

Then use fdisk to remove the swap partition thus turning it into free space. Then you can rearrange your partitions to give your root partition more space.

Quote:
Originally Posted by manishgarg21 View Post
Hi,

I made disk space free for Linux installation (around 8Gb). And during installation process i used the option "use the free space and creat default partions" for creaing the partitions. Rather then showing /dev/hda6 (because my windows last partition was hda5) it is showing /dev/VolGroup00/LogVol00 in my /etc/fstab file. however /boot is mount on/dev/sda6. What is this /dev/VolGroup00/LogVol00 ? why such a name.
You are using logical partitions. Probably during the Fedora install you asked to use logical partitioning. Logical partitioning may be the default in a Fedora install. I can't remember whether it is or isn't.

------------------------
Steve Stites
 
Old 06-09-2008, 12:23 PM   #3
manishgarg21
LQ Newbie
 
Registered: May 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for the reply.

I am not able to delete the swap partition.
As my swap partition was /dev/mapper/VolGroup00-LogVol01
i did
fdisk /dev/mapper/VolGroup00-LogVol01
here is the output
[root@localhost ~]# fdisk /dev/mapper/VolGroup00-LogVol01
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xc3e0a65f.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

then if i try to say 'd'

Command (m for help): d
No partition is defined yet!

i am getting above message.

So, how i can remove this partition.

Thanks again.
 
Old 06-09-2008, 01:10 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
The default install creates two partitions. The 1st is your boot partition and the 2nd is a LVM which contains everything else i.e. / and swap. You need to use the LVM tools to remove swap instead of fdisk.

In a nutshell LVM lets you expand and or reallocate storage space without repartitioning.

http://tldp.org/HOWTO/LVM-HOWTO/
http://www.redhat.com/docs/manuals/e...-removing.html
 
Old 06-10-2008, 12:13 PM   #5
manishgarg21
LQ Newbie
 
Registered: May 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you for the reply.
So, i have removed the swap partition /dev/VolGroup00/LogVol01.
However still that space in not available for use.
Also during booting i am getting the message
'unable to access resume device /dev/VolGroup00/LogVol01'
Then how i can add the deleted swap space to my rest of the space,
means to my /dev/VolGroup00/LogVol00 which is mounted to my "/" folder.
 
Old 06-10-2008, 04:16 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
FYI if you want put your laptop in standby mode then you will need a swap partition.

You need to extend your / volume and then resize the filesystem. ext2online is able to resize a mounted partition. Without it you will need to dol this via the rescue CD.

Last edited by michaelk; 06-10-2008 at 04:19 PM.
 
  


Reply



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
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 03:07 AM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
Creat free space from /home partition, how? hraposo Mandriva 1 09-22-2004 12:09 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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