Disk partition for Arch only

Hi,
at present I have Dual boot Arch with Windows. My HD is 120 GB and I want to re-partition it for using Arch linux only, plus leaving around 20GB for trying from time to time other distros. My question is how to do it properly? I have done a lot of reading, but Im still unable to decide how to go about. Now, for Arch I have only two partitions: / and /swap.
(1) Do I need /boot partition after deleting windows?
(2) Im reading that it is advisable to have /home and /usr partitions separate from / partitions. If that so, how much space should be allocated for each of these partitions?
(3) What should be the order? /boot; /swap/; /; /home; /usr?
Thanks for any suggestion.

1) Not necessarily, but it is probably best if you are going to try out other distros.
2) I don't separate / and /usr.  I have 10Gb for / - add more if you are going to install lots of stuff.  How much does you install use currently minus your home direcotry?
3) /boot first, nothing else matters but I go /boot; /swap; /; /home - I think stuff near the start of the disk gets read faster so if you hardly use swap move / to second
Last edited by Allan (2008-04-10 03:11:25)

Similar Messages

  • Creating DAS or SAN Disk Partitions for ASM

    Oracle® Database Installation Guide 11g Release 2 (11.2) for Linux (http://docs.oracle.com/cd/E11882_01/install.112/e24321/oraclerestart.htm#CHDBJGEB)
    *3.6.3 Step 2:* Creating DAS or SAN Disk Partitions for Oracle Automatic Storage Management
    In order to use a DAS or SAN disk in Oracle ASM, the disk must have a partition table. Oracle recommends creating exactly one partition for each disk.
    My question: why does Oracle recommend creating exactly one partition for each disk? For a disk to be used on Suse Linux, I normally need to at the least 3 partitions, i.e., boot, swap, and root.
    Scott

    Please read the entire manual - before starting setup and configuration.
    From the very same manual:
    Do not specify multiple partitions on a single physical disk as a disk group device.
    Oracle ASM expects each disk group device to be on a separate physical disk.So why use partitioning? If you need to subdivide a LUN into smaller LUNs and use these instead of the larger LUN. Reasons could range from LUNs bigger than 2TB in size (ASM only support up to 2TB size LUNs), to wanting partition 1's of x size for ASM diskgroup 1 and partition 2's of y size for ASM diskgroup 2.
    If you do partition, take the extra precaution of marking the partition as a non-file system (partition type <i>da</i>) to safeguard against someone (like a sysadmin looking for space) from mounting it as a file system.
    Generally though - I would not partition LUNs for ASM use.

  • Disk partitions for ASM

    A client of mine is installing ASM and I have concerns about their proposed configuration. I'd like to run it past this forum to see if my concerns are justified.
    This is a non-RAC 11g install on RHEL5. We have 32 disks (2 vtracks X 16) of 144GB each. This storage will be used for 2 DEV databases running on the same machine. They want two diskgroups per database-- one for the Flash Recovery Area, and another one for everything else.
    The client's SA wants to spread the IO out across all the disks, so he has made 4 partitions on each of the 32 disks: one partition for each diskgroup. So the final allocation of disks is going to look something like this:
    create diskgroup DEV1_DATA
      normal redundancy
      failgroup vtrak1_1
      disk
        'ORCL:DISK01_P1'
        'ORCL:DISK16_P1'
      failgroup vtrak2_1
      disk
        'ORCL:DISK17_P1'
        'ORCL:DISK32_P1'
    create diskgroup DEV2_DATA
      normal redundancy
      failgroup vtrak1_2
      disk
        'ORCL:DISK01_P2'
        'ORCL:DISK16_P2'
      failgroup vtrak2_2
      disk
        'ORCL:DISK17_P2'
        'ORCL:DISK32_P2'
    create diskgroup DEV1_FRA
      normal redundancy
      failgroup vtrak1_3
      disk
        'ORCL:DISK01_P3'
        'ORCL:DISK16_P3'
      failgroup vtrak2_3
      disk
        'ORCL:DISK17_P3'
        'ORCL:DISK32_P3'
    create diskgroup DEV2_FRA
      normal redundancy
      failgroup vtrak1_4
      disk
        'ORCL:DISK01_P4'
        'ORCL:DISK16_P4'
      failgroup vtrak2_4
      disk
        'ORCL:DISK17_P4'
        'ORCL:DISK32_P4'
    ;OK? So here's my problem:
    This means that two separate databases will be sharing the same physical device and that this will result in IO contention. Am I not right? Or is ASM smart enough to deal with this?
    The client says that the more disks we spread data across, the better the performance will be. But I am doubtful.
    Trouble is, I have never set up ASM in this way; I have only added whole disks to diskgroups. Would anyone care to comment on this setup? Are my fears justified?
    Thanks.

    Hello,
    This means that two separate databases will be sharing the same physical device and that this will result in IO contention. Am I not right? Or is ASM smart enough to deal with this?
    ASM is smart enough to deal with 2 database or more, but my concern should be if ASM instance is down or crashes it will take both the database down.
    The client says that the more disks we spread data across, the better the performance will be. But I am doubtful.
    Always test,  and i tend to agree with the client but that doesn't mean it wil be the case all the time. So once again test.
    Trouble is, I have never set up ASM in this way; I have only added whole disks to diskgroups. Would anyone care to comment on this setup? Are my fears justified?
    I didn't quite get this question, can you elobrate more here.
    Regards
    Edited by: OrionNet on Mar 9, 2009 4:40 PM

  • How to reuse the same disk (partition) for next ASM configuration?

    Hello All,
    I had successfully installed and configured ASM instance once, but I need to do a reinstallation and I would like to use the same disk (partition) as with previous ASM configuration.
    The disk path used was: /dev/rdsk/c1t3d0s7
    I have to regretfully admit that I may not have used the right ASM un-installation procedure. I ran installer and opted to de-install products. Consequently, I had removed ASM home. Now, when I running new ASM installation, everything goes fine until the screen where I should select disks for ASM configuration. Unfortunately, I see the /dev/rdsk/c1t3d0s7 with status > MEMBER < and I can't select it for the new ASM installation.
    I will really appreciate if anyone can let me know how to change status from MEMBER to CANDIDATE.
    Thank you for your time.
    DanielD

    Overwrite the first several MB of the partition with /dev/zero.
    So, use this command:
    # dd if=/dev/zero of=/dev/rdsk/c1t3d0s7 bs=1024k count=10
    That clears out the ASM header on the disk so that it looks like a clean disk again.
    -- John

  • Lost my disk partition for VMWare

    I update to Lion, I had a partition for My Virtual Windows DOS to run some resident programs. Now I can not find the partition or any shortcut to find it. I do not what to do.
    How may I see the partition without running my time machine to return to the previous OS.

    Yes I think It does, it stills there..
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *160.0 GB   disk0
       1:                        EFI                         209.7 MB   disk0s1
       2:                  Apple_HFS LDZ                     110.1 GB   disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
       4:       Microsoft Basic Data WIN XP                 49.1 GB    disk0s4
    Now the message while I try to open the WMWare
    This version of VMware Fusion does not work with the 64-bit kernel of Mac OS X you are currently running.
    To use VMware Fusion, you need to restart your computer using the 32-bit kernel of Mac OS X.

  • Disk partition for install Boot Camp

    Hi there
    Finally yesterday i get my iMac 20, but with 10.4.10 installed. Now i want to install Boot Camp to install WindowsXP.
    My question: I really need to make a partition to install Windows on a disk and the MacOSX in the other partition ???

    junihh wrote:
    Thanks XNAV for your answer but i better get Parallels, because i love the option that i can use the windows from PC as independent window, like a Mac window.
    Thanks again.
    LATE post - for those who come after:
    Boot Camp REQUIRES a single, JOURNALLED HFS+ partition (created after midnight on a full moon's wane...*grin*...It's very Particular...) as a starting point - so you better give it one.
    In response to junihh's other point: Parallels can be told to use the BootCamp partition as it's very own HDD so, my suggestion would be (as I happen to agree with you): DO IT that way and get the best of all worlds... you can STILL can use the windows from PC as independent window, like a Mac window.
    DISCLAIMER:
    : I've been in this Industry a loong time. I know a lot of people... I will always disclaim/note any pecuniary interest(s) which I know of (or remember) that're *closely relevant* BUT, MY advice will always be based on whether I'd recommend to Product or Company to a good friend -never- on $ or other considerations (I may dislike a bloke intensely but his Company may put out great software. If it does, I'll commend it to you)
    -simple example: I have some Apple shares. I could even own soft MircoSoft shares.. or other companies... I Don't manage all that and couldn't tell you so I'm not going to Iist them. with over 35 years in, in a very Busy Oz-based career in everything from Mainframes to Micros, I've encountered just about everyone some time *grin* - some grrls n Boys I knew way back are VIPs running multnationals... many, I've lost track of. You can trust the statement above: my integrity has never been for sale (any offers ? :]) If the product's good, I'll say so - for -that- reason. (I think I'll put this Epic in my profile and simply POINT to it... :))

  • Disk Partition for EHP4/Windows server 2008/SQL server 2008

    Hi All
    What is the drive partition recommendation for EHP4 ERP6 on Windows  server 2008 and SQL server 2008? I have checked the notes/ SAP Documents  but have not find any information related with SAP recommendation on this. Please help.
    I need the recommended partition size for  SAP application , transaction log,  SAP datafiles , MS SQL server installation files for DEV/QUA/Production 
    If you have a similar landscape for EHP4 ,  can you check in your DEV,QUA, Production set up  and tell the allocated and used partition size for SAP application, transaction log, SAP datafiles, MS SQL server installation files.
    Regards
    Sahad

    Hello Sahad
    As described by Markus and also, i want to share my company landscape information.
    We are using HP SAN Environment with using the SAP SR2 SQL 2005 and Win 2003 on HP Itanium Processor.
    We had reserved and present the following vdisk from the SAN Environment to the PRD server.
    F:\DATABASE                     600GB   RAID 5      ( still 200 GB free ** we lived our system on 1 Aug 2007)
    L:\TRANSACTION LOG         30GB   RAID 1      ( Expanded up to the disk space ** make backup 4 times a day )
    T:\TEMPDB                              1GB   RAID 1
    K:\KERNEL                         100 GB   RAID 5       (30 GB Free ** updaing kernely and EW tools upon the latest availability)
    Regards
    Anwer Waseem

  • Disk Partition for Windows failing

    Hi Everyone,
    May you pls help me on the following (for iMAC OS X Version 10.5.8):
    Wanted to partition main disk into two one for MAC OS the other for Windows 7 Pro, however, I'm getting error message ' Filesystem verify or repair failed'.
    Tried to fix it via Applications / Utilities / Utility Disk / First Aid / Verify Disk Permissions + Repair Disk Permissions + Verify Disk - didn't help.
    I'm getting two errors on the detailed report:
    1. The volume HOME need to be repaired 1%) ->>>> that's for checking volume information and
    2. incorrect number of file hard links ->>> that's for checking multi-linked files
    What do I need to do next to have this fixed?

    Thanks rkaufmann87. Just one more question: can I loose data? The data file is v.big, it will take me the whole day to make a backup. I'm far far from being an expert (as I see you are!), so, will you give me few hints how it will work: so, I'm inserting a CD, Mac OS X will be installing on top of the existing? will any list pop, so I may choose 'repair disk' ? What is the abbreviations for DU by the way? Sorry for silly questions (they kinda don't look so silly to me though )

  • Disk partition for Thinkpad W520

    I bought a machine of thinkpad w520. I want to partition my disk for three. How to do this? also it can not affect the rescovery disk. thank you for your advice.

    Create recovery media first, so you can restore if anything goes wrong.
    I'd say shrinking C: and creating some more logical partitions should work.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • /boot partition necessary for arch install on macbook

    I am going to be installing arch on my macbook( will be first attempt at this), and I was wondering if I definitely need a /boot partition, or will just having a / and /home partition work?
    Also, I will still have OS X SL installed. So the partitions will be like this:
    EFI
    OS X
    /home
    So....? /boot ..... definitely do need it or do not need it ? Thanks for any and all replies.

    What jakobm said. I'm triple-booting right now, so I only have 1 partition for arch, mounted as /. Have to use a swap file. Everything is smooth and awesome. If I were you, I'd have a / partition and a swap partition. Unless you really want a separate /home partition that badly.

  • Using one logical partition for / and /boot

    Hi
    on my pc i have windows and a linux. i want to install Arch and have all of them. there are some windows (ntfs) partition on my hard disk, a swap area and 2 linux partition that one of them is used by ubuntu (/boot, / , /home .....of ubuntu are in one partition which is ext4). is it possible to use the same method for Arch? i mean , i do not want to have a seperate /boot partition for Arch. is it possible? if yes, what is the recommended file system for that partition? can i use ext4? (some distroes do not support booting from an ext4.)
    Regards

    You can use one partition for arch, with no separate /boot, and arch can boot from ext4.

  • Disk Partitioning Error Windows 8.1 Installation

    What were the default disk partitions for Lenovo Thinkpad 11e (yoga)?? I'm trying to install clean OS for win8.1 but I keep getting an error " couldnt create or locate and existing partition:

    Try using a live USB of Ubuntu 14.10, verify if the partition style is GPT instead of MBR.
    Before installing Windows 8.1, delete all partitions on your HDD or SSD. And then create a new partition to install Windows 8.1 on. It will automatically also create the required smaller partitions.

  • [SOLVED] Wiki page for GPT disks and booting arch using UEFI

    Hi guys, I am new to archlinux. I installed archlinux x86_64 just yesterday and I like its customisability. I also like arch wiki. Nowhere else have I seen such extensive documentation, especially about things like HAL, UDEV etc. with proper instructions. Thanks to all archers.
    I have installed Archlinux x86_64 in my Dell India Studio 1537 laptop along with Windows 7 Professional x64. Both the OSes boot in UEFI-GPT setup (my UEFI is tianocore.sourceforge.net EDK DUET UEFI64 firmware booting from USB). I boot Archlinux using my own compiled grub2-bzr compiled for both BIOS and UEFI-x64. I have a 1 MB BIOS Boot Partition as required by grub2 for BIOS-GPT booting. My Archlinux system can boot both from bios and from uefi, while Windows can boot only using UEFI.
    The official Archlinux installation guide talks about only MBR (or msdos disklabel) partitions and booting from BIOS based systems. With 2TB drives becoming common place and UEFI being implemented (search for Phoenix SecureCore Tiano's 1 second POST operation), I think a proper wiki page describing differences between MBR and GPT, why GPT is better, how to setup arch to boot from GPT. Another page describing steps to setup arch to boot from UEFI (either as a separate page or as an extension of GRUB2 wiki page) is also needed.
    Some details regarding Pure GPT (not a Hybrid GPT/MBR setup) and/or UEFI setups :-
    Partitioning tools -
    GNU Parted for filesystem related tasks
    GPT fdisk tool - http://rodsbooks.com/gdisk/ , http://sourceforge.net/projects/gptfdisk/ ,  pacman -S gdisk (in extra repo) - for non-filesystem related tasks
    util-linux-ng fdisk does not support GPT disks
    Bootloader - GRUB2 - vanilla grub-legacy does not support GPT and does not support UEFI (Fedora's patched grub-legacy does support both GPT and UEFI) and syslinux does not support GPT (I may be wrong here - seems a gptmbr of syslinux does help in booting from gpt but not sure).
    For GRUB2 - Need BIOS Boot Partition to embed GRUB2's core.img in GPT disks - size about 1 MB max - no filesystem
    In GPT fdisk partition type code - EF02
    In GNU Parted or GParted - bios_grub flag on
    For UEFI-GPT booting this special partition is not needed as no embedding takes place. This is needed only in case of BIOS-GPT booting.
    Incase of custom kernel configuration - enable CONFIG_EFI_PARTITION for GPT support
                                                                        CONFIG_EFI for UEFI support (for UEFI even above option required)
                                                                        CONFIG_EFI_VARS for UEFI Runtime Variables support (optional)
    Note: Although GPT is part of UEFI specification, a UEFI system is not needed to boot from/use GPT. BIOS based GPT booting is possible with GRUB2 or Fedora's patched grub-legacy (but not vanilla grub-legacy provided by archlinux). It is also possible to boot Linux in UEFI-MBR setup (again using grub2) but I have not tried it.
    Even without UEFI and less than 2TB harddrives, GPT based partitioning has many advantages - secondary GPT header and Partition table, CRC32 checksums. Unique Disk GUID and Filesystem-independent Unique Partition GUIDs, multiple primary partitions (default is 128 partitions, but it can be changed). The only problamatic OS is Windows which does not allow GPT booing unless one has UEFI based system. It allows only UEFI-GPT or BIOS-MBR setups. In linux it just depends on how the bootloader is configured - not a problem with grub2.
    I also propose that incase of Auto-prepare Hard Drive, the installer default to GPT for "archlinux only" installs ( ie no dual-boot or triple-boot etc.).
    I did not use the official archlinux iso but used archboot 2010.04 R3 as it gave an option of installing to GPT and also provided GRUB2 during bootloader install. I have never edited any wiki page before, thats why I request some one else to start a wiki page with the information given above.
    I don't know whether this is the right place, but any Windows (Vista or 7 x64 versions) and Linux dual-boot user who has UEFI-based system with GPT partitioning and wants to get rid of Hybrid MBR setup (to boot Windows) can follow this post http://www.insanelymac.com/forum/lofive … hp/t186440 (outside this forum) - this link describes the way to make Windows boot natively in UEFI-GPT setup. After doing this one can install arch using GRUB2 compiled for UEFI x86_64, and Windows will also see
    Last edited by skodabenz (2011-01-30 19:32:48)

    Welcome to arch, skodabenz! Offering documentation on third post - all thumbs up
    You could start the wiki page in your user-space with what you have, and then invite others to join working on it. Just register a wiki account, navigate to the page you want to start, for example:
    http://wiki.archlinux.org/index.php/User:skodabenz/GPT
    and click on "edit this page".
    As noted in the other thread, arch's legacy grub is patched for gpt support. I don't know about UEFI, but you can always open a bug report asking for the patches from fedora to be included.
    edit: the page from Rod Smith is a great resource. I was absolutely terrified at first by all this screwed up GPT/MBR stuff when I tried triple-booting Arch, Win and OS x, but he really does a great job explaining what it is all about.
    Last edited by hokasch (2010-05-21 15:44:08)

  • What's the best way to partition my disk with Vista, Arch, and data?

    Hey everybody, I'm in a bit of a quandary here and I'd love a bit of help.
    I have a 320 GB hdd on my new laptop. I want to dual boot Windows Vista and Arch, with a shared partition for data in between. I have Windows Vista installed with 110 GB of unallocated space. (Windows, being a piece of crap, has gone and locked some stupid system files at the end of its partition, completely preventing me from shrinking it any further.)
    Vista has hogged two partitions for itself. One is C:, and I know what that's for; the other is D:, and I have no idea what lives on it. (In the off chance that anyone here knows, I'd actually like to find out what D: is doing there. It takes up 77 MB, 65 MB of which is empty, and is always "in use," and yet Vista's file manager says there's nothing in it.)
    ANYWAY: Vista's taken up two partitions, and I need at least two for Arch: / and swap. Ideally, I'd like to have one for /home as well, but i don't know if that possible. I also really, really want to have a shared partition for music and documents and such for both OSes.
    I thought at first I could stick all of Arch into an extended partition, but I read here that they can't be booted from. It doesn't make any sense to put my data partition into an extended partition, and Windows won't work either. What should my partition scheme be, since I apparently am going to need to put 5 primary partitions on one disk?
    If you've gone this far, thanks for reading my wall of text. Any advice you can give would be deeply appreciated.
    UPDATE: Okay, after doing a bit more research, I've read in a couple of places that Linux can be installed to a logical partition as long as I make sure GRUB (installed, I assume, on /dev/sda) points to it. Can anyone confirm this?
    Last edited by wirenik (2008-11-29 07:27:46)

    wirenik,
    You can't have 5 primary partitions.  4 max, or 3 primary partitions, and a bunch of logical partitions grouped inside an extended partition.  Arch will gladly install into a logical partition.  (Yes, it will boot just fine too )
    If you currently have 2 partitions, you could create one more primary, then use the rest of the disk as an extended partition.  You will then be able to create as many logical partitions as you want (well, a bunch anyway).
    Something like this:
    /dev/sda1 (primary, Windows C)
    /dev/sda2 (primary, Windows D)
    /dev/sda3 (primary, Arch root)
    --- Extended partition ---
    /dev/sda5 (logical, Arch /home)
    /dev/sda6 (logical, swap)
    /dev/sda7 (logical, shared data)
    Last edited by peart (2008-11-29 07:26:07)

  • Disk partition issue.Cant allocate the free space for windows.ls help.

    I have created a partition for OS X (200GB journaled, encrypted) and also left 51GB unallocated for Boot Camp later on.
    After I successfully installed OS X 10.9, I wanted to install Windows 8.1 with Boot Camp. But Boot Camp only wants to shrink the Macintosh HD partition, and doesn't want to use the free space left on the drive. So I switched to Disk Utility, to try it that way. But in Disk Utility I wasn't able to create a new partition (if I press the 'partition' button it just doesn't do anything).
    Next, I tried to switch of File Vault 2, let it decrypt itself, restart, and then try it again in internet recovery mode. But still, I cannot expand the Macintosh HD-partition or create a new partition.
    Disk Utility log:
    2014-09-04 00:42:31 +0200: Preparing partitioning: 'APPLE SSD SM256E Media'
    Also, Disk Utility tells me there is 200.000.000.000 bytes of 200.000.000.000 bytes used, and 0 bytes of free space. Even though not even half of the drive is colored blue (which displays the amount of data on the drive). Finder tells me only 88GB is used.
    I used the new installation for no longer than half a day, so there can't be issues that data is spread over the whole volume. Disk Utility can't find any problems, and tells me the disk and all of her volumes are okay (in green texts).
    I also tried to start from a windows-install-usb, and tried to make a partition of the 'unallocated space', but then Windows tells me that it fails because the volume is part of the 'GPT partition style'.
    What do I have to do to repartition my volumes!?
    I'm using a MacBook Pro Retina 15" (MacBook Pro 10,1) with a 256GB SSD (251GB according to OS X).

    As you're finding, a limitation of basic disk is that it only allows 4 primary partitions or 3 primary partitions and an extended partition.
    http://technet.microsoft.com/en-us/library/dd163549.aspx
    For information on converting basic to dynamic as well as considerations prior to doing so, consult this article.  It should help you make a decision whether or not you want to convert the disk:
    http://technet.microsoft.com/en-us/library/dd163552.aspx
    If you decide to convert, get a backup so that no matter what you're covered. Not that it's risky, but better safe than sorry.

Maybe you are looking for