Ubuntu :: Boot Faster With Swap As Primary Partition?

May 10, 2010

I was unsatisfied with the 40second boot time of lucid and was searching for a solution for a while but didn't find anything yet. But today I found a way to boot 10seconds quicker.Lucid is installed here as suggested by the installer:

Primary rootpartition (/dev/sda1)
Logical partition (/dev/sda4)
swap (/dev/sda5)

[code]....

View 2 Replies


ADVERTISEMENT

General :: Where To Put My Swap Partition / Primary - Lvm?

Jan 11, 2011

I'm installing the ubuntu on my new computer with 1 TB hard drive (and core i7 870 with 4G RAM), for the purpose of scientific computing. I have two questions:

1. Since I am not absolutely certain that the simulation won't use larger swap space than usual (say 3x4G = 12G), I intend to set it initially as 12G keeping in mind that I might have to extend it later. So one might suggest putting it on lvm partition. But then I read that I can maximize the speed if I put the swap at the outer track. If I mix it with the other logical volumes in the same volume group, then I don't know where my swap space is across my hard drive, isn't it? So this might suggest I make it as a primary partition. I'm stuck..

2. My current planned partition map is
/ 1G
/tmp 10G
/usr 20G
/var 5G
/home the rest

taking into account I will install MATLAB and maybe other visualization software. What do you think of this scheme?

View 8 Replies View Related

General :: Faster To Have More Primary Partitions?

Mar 13, 2011

Why is it faster to have more primary partitions when using Linux? Please give some real examples; I know some theoretical reasons but I don't understand them well.

View 2 Replies View Related

General :: OS Only Can Boot From Primary Partition?

Dec 14, 2009

One question:An OS only can boot from primary partition, not in an extended partition ?
grub 0.97

View 7 Replies View Related

Ubuntu Installation :: Grow Boot Sector. Delete Swap Partition. Can't Boot Afterwards.

Mar 7, 2010

I'm running 9.10 off of a 4 GiB CF card. I keep running into space issues with updates, so I purchased an 8 GiB replacement card. I've cloned the 4 GiB card to a .IMG file using DD.I've then copied the 4 GiB image back to the 8 GiB card using the Ubuntu startup disk creator program. Once done, I'm able to properly boot off of the new 8 GiB clone.Unfortunately, the clone ends up with 3.67 GiB of unallocated space at the end *see attached). I tried deleting the "extended" partition that the swap is located at after booting from a Live CD and the system was unable to boot after this. I was thinking that I would delete the swap entirely and create a swap file after I merged the existing partitions, but I was unable to do this.

best way to do this (e.g. get one large 8 GiB partition with my old image on it)? I still have the original untouched 4 GiB card and also have an external CF drive if I need to redo the cloning. I've also used Clonezilla before, so perhaps there's a way to do this that allow me to grow the image as it's being cloned.

View 1 Replies View Related

Software :: Cant Fix Boot Loader - Primary Partition Wiped Out

Dec 21, 2010

A bad install of linux gave me a grub that won't go away. My only hope of restoring my Windows XP and retrieving the data that was backed up (most wasn't) is to somehow access the recovery partition. That's still there. The primary partition was wiped out. This is a remanufactured system: I -don't- have a Windows CD. I -don't- have fdisk. I -don't- have any of the utility disks I'd normally use (they're 300 miles away, buried in snow and ice right now).

I do have a disk and a thumb drive with the Windows boot files on it, but grub doesn't recognize these. If I could just get rid of that grub file, I think I could boot from either the thumb drive or the cd, or even the partition with the recovery files on it, but I can't get rid of grub. I think even if I could get fdisk on either a cd or thumb drive, grub would override it. Any one know how to kill that file WITHOUT fdisk and WITHOUT the Windows CD? I have live Linux disks, Ubuntu 8.10 and 10.10 have been the most promising, but still can't do this.

View 4 Replies View Related

General :: Can't Boot After Empty Primary Partition Was Made Unallocated

May 15, 2010

On a certain computer, I had four primary partitions. The person who installed the Windows 7 on the computer made two partitions for the Windows (sda1 and sda2). Then I made another two primary partitions (sda3 and sda4). sda3 was empty. sda4 is an extended partition that contained the /swap, and /.According to someone else, some viruses get in on the Windows partitions and can then get over to the Linux partitions if they are primary and right after the Windows partitions, or something like that. This person suggested that I create sda3 when I install Linux(SLES 10), but to install Linux on sda4. Then later I can change sda3 to secondary.So I tried this, and the Linux installation went fine.

I decided to change sda3 before I load the application software onto the computer.So I put the GParted CD in, but to my surprise I realised that the harddisk was actually 1 TB, and not 500 GB as I thought. So I had extra space to the right of sda4. I wasn't quite sure what to do with sda3. I thought that perhaps it would be better to unallocate sda3, move the current sda4 to the left, and then make another primary partition on the right of sda4, or just stretch sda4 both ways.Anycase, I unallocated sda3, and just left sda4 as it was.Hm, perhaps you can anticipate the end of the story. I removed the GParted CD, and restarted the computer, but now the computer doesn't let me choose whether I want to boot into Linux or Windows. Um, it doesn't boot at all from the harddisk.

I know it's dangerous to play with partitions, but sometimes the job won't be done if you are too afraid of doing anything, and I dare say you won't learn anything either. There was nothing on sda3, so I didn't think it would have nasty after effects. There isn't any important data on this computer yet, it was two new installations of Windows and Linux. So I guess I could format the harddisk and just reinstall everything, but I would like to learn what goes on underneath the surface.

View 8 Replies View Related

General :: Mount A Swap Partition On Boot And Use It?

Aug 15, 2010

all when installing my linux i dind't create a swap partition.now i'd like to use one.so i've create a swap partition.So how to mount it and let the system use it.

View 2 Replies View Related

Ubuntu :: System Hangs On Boot Because Of Unmountable Swap Partition?

Apr 17, 2010

So my Ubuntu 9.10 install has been hanging on boot lately. At first I thought it was a problem with the 2.6.31-20 kernel, because that is the default boot option in GRUB2. It seemed things worked fine if I instead chose the 2.6.31-19 kernel, but I had that hang yesterday too.I also had 2.6.31-20 boot just fine yesterday. Once. Next time I tried it - system hang.

What I mean by "hang" is,I would see the GRUB OS selection screen (I have 2 versions of Windows and 2 versions of Ubuntu on this machine),select the first choice (Ubuntu with the 2.6.31-20 kernel),see the "pulsating white Ubuntu logo" briefly,then a bunch of scrolling text, then...blank screen.Then nothing.I let it sit for a few minutes to a few hours when it did this, but nothing further happened.Then yesterday, I decided to let it sit the whole time I was at work, approximately 9 hours.I came home to a screen with the white Ubuntu logo and the following error message:

Code:
One or more of the mounts listed in /etc/fstab cannot yet be mounted:
swap: waiting for UUID=3fba81a3-de14-4f56-9e7b-ace95d933a0e
/proc/bus/usb: waiting for none[code]....

So it looks like I have a disk partition that refuses to mount sometimes.Gparted for some reason wouldn't tell me the UUIDs of swap partitions.They also don't show up in /dev/disk/by-uuid. Using the bootinfo script, I found out that 3fba81a3-de14-4f56-9e7b-ace95d933a0e is the 4 GB swap partition associated with my Ubuntu 9.10 install.The disk that partition is on is rated "healthy" by Disk Utility, with only a few bad sectors. The HDD is about 7 years old, so it's in remarkably good shape.What could cause this swap partition to not mount during boot, and how do I fix it?

View 3 Replies View Related

Fedora Installation :: Installation - Creating A Swap Partition Or A Boot Partition?

Jul 27, 2009

I have a brand new thinkpad X301 with 4GB of RAM and thinking of getting fedora 11 on it. The plan is to have it triple boot with vista/seven and hopefully OSx86. I am aware of the 4 primary partitions limit on an MBR disk. I was thinking of having a swap file instead of swap partition and not creating a boot partition as well. If I install the boot loader(GRUB?) on the root partition will I be able to boot it without any problems by using vista's boot loader?

Or Maybe I should install GRUB on the MBR and add all the other operating systems on it? Does anyone have any objections for not creating a swap partition or a boot partition? When comes to desktop environment I've been using KDE in the past, is there any major advantage of using Gnome over it? KDE seems to look really nice on fedora where Gnome is maybe more stable?

View 4 Replies View Related

OpenSUSE Install :: Swap Partition : Need To Check Swap File System?

Mar 20, 2011

Does one need to Check the Swap filesystem, from time to time

View 4 Replies View Related

Ubuntu Installation :: Dual Boot With Windows XP On A 1TB RAID-0 Setup - Create A SWAP Partition

Mar 20, 2011

(This is for a 100% Clean install)

Q1) I was wondering if it is possible to Dual boot Ubuntu with Windows XP on a 1TB RAID-0 setup ?

Q2) Also, is it possible to create a SWAP partition (for Ubuntu) on a NON RAID-0 HDD ?

Q3) Lastly... I read GRUB2 is the default boot manager... should I use that, or GRUB / Lio ?

I have a total of 3 HDDs on this system:
-- 2x 500GB WDD HDDs (non-advanced format) ... RAID-0 setup
-- 1x 320GB WDD HDD (non RAID setup)
(The non RAID HDD is intended to be a SWAP drive for both XP and Ubuntu = 2 partitions)

I plan on making multiple partitions... and reserve partition space for Ubuntu (of course).

I have the latest version of the LiveCD created already.

Q4) Do I need the Alternate CD for this setup?

I plan on installing XP before Ubuntu.

This is my 1st time dual booting XP with Ubuntu.

I'm using these as my resources:
- [url]
- [url]

Q5) Anything else I should be aware of (possible issues during install)?

Q6) Lastly... is there anything like the AHCI (advanced host controller interface) like in Windows for Ubuntu?

(Since I need a special floppy during Windows Install...) I want to be able to use the Advanced Queuing capabilities of my SATA drives in Ubuntu.

View 4 Replies View Related

Ubuntu Installation :: Dual Boot Partitioning \ What File System Should Use For Windows Swap Partition

Sep 1, 2011

I am about to get a new laptop here soon and I was planning a dual boot like I have on my current laptop (Win7 and Ubuntu), but I have something special in mind. I looked around the forum to see if there was anything like what I had or if it was even possible but I didn't see anything quite like this.I was wondering if this was even possible, and if so, would anyone be able to tell me what filesystem I should use for my windows swap partition?

View 6 Replies View Related

Ubuntu :: Used Gnome Partition Editor To Format As A Single Primary Partition Of The Full 500 Gb Drive?

Jan 18, 2010

So I tried adding a new, 2nd hard drive to my Ubuntu 9.04 desktop for some additional storage and only managed to kill my system so that it won't boot up anymore (I just get a blinking cursor after the BIOS does its thing).I could sure use a little help getting back to a functioning system, and then adding the second drive. I tried following the instructions from this link to add the 2nd drive:

(So the forum rules won't let me post the link, neato. Here it is with spaces added):
h t t p s : / / h e l p . u b u n t u . c o m / c o m m u n i t y / I n s t a l l i n g A N e w H a r d D r i v e

[code]....

View 1 Replies View Related

Ubuntu Installation :: Make A New Partition When Have Only Primary Partition ?

Feb 22, 2011

creating a new partition when i have only primary partition on my 40gb harddisk.

what i did while installation was selected use entire partition and now i want a additional partition other than primary ?

I want to assign 10GB for Primary one and wanna create Two 14GB partitions , I Also dont know what Swap partition Is.

Since i am a month old ( January 2011 ! ) UBUNTU user who hates MS Windows now, if i gets this problem solved , i can convince more people to replace their OS to Ubuntu .

View 3 Replies View Related

Ubuntu :: Primary Or Extended Partition For 2nd Partition On USB Pen Drive?

Mar 13, 2011

I formatted a 16GB USB flash drive via right click. Then I ran gparted and got as far as this [image attached]
Do I choose Primary Partition or Extended Partition for this second partition?

View 4 Replies View Related

Software :: Convert Primary Partition To Logical (ie Move It Inside The Extended Partition)?

Nov 29, 2010

Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.

View 3 Replies View Related

Slackware :: Error: Bad Primary Partition 2: Partition Ends In The Final Partial Cylinde

Dec 29, 2010

I'm slack 13.1, I am trying to install it, but always gives an error. I type cfdisk and appears this error:

Fatal error: bad primary partition 2: Partition ends in the final partial cylinde Press any key to exit cfdisk

View 14 Replies View Related

General :: Convert A Logical Partition To A Primary Partition?

Dec 30, 2010

Fedora 14 xfce

I have the following partition setup. I would like to know how can I convert the logical partition sda6 to a primary partition.

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

I would like to convert sda6 to a primary partition, the reason for this it to install windows 7 starter.

View 3 Replies View Related

Ubuntu :: HD4870 Dual Display - Cannot Seem To Swap My Primary Display

Jan 8, 2010

Hi I am new to ubuntu and am having major problems setting my displays up. my setup is a hd TV to the Left of my pc monitor, i have managed to configure catalyst to let me have a main display with the second display being an extension of the first, the problem is i cannot seem to swap my primary display, at the minute my HDTV has all the taskbars and everything on it while my pc monitor is just a blank background, i would like it so i could start a film playing for my children, then drag it across to the HDTV while i can still use my pc in the background.

View 1 Replies View Related

Ubuntu :: Delete Snow Leopard Partition - Format Swap Disk Partition To Something Else

Feb 23, 2011

I had a drive with a partition layout like so:

~50gig Windows 7 - NTFS
~100gig Ubuntu - EXT3
~100gig Snow Leopard - HFS+
~100gig Extended Partition
-- ~100gig Swap Disk - exFat

I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.

View 9 Replies View Related

Hardware :: Invalid Partition Table For Swap Partition That Moved With Gparted?

Feb 8, 2010

I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.

I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?

View 14 Replies View Related

Debian Installation :: Wiped Windows Partition With Swap And LVM Partition

Jan 17, 2015

I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:

/dev/sda (Samsung Evo 840)

Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm

[code]....

The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:

mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi

After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.

When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal

Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.

I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.

View 5 Replies View Related

General :: Place Swap Partition On LVM Or On Standard Fdisk Partition

Aug 4, 2011

I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?

View 4 Replies View Related

Ubuntu :: Swap Partition Access / Cant See That Partition

May 21, 2011

I've recently just installed ubuntu 11.04 but seem to have made a big mistake. During the install process I was asked to specify a location to be used for swap. Not really understanding what this meant I chose another partition on my drive with some free space but also a lot of my data. Needless to say I now cant see that partition. Is there anyway for me to access it? or to at least recover the information I need from there? its about a 200gig partition, and it used to be ntfs.

View 2 Replies View Related

Ubuntu :: Create A New Primary Partition?

Feb 25, 2010

i have 2 partitions. one with vista and the other with ubuntu. i would like to make another primary partition from the free space in my ubuntu partition. anyway to do this?

View 8 Replies View Related

Ubuntu :: Partition - With Lvm And Primary/extended ?

Sep 9, 2010

I somehow messed up my filesystem. I installed Ubuntu directly with LVM. This created an extended partition including a logical one. When I run out of space, I just increased my space (through VMware) and then added a new PRIMARY partition.

Then I added this one to the volumegroup and increased the logical volume. After I did this a few times, there were no longer any primary partitions allowed (only 4). Then I resized the FS, resized the logical volume, resized the volume group, and removed the physical volume. Now I'm no longer able to create an extended volume (only one) but it's not at the end (there are other primary partitions behind this one at the disk), so I'm not able to create some logical volumes.

What is the best possibility to add some space to the LVM and being able to do this a few times in the future again?

further info:

pvscan:

fdisk -l for sda:

There was a /dev/sda3 at the end of the disk. I already deleted this partition.

So the order on the disk is: sda1 | sda2 (extended) | sda5 (logical referred in sda2) | sda4 | free space

Does it matter that there is type "Linux" for sda4 or can I without damaging the lvm just change it (with cfdisk) to "Linux LVM"?

View 6 Replies View Related

Ubuntu :: Convert Logical Partition To Primary?

Feb 8, 2010

This is my partition table....(in the image) Now I would like to install windows in the unpartitioned space after a long time..... I tried but could not do that. I understood that Windows needs only primary partitions!

So I tried to convert this logical one into primary, but of no use... Is it possible to convert that unpartitioned space which is under logical drive to a primary one!

View 7 Replies View Related

Ubuntu :: How To Make Logical Partition Primary

Apr 8, 2010

i'm trying to install windows 7 and after googling around found that marking the partition as primary would do the job.. so how to do it??

View 4 Replies View Related

Ubuntu Installation :: 10.10 With Only One Free PRIMARY Partition?

Oct 12, 2010

right now I've been playing around with Ubuntu using Wubi and I would like to actually install Ubuntu onto its own partition. But I dont want to lose my Windows OS either (I need it for applications like MATLAB and LabVIEW).

My issue is, my laptop currently already has three primary partitions. One for windows, one for recovery and one "SYSTEM_DRV" (used to hold OEM windows license info apparently). I dont want to mess with any of those partitions. my question is, can I still install Ubuntu when I only have one primary partition?

I read about extended and logical partitions in the guide, but the wording was pretty confusing. All it said was Ubuntu needs two partitions, it didnt say if the partitions could be any type.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved