Ubuntu :: Where To Store System, Home And Swap Partitions On Two Disks
Dec 22, 2010
I have got 2 disks available and would like to create 3 main partitions: one for file system (maverick), one for home folder and one for linux swap.
I read many howtos and now I feel more confused!
I would like to obtain the more efficient solution in order of speed (performance): as far as I can understand (not so far) .. it seems that the best choice is:
Quote:
disk 1: [beginning] ubuntu | home | others [end]
disk 2: [beginning] swap | others [end]
My situation now is, according to guides I read before:
Quote:
disk 1: [beginning] ubuntu | others [end]
disk 2: [beginning] home | others | swap [end]
now .. before moving all my staff ..
I thought to have understood that ubuntu use swap only for hibernation / suspend activities, and therefore it's recommendable to put the system at the beginning of one disk, and the home folder at the beginning of a second disk in order to have quickly two disk reading / writing on the right position without moving too much and spend time.
But now I'm confused because it seems that ubuntu DOES use swap for normal activity (and so it's better to put it) at the beginning of a second disk.
I always saw my swap next to zero during my activities .. is ubuntu using swap like windows with pagefile.sys?
View 1 Replies
ADVERTISEMENT
Feb 9, 2011
I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?
View 1 Replies
View Related
Apr 30, 2010
Is there a command that tells you what the partitions are fdisk -l shows partitions I want to know which is root swap home etc, Labels the partitions?
View 6 Replies
View Related
Jan 18, 2010
I have a new laptop, the HDD is 160 GB size, I would like to install several linux distros, such as Debian, UbuntuStudio and BackTRack, the HDD partition would be like this:
- first logical partition (100 GB): 3 ext3 extended partition (1 partition for each distro)
-second logical partition (2 GB): swap
-thid logical partition (55 GB): ext3 /home partition
-four logical partition (3 GB): free space
is possible to share the swap and the /home partition between the 3 distros?
View 4 Replies
View Related
May 1, 2011
Installed Ubuntu along with Debian on my Notebook and use Grub Manager to choose between them on startup. Since i like Debian now a lot (in past days it was a very hard system to handle, but there has been some progress i noticed), i have to change some things (want Debian as main system now) For Ubuntu i have: (was meant to be main system on Notebook) "/", "/home" and a "swap" partition, but since i am now going to use mainly Debian, i wanted to store my files all in the "/home"-folder of my extended Ubuntu partition (has much more space available) not in the "/home" folder of the Debian system. So i want both (Debian and Ubuntu) to use the same extended partition ("/home") which i created for Ubuntu to save their files like downloads, videos, and so on.
View 14 Replies
View Related
Jun 15, 2011
I recently got a new laptop and I'm trying to figure out how to divide up its partitions. I was thinking that I would install Ubuntu on a relatively small partition and store all of my files on the NTFS parition, linking them back to Ubuntu.
What's a comfortable size for an Ubuntu parition?
Also, I've tested 64-bit Ubuntu and it doesn't seem to have any major problems. Though I might upgrade, I only have 4 GB of ram right now. Should I install 64- or 32- bit?
View 9 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
Apr 3, 2011
Brand new HP Compaq Presario CQ56, want to dual-boot 7 & Ubuntu. Too many partitions I think:
HD0 - 298.09 GB
System
199 MB NTFS
C:
279.36 GB NTFS
RECOVERY D:
18.43 GB NTFS
HP TOOLS
103 MB FAT32
Want to add Ubuntu + Swap in the 90 or so GB range, fairly new to partitioning. Trying to create recovery disks using system tools is over 16 Gb, for that kind of expense I may as well just order recovery disks OEM if (When) Windows falls apart.
View 1 Replies
View Related
Jul 1, 2011
I've a clean installation of Ubuntu 11.04 (AMD64) and i'm having problems with automount ntfs partitions/disks.
[Code]....
View 1 Replies
View Related
Aug 17, 2010
I use slackware 13.1 and I want to create a RAID level 5 with 3 disks. Should I use entire device or a partition? What the advantages and disadvantages of each case? If a use the entire device, should I create any partition on it or leave all space as free?
View 4 Replies
View Related
Oct 27, 2010
Unitl yesterday I have a pc with ubuntu server and desktop. Server I installed first. Desktop later. But I want to remove that server and use the space for other stuff..I mess with Disk Utilities and gParted and remove the ubuntu server partition. But now my grub2 stops working. How can I restore grub2 on the desktop partition and use the unallocated space for desktop without loosing any of my stuff? I have a scanner, webserver running, samba and other apps up and running on desktop.I can boot via live cd, and I get this on sudo fdisk -l:sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
View 8 Replies
View Related
May 12, 2011
On my only hard drive, I have it partitioned for Windows 7 and Ubuntu 11, Earlier today I performed "Shrink Volume" on the Windows partition, successful, opened 22.74GiB I would like to increase my 10GiB Ubuntu 11 Partition to 16GiB, then create a partition for trying out chromium. I know the following discussion I am going to sound like a noob but for simplicity bear with me. When I say "left" I actually mean tracks closest to the center of the cylinder and right, those further away.
sda1 and sda2 are my Windows 7 Partitions, Then I have 22.75GiB of unallocated space from the shrink volume, then sda3 extended, sda5 swap, and sda6 ext4 /. How do I "slide" the swap and Ubuntu 11 ext partitions to the left while maintaining their contents? Am I just as well backing up, then formatting the Ubuntu 11 partition? My first thought was to ghost the Ubuntu partition to the unallocated space then updating grub, but grub did not see it. The following is a screenshot of gparted's view of my HD.
View 2 Replies
View Related
Oct 11, 2010
I'm trying to install Ubuntu 10.10 in a desktop computer with three disks. SDA with NTFS in SDA1, where I have Windows XP, SDB where I had Ubuntu 10.04, and SDC where I have an NTFS partition. I want to install Ubuntu 10.10 in SDB without loosing the data in SDA and SDC. When I try to install it, when I choose specify manual partition, I only find this: Where is SDB abd SDC? What do I choose in Device for Boot Loader Installation?
View 2 Replies
View Related
Jan 18, 2010
I have an CentOS 5.4 install with several swap partitions of 2048Mb each (someone suggested to me the OS would run better like this?). But, I have a few other partitions and I'm sick of having so many to check and monitor. Also, having set up another machine with only one swap partition, I am not finding it running any better/faster.How do I go about deleting all the swap partitions and making a new one (to fill the exact same space as ALL of the old ones)?
View 9 Replies
View Related
Nov 11, 2010
I am using my flashdrive to install. I allocated 200gb for window 7 ult and used partition magic to format the rest to ext3 and swap for DISK 1. But when I try to install Ubuntu, installation can't seem to find the ext3 or the swap. It only sees my other drive in RAID 1.
My harddrive setup
Disk 1(RAID ready)
NTFS 100 mb - System
NTFS 195.21 GB
EXT3 253.88
Linux Swap 16.46 GB
DISK 2 (RAID 1)
NTFS931.31
View 8 Replies
View Related
Sep 1, 2011
I have installed Ubuntu 11.04 for a friend on his new laptop. First I shrunk his Windows partition and then installed Ubuntu 11.04 direct from the Live-CD. Everything worked perfectly and he is very pleased. However I noticed one strange thing. When I ran GParted on the installed Ubuntu Desktop I noted that Ubuntu was installed on an extended partition, /dev/sda4, with the ext4 root file system on /dev/sda7 and three linux swap partitions each of 7.85 GiB. Only one of these swaps partitions is "on", ie with a key next to it. The other two seem to be just wasted space. Why did the install partition three swap spaces?
On a similar theme, on my own machine I installed 11.04 next to my 10.04. This time it installed two additional swap spaces (see problem above). I removed them both and altered the fstab to the UUID of the existing 10.04 swap space and it works perfectly. So my second question is why doesn't the install use existing swap spaces rather than creating new one(s)?
View 1 Replies
View Related
Jun 15, 2011
we have purchased the Dell PowerVault NF 500 NAS Storage Box with Window Storage server 2003 is Installed.we have LDAP server for authentication the user in network for accessing network resources.All ubuntu users on client side use ubuntu(LDAP server )for user authentication.when a user logon on client side machine his home directory is created on client machine .
but we want to use the NAS storage device to store the home directories of user.we want to implement that ,whenever a user logon his home directory is created on powerValut NF 500 storage device so that all user data is stored centrally for taking the backup .we want to mount NAS storage device so that user uses when they login and create user profile.
View 1 Replies
View Related
Dec 8, 2010
I installed Fedora on a VMWare, hosting OS is Windows 7
How can I access Disks and NTFS Partitions on the Host OS "Windows 7"
From Fedora?
View 1 Replies
View Related
Sep 1, 2010
I have two SATA disks, 80G and 1T. Using "df" command we can see the all partitions:
/dev/sda3 6.7G 2.5G 3.9G 40% /
tmpfs 1.7G 0 1.7G 0% /lib/init/rw
udev 1.7G 220K 1.7G 1% /dev
[code]...
View 10 Replies
View Related
Jul 27, 2010
I have two disks, sda and sdb. Each has a partition that is part of a mdraid array for /. Each one also has a swap partition, and both are used by linux. I've heard that hibernation won't work with two swap partitions. Is there any workaround, other than only using one swap partition?
View 4 Replies
View Related
Jun 21, 2011
I've installed some Linux distributions over the past few weeks, and I've recently noticed that previous installations of Linux have left my hard drive cluttered with numerous 4 GB swap partitions. I've since deleted them, but is there any way to avoid this a priori in the future?
View 12 Replies
View Related
Aug 20, 2010
In what files/dirs in the home dir does xfce store the user config data?
Or if you like.
What files do I need to restore from backup in order to restore my xfce desktop with all the different settings I made?
Edit: All user config files is usually stored somewhere in /home/$USER/. And since all the programs, kde, xfce and gnome stores their config there, this question is about what files belong to the xfce desktop.
This is my guess of what files belong to the xfce desktop:
.config/Thunar/
.config/xfce4/
.config/xfce4-session/
.config/user-dirs.dirs
[Code]....
View 1 Replies
View Related
May 11, 2011
I'm a "new" Linux user, have been using Ubuntu for the last year with no problem but I decided to try out a different distribution to get more experience. So I decided to go with openSUSE (which I have been using on a VirtualMachine back at work). I have download the ISO, created an liveUSB (because my laptop dvd isn't working properly) and wanted to install openSUSE on the hard drive partition where currently Ubuntu is. So, I suppose that in order to do this I should choose the option "Import mount points" and select the Linux partitions (drive and swap) and that would be it.
View 2 Replies
View Related
Jan 3, 2010
I was trying to install Ubuntu as a dual-boot on my Windows Vista laptop. The hard drive is 250 gb: Vista boot 157 gb partition; a partially-occupied 33 gb partition which was designated as swap-space; a newly partitioned and ext3 formatted 30gb for the Ubuntu installation. I believe there is also a hidden partition ~20 gb with "hidden" system info. During installation I received an error message concerning the swap space partition, which forced me out of the installation and back to the ubuntu partition manager screen. Now in Vista my 33 and 30 gb partitions are missing. Is there anyway I can get back to pre-Ubuntu state?
View 4 Replies
View Related
Oct 11, 2010
Can I delete the ext and swap partitions from disk management on windows 7 ? Because I want to install a fresh new copy of ubuntu 10.10 . I know it would affect windows 7 boot up.I can handle it by system restore Anyway can I do it or not ?
View 5 Replies
View Related
Sep 9, 2010
On my triple-boot PC:
Code:
SuLinux:~ # fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
Will the above procedure accomplish this objective, without crippling openSUSE ? The second swap partition has never shown any activity (on SUSE). I understand (from Using shared swap files) that a single swap partition may be shared. Since these areas are relatively small, It is not inconvenient to maintain separate swap partitions.
View 9 Replies
View Related
Jun 10, 2010
By fiat I must distribute my homedirs across multiple physical disks/partitions. Unfortunately this is not open to discussion so obvious solutions like a lvm home partition are not available to me. The issue: Users created with homedirs on the main home partition (the one created as home during the f13 install) behave as expected, but if I create them on a different partition (home9 for the sake of this example) the users are not able to login (dropped back to login screen), nor run x-apps if su -'d to in a konsole.
If I 'su - <user-on-home9>' in a konsole, I get delivered to the /home9/<user-on-home9> as expected, but x-apps fail with the error: 'cannot open display: :0'. This can be temporarily fixed with the command 'xhost +SI:localhost:<user-on-home9>', but I would rather fix it permanently at the source.
This appears to be an selinux problem from the following.The contexts of the the two rootdirs are the same
% ls -Zd /home /home9
drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /home
drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /home9
but when I create the users (using useradd or the gui) their respective contexts differ:
% ls -Zd /home/user5 /home9/user6
[Code]...
So, my questions for you selinux experts are 1) is it possible to have homedirs spread across multiple partitions with selinux, and if so, how, 2) Why, even when I manually set the dir/file contexts to match a properly functioning user5 from /home, do users from /home9 still not work (as far as login and x-apps).
View 8 Replies
View Related
Jul 11, 2010
I'm trying to install Fedora 13 on my HP dv6 laptop and when I try to use the Use Free Space installation type, I receive a Partitioning Error: Could not allocate requested partitions - not enough free space on disks. Before I started the install, I used the Disk Management utility in Windows 7 to shrink the volume of the C: drive down to 242 GB and leaving 210 GB Unallocated. Here is what the screen looks like when I select Create Custom Layout (also receive the not enough free space error):
Device (sda) Size Type
sda1 199 ntfs
sda2 248,018 ntfs
Free 215,175
sda3 13,443 ntfs
sda4 103 vfat
View 5 Replies
View Related
Feb 28, 2011
I have a RHEL4 system with 2 250GB physical volumes. There is a boot partition that is outside LVM and 2 logical volumes (swap and root) within a single volume group. This volume group bridges the 2 physical volumes.
I would like to clone this system onto a single 1 TB physical volume that will replace the 2x250GB currently in use.
View 2 Replies
View Related
May 6, 2011
I'm running into problems adding the required schema for automount and ldap on Centos 5.6 (also tried Centos 5.3)In the last few days I was able to setup LDAP server and get client authentication working. I want to be able to automatically mount users home folders on logon and store the configuration in ldap.I've done the following so far
1) added include in /etc/openldap/slapd.conf to /etc/openldap/schema/redhat/autofs.schema
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/autofs.schema
View 4 Replies
View Related