Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: can i make two partitions be considered as one?

  1. #1
    Join Date
    May 2008
    Location
    Greece/Athens
    Beans
    965
    Distro
    Ubuntu 11.04 Natty Narwhal

    can i make two partitions be considered as one?

    i used to have an ext4 for jaunty, now i have another for karmic
    they are not next to each other but i would like karmic to get the extra 50gbs of jaunty now that i no longer go there, can i make my system think that the two partitions are one?

  2. #2
    Join Date
    Nov 2005
    Location
    France
    Beans
    11,192
    Distro
    Ubuntu

    Re: can i make two partitions be considered as one?

    No. Not without wiping everything, at least.
    「明後日の夕方には帰ってるからね。」

  3. #3
    Join Date
    May 2008
    Location
    Greece/Athens
    Beans
    965
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: can i make two partitions be considered as one?

    Quote Originally Posted by Bachstelze View Post
    No. Not without wiping everything, at least.
    if you mean wiping jaunty,i have no problem with that
    if you mean wiping karmic,that's a problem

  4. #4
    Join Date
    Feb 2006
    Location
    St. Louis, Missouri, USA
    Beans
    87
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: can i make two partitions be considered as one?

    Personally, I'd just leave that partition alone as a backup. (I've still got hardy installed on one partition, which I'll use either for karmic or lucid.)

    Your other best option is to back everything up, then move/consolidate your partitions. Parted might do it for you, but it might be simpler to just repartition and restore your backup.
    Any technology distinguishable from magic is insufficiently advanced.
    - Cleon, Foundation's Fear
    Linux user #143407 - Ubuntu user #14010

  5. #5
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    5,165
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: can i make two partitions be considered as one?

    Why not just mount the other partition?
    None but ourselves can free our minds

  6. #6
    Join Date
    May 2009
    Location
    Texas
    Beans
    62
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can i make two partitions be considered as one?

    if your partition on karmic was lvm you could merge them.

    http://tldp.org/HOWTO/LVM-HOWTO/
    ubuntu user since breezy badger (5.10)

  7. #7
    Join Date
    May 2008
    Location
    Greece/Athens
    Beans
    965
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: can i make two partitions be considered as one?

    Quote Originally Posted by CatKiller View Post
    Why not just mount the other partition?
    i can mount it but then they would be separate ones, i would like them to be one

    Quote Originally Posted by barthel View Post
    Personally, I'd just leave that partition alone as a backup. (I've still got hardy installed on one partition, which I'll use either for karmic or lucid.)

    Your other best option is to back everything up, then move/consolidate your partitions. Parted might do it for you, but it might be simpler to just repartition and restore your backup.
    my hard drive is 160, not enough to spare partitions as backup

    anyway, i'll find something to do

  8. #8
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    5,165
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: can i make two partitions be considered as one?

    Quote Originally Posted by chriskin View Post
    i can mount it but then they would be separate ones, i would like them to be one
    Why?

    Anyway, if they're on the same drive you could just nuke your Jaunty partition and shuffle the partitions in Gparted to expand your Karmic partition into the unallocated space. You'll need to check your GRUB configuration so that it doesn't still go looking for your Jaunty partition, but you'd need to do that anyway.
    None but ourselves can free our minds

  9. #9
    Join Date
    Dec 2007
    Beans
    1,042
    Distro
    Ubuntu Karmic Koala (testing)

    Re: can i make two partitions be considered as one?

    I can't believe no one has yet mentioned unionFS.

    UnionFS lets you merge many filesystems or even just many folders together, but keep in mind:

    • One filesystem has a higher "priority" than the other one, so if two have a file with the same name, the file from the higher priority one is shown.
    • Also, the higher-priority one recieves all new files if you create them.



    So you could empty the unused Jaunty partition, and put it in UnionFS with higher priority than the Karmic partition, and all newly-created files go to the empty partition.

    ****HOWEVER****
    Do NOT put this over your root directory! Doing so will prevent some upgrades from working properly, because the UnionFS doesn't work when you haven't finished booting yet! So if a file which is important to the boot process gets added, it will go to a seperate partition and it will be missing during boot!

    Do this to your home folder, which is where you've got all those huge, hard-disk-hungry videos etc. You can in fact mount an entire partition on top of a folder with UnionFS.




    Honestly though, it's probably best to redo your partition table. And in the future, set up a dedicated home partition so you can share your documents and stuff accross multiple distros!
    He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty he establishes a precedent that will reach to himself.
    -Thomas Paine

  10. #10
    Join Date
    May 2008
    Location
    Greece/Athens
    Beans
    965
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: can i make two partitions be considered as one?

    Quote Originally Posted by MaxIBoy View Post
    I can't believe no one has yet mentioned unionFS.

    UnionFS lets you merge many filesystems or even just many folders together, but keep in mind:

    • One filesystem has a higher "priority" than the other one, so if two have a file with the same name, the file from the higher priority one is shown.
    • Also, the higher-priority one recieves all new files if you create them.



    So you could empty the unused Jaunty partition, and put it in UnionFS with higher priority than the Karmic partition, and all newly-created files go to the empty partition.

    ****HOWEVER****
    Do NOT put this over your root directory! Doing so will prevent some upgrades from working properly, because the UnionFS doesn't work when you haven't finished booting yet! So if a file which is important to the boot process gets added, it will go to a seperate partition and it will be missing during boot!

    Do this to your home folder, which is where you've got all those huge, hard-disk-hungry videos etc. You can in fact mount an entire partition on top of a folder with UnionFS.




    Honestly though, it's probably best to redo your partition table. And in the future, set up a dedicated home partition so you can share your documents and stuff accross multiple distros!
    thanks, that seems to be a worthy temporary solution, since that's what i'm searching for

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •