Fedora Linux Support Community & Resources Center
  #1  
Old 19th March 2009, 01:21 AM
kajman Offline
Registered User
 
Join Date: Mar 2009
Posts: 6
Question Installed Fedora 10 on two partitions - but there's one!

Hi everyone!

This is my fist post at this forum, and first post written on Fedora which I've installed minutes ago (after getting rid of Ubuntu), so please, don't get too upset about my ignorance...

I have two 160gb drives on my laptop, and I've wanted to have my OS installed on a 10gb partition on my first drive, and my 60gb "HOME partition" on the other drive (for e.g. if I extensively use my home partition it will have no effect on the OS one, also I wanted to know exactly how much my system weights and so on...).

But the effect is that, I have an about 70gb big partition which is a "sum" of the ones I've created... Why is that, and how can I change it to the way I want it to be?
Or how can I make the other partition to store only my "home" directory?
Reply With Quote
  #2  
Old 19th March 2009, 01:37 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Hello kajman,

To me, what you described sounds like it might be an LVM physical volume that contains your partitions as logical volumes. Anyway, it's a good guess because Anaconda (the Fedora installer) uses Logical Volume Management by default. Take a moment to post the report of fdisk. Forgive me, but since you're coming from Ubuntu, do it this way...
Code:
su
/sbin/fdisk -l
P.S.: Welcome to this place.
Reply With Quote
  #3  
Old 19th March 2009, 01:46 AM
kajman Offline
Registered User
 
Join Date: Mar 2009
Posts: 6
Here it is:

Code:
[root@kajman kajman]# /sbin/fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x25112511

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       10470    84100243+   7  HPFS/NTFS
/dev/sda2           18314       19457     9189180    7  HPFS/NTFS
/dev/sda3           10471       18313    62998897+   5  Extended
/dev/sda5           10471       15431    39849169+   7  HPFS/NTFS
/dev/sda6           15432       15456      200781   83  Linux
/dev/sda7           15457       18313    22948821   8e  Linux LVM

Partition table entries are not in disk order

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xda56374f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       11557    92831571    7  HPFS/NTFS
/dev/sdb2           11558       19457    63456750   8e  Linux LVM
Well, I don't have much experience (my bad... ) so your reply was very well placed
I installed Ubuntu, because I hated Vista... now I've installed Fedora because I've learned to hate Ubuntu :P there's just no going back
Reply With Quote
  #4  
Old 19th March 2009, 01:48 AM
kajman Offline
Registered User
 
Join Date: Mar 2009
Posts: 6
Oh, and one more thing:

Since I've just reinstalled the system, I wouldn't mind doing it again if that is the best solution. Now it'll take a minute compared to the first time I did it.
Reply With Quote
  #5  
Old 19th March 2009, 02:19 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Yeah, I think you can see for yourself that those are LVM physical volumes. If it's working okay, you can go with it for a while and see how it does. It's kinda what you wanted. Your partitions are just logical volumes instead of standard Linux partitions. The first drive has two primary NTFS partitions and an extended partition than holds a logical NTFS partition, the ext3 Fedora boot partition, and an LVM PV. The other drive has a primary NTFS partition and a primary LVM PV. The partitions of your Fedora system are logical volumes inside those LVM PVs. Both drives are filled, and all cylinders are accounted for. It looks okay to me.

If you are new to Logical Volume Management, it will be "invisible" in the ordinary use of the system. But if you ever need to do any kind of partition management or maintenance (e.g., resizing, emergency access to your files, etc.), then you will then have to teach yourself a new set of commands and utilities and a new way of thinking about partitions. It's all actually kind of interesting, but it has the potential to drive you straightly and immediately into madness. I don't use LVM personally, but I find it interesting and maintain one system with it just to play with it and keep up with it a little.
Reply With Quote
  #6  
Old 19th March 2009, 10:25 AM
kajman Offline
Registered User
 
Join Date: Mar 2009
Posts: 6
Yes, I understand that.

So what if I just want to get back to more "classical approach" to partitioning? I've been repeartitioning my drive for about 2 hours before installing Fedora, to have two separate drives... the thing I have is just something I didn't ask for! If I wanted it this way, I would have just used my 60gb old Ubuntu partition.
Reply With Quote
  #7  
Old 19th March 2009, 11:09 PM
kajman Offline
Registered User
 
Join Date: Mar 2009
Posts: 6
I've reinstalled the system with the config I wanted, everything is OK now.

Thanks for everyone's interest.
Reply With Quote
  #8  
Old 20th March 2009, 10:28 PM
CD-RW's Avatar
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 555
Cool

Quote:
Originally Posted by kajman View Post
Yes, I understand that.

So what if I just want to get back to more "classical approach" to partitioning? I've been repeartitioning my drive for about 2 hours before installing Fedora, to have two separate drives... the thing I have is just something I didn't ask for! If I wanted it this way, I would have just used my 60gb old Ubuntu partition.
Another approach to get things the way you want is to:

Dowload the GParted Live CD from here:

http://gparted.sourceforge.net/livecd.php

Burn it to a CD

Boot the GParted Live CD.

You can then modify your partitions before installing Fedora, or any other OS.

The thing I like about GParted is it gives a consistent approach to creating or modifying disk partitions.

Different Linux distros use different partitioners.

By using GParted this eliminates such an inconsistency.

I lost a few partitions when trying to install Kbuntu, as I was not used to the partitioner that came with it.

Once you create your partitions with Gparted, and you install Fedora again, you can select the custom partition option in the installer program.

You will also need to choose which disk you want to use. My advice is to only select the partitions you want to format in the installation process. The others with data on such as home, can be mounted later from your /etc/fstab file.

Here is what my /etc/fstab file loks like from my laptop (it only has one drive):

Code:
LABEL=Fedora-10-root    /            ext3    defaults               1  1
tmpfs                   /dev/shm     tmpfs   defaults               0  0
devpts                  /dev/pts     devpts  gid=5,mode=620         0  0
sysfs                   /sys         sysfs   defaults               0  0
proc                    /proc        proc    defaults               0  0
LABEL=SWAP              swap         swap    defaults               0  0

# added after finishing initial installation
#/dev/hda5       /usr/local          ext3    defaults               1  2
LABEL=usr-local  /usr/local          ext3    defaults               1  2

#/dev/hda7       /downloads          ext3    defaults               1  2
LABEL=downloads  /downloads          ext3    defaults               1  2

#/dev/hda11      /home               ext3    defaults               1  2
LABEL=home       /home               ext3    defaults               1  2

#/dev/hda8       /srv                ext3    defaults               1  2
LABEL=srv        /srv                ext3    defaults               1  2

#/dev/hda9       /var/lib/databases  ext3    defaults               1  2
LABEL=databases  /var/lib/databases  ext3    defaults               1  2

#/dev/hda10      /backup             ext3    rw,noauto,noexec       0  0
LABEL=backup     /backup             ext3    rw,noauto,noexec       0  0

/dev/fd0        /media/floppy        auto    noauto,user,sync       0  0

# DVD-RW drive VOM-12E48X
/dev/sr0        /media/dvdrecorder iso9660   rw,user,noauto,unhide  0  0
BTW it's better to use LABEL=part-name for mounting partitions in fstab. If you create or destroy any partitions in your extended partition, the /dev/sdxx numbers will change. This means you will have to modify your fstab entries to match. Using LABEL=part-name avoids this, as the partition labels remain the same.

To find the label for an ext2/3 partition use:

e2label /dev/sdaxx

To set the label for an ext2/3 partition use:

e2label /dev/sdaxx label-name


Another thing you might want to consider is having two / root partitions. That way when it's time to upgrade the OS, you can install the newer version on the alternate / root partition.

You can then use GRUB boot loader to switch between the older version of Fedora, if you have any problems installing the latest version. You will also have your old configuration fies available on the older root partition.
You can then mount the old root partition from the new root partition to copy an config files across.

HTH
Reply With Quote
  #9  
Old 20th March 2009, 11:04 PM
kajman Offline
Registered User
 
Join Date: Mar 2009
Posts: 6
Thank you for this information, maybe it'll become useful someday.
I have to say that I was repartitioning my drive using newest GParted version (live USB), but this version has no support for LVM partitions and it was useless in this case (I wasn't able to delete those partitions)
Reply With Quote
Reply

Tags
disk, installation, partition

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Fedora 11 be installed with (2) Geforce GTX Cards Installed? ap90033 Installation and Live Media 0 4th August 2009 12:33 AM
Fedora 8 Installed, Want to Install Vista second. how to create new NTFS partitions? Serson Person Installation and Live Media 5 13th March 2008 11:37 PM
Just installed FC5. Want to read and write to my NTFS partitions BonRouge Using Fedora 5 7th April 2006 04:05 AM
how do I installed the telnet service after Fedora is installed? prodriguez021 Installation and Live Media 1 8th September 2005 12:00 PM


Current GMT-time: 19:34 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat