Debian :: Partitioning The HD During Installation?
Dec 15, 2010
I am trying to install Debian Lenny on my iMac. When the installer menu comes to the partitioning scheme, I have no choice other than "manual partitioning".
Based on what I have read so far, I think I need to have at least two partitions:
- a root partition (/) but for how much space I am not so sure yet
- a swap partition equal to the amount of my RAM (which in this case is 2 GB DDR3): is this correct?
I wonder if I should furthermore make a "free space" (around 1 GB) and a boot partitions as well. Should I make any further partitions?
I want to devote some 50 GB of space to Debian so how the rest of this space should be partitioned: that is, when I am done with root, swap, free space, and boot, I am still left with a considerable amount of space.
I have a Intel DH67CL motherboard with UEFI support(and updated to latest BIOS). I have connected a 180GB Intel 330 SSD into my system so as to install Debian testing.
Presently, a 160GB sata hard drive is connected along with SSD and is used to boot default OS.
1. I am planning to do GPT partitioning. I am totally new to GPT partitioning. from what I understands, It needs some mandatory partitions like ESP. My doubt is, in a SSD solely booting Linux, will I need to create separate /(root) and /home and /data partitions? Also, I plan to use /var/log and some other frequently updated directories moved into existing harddrive.
So, what is the partitioning order - is this fine - ESP(512MB), /boot(100MB), /(30GB), /home(50GB) and /DATA(50GB) and remaining 16-17GB for over provisioning for the SSD?
2. is there a need to have 128MB MSR(microsoft reserved) in the case of Linux
3. With gdisk or parted for creating partitions? how to verify if partitions are aligned. In GPT, only primary partitions are supported?
4. Some answers in askubuntu/superuser says ext4 is not really good for SSD, instead take JFS? is this true? Is Btrfs mature enough to use with Desktop system
5. Which bootloader? gdisk creator Roderick is pushing for rEFInd or gummyboot instead of GRUB2.
6. In my PC, 4GB RAM is available with a core i3 processor. Shall I mount /tmp in RAM? Will I need to specify the size of RAM when mounting using /etc/fstab? A size of 1GB is fine?
So I am helping a friend (computer n00b) to install Debian Squeeze over the telephone, since his Vista had crashed, and after we set up the partitions like so:9† †GB† †/1GB† † † swap† 150 GB† †/homeIt "hangs" for a while, i.e. nothing happens, and then it says that it "failed to partition disks". It did not give any error codes, and I did not see the message first hand, since I was doing it over the phone, but I was thinking that there is something wrong with the hard drive (causing Vista to crash perhaps?) so could this be circumvented by just using the first (or last) 10-15 GB of the disk?
So, I've got as far as partitioning the hard disks on my Sun Ultra 450 Enterprise system, but it always fails with:
SILO (Sparc Linux Loader) can only boot the kernel off of a disk with the "sun" partition table. In the current partitioning scheme the kernel is going to be installed on the /boot partition located on a disk with the partition table of type "msdos".
What is this error message trying to say in its ambiguous way?
I selected automatic partitioning, but it got me to the same place as manual partitioning before it failed in the same way.
I installed four used hard drives in this system - they may have come from PCs for all I know. However, they are SCSI SCA drives, which makes it hard for me to believe they came from a PC environment.
If they did, do I need to to a low-level (or high-level) format of these drives to wipe out the "msdos"ness of them? If so, how do I do that in the SILO installer?
This has now happened with 3 computers. I boot the i386 iso on a usb stick and I enter my name fine and create an account with a password, and then after the time is checked, the installation gets halfway through the hard disk bar and then suddenly it freezes. Sorry if i'm a little unspecific, I've forgotten what the name of the process was exactly and I don't want to have to try again if unnecessary.
I'm new to the Debian, but not to Linux. I've previously used Ubuntu for a few years, so I know something about how a successful installation should look like. I'm currently using Windows 7.
I downloaded the debian-6.0.3-amd64-gnome-netinst.iso from [URL] ...., and then made a USB pendrive using the Windows version of Unetbootin. The MD5 sum for the .iso-file was the correct one, b663727d7f5b572c329cea8e2ff5e29c.
I used the usual non-graphical setup, without any special options. The installation process went without hiccups until the "Starting up the partitioner" -screen freezes at "Scanning disks...". The bar stops at 50%. It never progresses any farther, even after an hour. It doesn't give any errors either. After I pressed Alt+F4, the last lines were:
Code: Select allpartman:¬† ¬†No matching physical volumes found partman:¬† ¬†No volume groups found partman:¬† ¬†Reading all physical volumes. This may take a while... partman-lvm:¬† ¬†No volumegroups found
Exactly the same happens with firmware-6.0.3-amd64-netinst.iso too, or any of the live versions I tried. The result of graphical installation was also nothing. The USB pendrive created by LinuxLive USB Creator was nonoperative in exactly the same way.
The computer is brand new, without any previous OS installations. My desktop computer has the following parts:
I have downloaded the latest version of Debian for PPC to run on my iMac G3 600MHz 1GB ram. The problem is, is when it is partitioning the HD the computer just shuts down and restarts from the beginning. I don't understand this. I chose it to erase and use the entire disk. The HD is 80GB. I really want to install this OS!
I'm trying to perform a clean installation of 8.0.0-i386 from a CD. Seven consecutive attempts all result in the same issue: Almost immediately after commiting the disk partitioning settings (i.e., to begin formatting), the computer does a hard restart. I have tried doing the partitioning as early as possible in the installation process, just in case the system is running out of memory; I have also tried using the lowmem option. I suspect the problem may be related to my very old hardware...
Micronics serverboard 440BX chipset* Dual Pentium II 450MHz CPUs* 1GB ECC RAM* Adaptec AHA-2940UW SCSI adapter IBM Ultrastar 36GB UW-SCSI HDD ATAPI CD-ROM Matrox G100 AGP video card* *starred items are all original parts from an Intergraph server with validation/verification stickers attesting to their intercompatibility
No POST errors, the HDD passed verification using the Adaptec ROM utility, all unnecessary hardware removed
Could it be that I need an older release or some custom-compiled kernel? The only thing I could come up with on the web was that a lot of people have a similar failure with modern distros on non-PAE CPUs, but the P-II should not be susceptible to this problem.
I'm trying to install Debian Jessie beta2 on a UEFI laptop. The installation worked just fine before with setting in manual partitioning an EFI system partition and a root partition.But when I try to partition with root as an encrypted volume I get this error when I wanna write changes to disk:" the attempt to mount a file system with type vfat in scsi1 partition sda at /boot/efi failed"When I choose resume partitioning the installer then freezes at "detect file systems".
Because my harddrive needs specific alignment I've made beforehand in gdisk:EFI System Partition of 100mib at /dev/sda1/boot partition of 512mib at /dev/sda2/ (because I expect the installer to want a /boot too for an encrypted device)rest of harddrive reserved for root at /dev/sda3
How to best manage partitioning when install programs not from debian repositories?I just discovered that Debian installs applications not from repositories to /opt and /lib. Both directories or folders reside in root (/) partition.Having made my root (/) partition (which is only around 500MB) -- more than sufficient for holding a couple of linux images but NOT good for holding application.What is the best solution for resolving this? It's annoying and worrying that my system always reminds of a close to full capacity root partition.
I am trying to install 2 or 3 versions of linux on my hardisk of 500GB capacity. The configuration of my machine is Intel Dual Core, 4 GB Ram, 3.0 Processor Windows XP is not installed on this. I tried to use a tool called GParted but was unable to use as it was not able to bring up the XServer So I booted the machine with fedora14 installation CD and chose "Custom Layout" After reading about the partitions needed by Fedora I created 3 partitions in /dev/sda /dev/sda1 the boot of 500MB formated as ext4 /dev/sda2 the swap of 6096MB formatted as swap /dev/sda3 / size 150GB formatted as ext4
The installation went well and fc14 runs well on this. However when I went to install the other linux version ....the installer was not able to recognize the unallocated space of nearly 350 GB on the hard disk.....So I am not able to create new partitions and then install the new linux on the newer partition. As a result I am unable to make use of the remaining space on the HDisk. I think I should have created /dev/sda4 /dev/sda5 etc when I installed fc14 itself....
What is the recommended method these days for command line partitioning and formatting for the Terabyte size hard disk.?
It was easy to keep up when your working or have access to hardware for re-purposing, but that has all dried up and my knowledge has been left behind. The problem(s) are with new, recent hardware
Following a crash from a now detectable faulty stick of RAMM, I've lost one of my data hard disks and my fiddling with replacement seems to leave various errors/warnings mainly about GPT not supported and this message is still present despite trying fdisk, cfdisk, gpart, gparted, and(?).
System is an ASUS mobo using SATA drives (root 500Gb: MBR+3 partitions;/, swap, /home), and two 2.4TB with single partitions.
I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:
/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?
I'm having trouble installing Ubuntu on a brand new HP DL380 G6 server. Any time I go through the install, it freezes at 33% of formatting the first partition. I have tried 9.04 server disk, 9.10 server disk, and 9.10 desktop (all AMD64). I'm running out of ideas to troubleshoot. The server is listed as supported by Ubuntu 9.04. Here's more of the hardware:
2x quad-core Intel Xeon X5550 procs 16GB of RAM 5x 300GB SAS drives in RAID-5 array (1.2TB useable)
I just finished installing with the 9.10 alternate install disk (AMD64), and after reboot, it doesn't seem to find the boot partition and just sits there after attempting to boot from CD and hard disk.
I just purchased a new MSI WindTop AE2220 with a 320 GB hard drive running Windows 7. I want to dual boot until I know I have found all of the appropriate drivers. The confusing part is that the computer came with 4 partitions as displayed in the attached screenshot jpeg. How would you recommend I resize and partition my drive?
Current Partitions (in order): Recovery Partition 14.65GB / 14.45 free Active Recovery 100 mb / 100 mb free OS-Install (c) 68.36GB / 42.06 GB free Data (D) 214 GB / 213 free
I am installing UNR 10.04 but I get stuck at the partition because I want to dual boot with windows and I am afraid to go far without professional advice. What i want to do is install ubuntu on my D:/ drive and keep xp on my C drive. This is the current state of my hard drives at the moment (screenshot.png). I don't know what all the boxes to the right are for either. Also my D drive (which I want ubuntu on) has ext4 on it from a previous failed attempt to install linux mint. Because of this when I go to install ubuntu it shows xp on the C drive and linux mint on the D drive although the installation was botched and I cant really boot into linux mint. I have provided a screenshot of this too (screenshot-1.png). How to install UNR on my D drive properly. Iknow I need to add a swap partition how do I do that?
I have a pc that has 500GB of hard disk space, I want to install centos and use it has a dev box for java/web applications. Keeping in mind the end us of the box, what partition structure makes the most sense?
I was thinking:
/ -- 150 GB* /var -- 10 GB /data -- 340 GB**
*Since there will be a bunch of apps i.e. apache, mysql, vsftpd, postfix, trac, samba, alfresco, and icescrum or agilefant
**For all other files i.e. java/war/jar files, svn directory, backups, samba share
I need to upgrade a machine to F10 (64-bit), and I need to make a decision on whether to start using LVM or stick with the classical partitioning mode. I have used RedHat/Fedora for quite some time, and always used the standard partitions. Fedora documentation says that LVM (Logical Volume Management) partitions provide a number of advantages over standard partitions. Also, numerous contributors on these forums seem to favor LVMs. In order to make an educated decision I need answers to some questions:
1. What are these advantages that Fedora documentation refers to? 2. Is it easier to work with LVMs than with classic partitions? 3. For those of you who have experienced working with LVM partitions, what were the advantages/disadvantages to working with LVM partitions?
I need to make a fresh new installation of KDE Fedora 11 where some partitions are formatted using XFS. The installer's partitioning wizard has no option for XFS. I've been able to load the XFS module as root (modprobe xfs) but it looks like the XFS tools are completely missing. Two of these partitions are / and /home so it'd be quite hard to do the "switch" after the installation.
I have read the FAQs at [URL] as well as the XFS thing by Colin Charles. But as I am new to Fedora I don't understand the sentence "At the installer prompt, type this ...". If the installed is the bootloader, then adding the xfs in the end of the boot line won't help. If the installer is the iconized program I see on the desktop after the end of the boot, the it's name is "liveinst" and adding the xfs option won't help.
Whenever I try to install Ubuntu 9.10 x64 from a Live CD the installer freezes or quits when trying to partition the drive. I tried booting into the Live environment and using GParted but that would only let me make a ReiserFS partition without crashing. With the Reiser partition I tried the installation program again but this time the installer froze when trying to install the files.
My system specs are: AMD Athlon 64 X2 6000+ (3.0GHz) 4GB RAM 500GB SATA2 HDD ATI Radeon HD 4770
Currently it also has a second SATA2 HDD with Windows 7 installed but I disconnect this during installations
I have a laptop running Ubuntu 8.04 LTS and I need to upgrade to the new Ubuntu, I order to get complete use of my hardware. Usually when I install a new version of Ubuntu, I have the opportunity to use my old partitioning, but now I can only use the entire disk or create a new partition table.
The laptop has other partitions that is a data and a Windows partition as I want to preserve.
How can I install the new Ubuntu on the old Ubuntu partition and preserve the data on other partitions?
I have tried installing Ubuntu 9.10, 64 and also 32 bit versions, neither works. During the install, I get to the step where the installer wants to bring up and show the partitions but the partitions never appear. If I quit, I am show the Ubuntu live screen where if I bring up Gparted and choose to install on the unused partition (second half of a data drive), the install proceeds but stalls at about 15% partitioning of that space.
I have installed Ubuntu many times before, have used gparted live to resize and create partitions in the past, something seems really amiss this time. And all I can think of is that I now have Windows 7 Ultimate 64 bit (quad core AMD processor, 64 bit, 8GB ram; two hard drives, Win7 on the first drive, second drive is data on a partition and an empty unused partition to which I unsuccessfully try to install Ubuntu 9.10.
Is it just Win 7 messing this up? If it is Win7, that is very very disturbing.
I was not even able to get Wubi to work-- in installed, but then when I rebooted and chose to boot into Wubi I got an endless jam up of errors windows on the screen saying there was no "/" root partition.
I am trying to put together a customized automatic installation of Ubuntu 9.10 Desktop for a set of computers I manage at work. Since there are other servers in my department that are Red Hat based, I was introduced to Kickstart so I have been using that exclusively.
I have almost my entire installation automated using Kickstart with the exception of the partitioning, which is as follows:
My problem that I am asking for help on is that the Kickstart automates everything until the clearpart, where it then asks 2 questions which I would like to figure out how to automate the answers to (preferably within my Kickstart script)
The first question is the install process telling me about my currently configured partitions and mount points. Asking me if i want to "Undo changes to partitions" or "Finish Partitioning and write changes to disk" which I of course want to finish partitioning.
The second question is telling me if I continue the changes listed will be written to the disks, and asks if I want to "Write changes to disks?" which I want to select Yes for automatically.
Like I mentioned before I have searched the web and this forum for any potential way of doing this, but so far have come up with nothing, so I figured I would ask the experts out here and see what suggestions come up. I realize the Kickstart is not completely implemented in Ubuntu, however since I have everything written in Kickstart already I would prefer to stay within the Kickstart script to fix this.
I would like to know if using VHD (Virtual Hard Drive) is a better method instead of resizing Hard Disks / partitioning etc....What I was thinking of is a method whereby I creeate a VHD file and link it to Windows 7 Boot Loader .. I am actually not in favour of either Virtual Box or VmWare as I have to load into an OS and launch it and I dont personally like the "host" --"guest" way of functioning wherein you have to keep toggling ...Also you dont get a real feel of a virtualized Application or Distro....
It is safe , but you cant test the real potential of a distro in terms of Hardware recognition ..It is a shadow of some existing OS whiin which resources are shared.. For instance my wireless adapter is used as a "wired" connection in Virtual Box.i dont know if the distro per se recognises my wireless.Also RAM is shared so speed is reduced.. So I read that in Win 7 you can create a VHD and also use BCD edit to invoke it at bootup...I am thinking it is in the same manner as a Virtual Box /Vmware way of functioning but with advantages like
1. Quicker bootup 2. Ease of Use ( no need for partition hassle)..Just create / delete HD files 3. Full Hardware resource utilization 4. Independent functioning 5. Dynamic storage
1. 2 TB limitation for files...But that is way too much for me!! I hardly use even 40 GB! Is this advisable or is there a basic flaw in my assumption?....I can have one permanent OS - either Linux or Win 7 and operate my system without bothering about file systems , resize etc