General :: Mount A Swap Partition On Boot And Use It?
Aug 15, 2010all 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 Repliesall 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 RepliesUbuntu has been complaining about swap not being ready during boot. The swap partition was showing up un-known in gparted. I booted off CD, reformatted it to swap. Error message gone but system monitor > resources shows my swap size to be 86GB (the exact size of my shared NTFS volume). gparted shows the swap partition as not 'swapped on' I am running Ubuntu 11.04 along side Windows 7 (as well as my factory restore partition) and an NTFS shared partition.My partition structure in order of location on disc.
sda1-2 Windows 7
sda4, extended partition
--sda6 Ubuntu
[code]....
I just installed kernel 2.6.37-rc3-natty in an effort to clear up the audio stuttering problems prevalent in Maverick. It worked, but now my swap partition won't mount on startup and because of this the computer won't hibernate. I'm using a Toshiba NB305-400 netbook w/1GB of ram, 250GB HDD and 1.6 GHz processor.Here's what's in my fstab file:Quote:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
[code]....
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.
For some time now - every time I reboot my computer the swap drive is not mounting. I have to manually mount (Swapon) it via GParted. Using the sudo mount -a does not seem to have an effect.can Anyone tell me what is going onhere is my fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]...
i've a partion hda2 that i'd to mount on boot as /folderXhow could i do that.
View 3 Replies View RelatedI want to automatic mount a ntfs partition after start. I work on fstab, everything seems to be ok, but now something strange is happening: sometimes after boot, when I use fdisk, I find all the partitions as sda, sometims they seems to appear as sdb. Of course, if in fstab I have written sda and they are sdb, they will not be aoutomount... I am using fedora 14 I was expecting that allways the partitions to be sda or sdb.
View 1 Replies View RelatedI 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 RelatedI 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]....
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?
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?
Does one need to Check the Swap filesystem, from time to time
View 4 Replies View RelatedI want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?
View 2 Replies View Related(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.
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 RelatedMy drive is a 160GB and currently having 2 partitions:swap (taking about 2 GB)
linux (taking about 155GB)
Here's the fdisk -l
Quote:
I'd like to do the following:Increase the swap partition to 5GB Reduce the Linux system partition by 25GB and give this 25GB to a new partition, which I'd like to use for my Data - this should be accessible by both Linux & Windows
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?
as per the output, there is no swap partition in my system..i am lack of analysing the output above. please describe me about buffers,cached fields and "-/+buffers/cache" row.and do i need to create swap partition or not?if yes, how?
View 6 Replies View Relatedduring my fedora 12 installation, i made a swap partition by the wrong denotion "/swap".so when i had used the command "df -h",it showed the /swap entry in the list.so i deleted that particular partition using the "parted" utility. Now my doubt is, 1.where is that partition?(whether it has joined with other partition or still alive) 2.if it alives,is it possible to make it as a swap partition?
View 3 Replies View RelatedThe following is what parted print outputs:
(parted) print
Model: VMware Virtual disk (scsi)
Disk /dev/sda: 26.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
[Code].....
I want to resize my swap partition /dev/sda2 to use 1GB out of the above space. How can I achieve that?
I installed Ubuntu 10.10 on my PC. During the installation process i selected a partion on my hdd for swap , there i had some important files can i rocover it some how
View 1 Replies View RelatedI had to delete my swap partition in order to reinstall win XP, but now I need to reinstall it. I run Ubuntu 10.04 and read that there is a command $ sudo mkswap /dev/sda1. I have about 19 GB of free unpartitioned space left on the hardrive that I want to make into a swap partition. I'm not sure whether I should use sda1 or if the book uses it as an example and if I use it it could wipe away my existing partition with ubuntu installed on it.
View 31 Replies View Relatedecently I tried to increase the size of my swap partition using GParted, but it wouldn't let me. I wondering if there was another way? Currently it's 795 MB but I want it to be 1GB
View 3 Replies View Relatedhow to make swap partition in rhce5. mention command step by step and how to change ext3 format to ext2.
View 1 Replies View RelatedSomeone (not me) recently installed some new distros on my HD. It seems that during the installation my swap partition was reformatted and a new UUID was assigned to it. I have the following questions:
1. I know that I have to change the swap partition UUID in /etc/fstab and /boot/grub/menu.lst of the affected distros. Is there anything else that needs to be changed?
2. I presume a similar change has to be made to the Grub 2 configuration, for those distros that use Grub 2. I have no experience using Grub 2 so how do I make the change or where can I find instructions to do it?
As far as I know hard drives are faster at the beginning of the disk. If this is true, why does Ubuntu put the swap partition to the back of the disk by default?
View 1 Replies View RelatedWhen I do a "clean" install of Ubuntu 9.10, Step 5 of 7 is when you choose how to partition your hard drive. My Acer Aspire Desktop has 8GB of RAM and a single 160GB SATA hard drive. If I choose to let Ubuntu do the partitioning, only three partitions are created and one of them IS a Swap partition. However, if I choose the second option to manually create my own partition tables, there is NO Swap option listed in the drop-down list of partitions to create!! Why in the world not, considering the importance of this partition and the fact that the first option DOES automatically create it? A second related (I think) is about the Live System Rescue CD and GParted 4.9. When do you use either of these utilities? After all, GParted is included System Rescue CD.
So, if I want and choose to do a manual/advanced partitioning of my hdd, the only time I can see using either utility is after the complete installation of the Ubuntu distro. Yet, choosing to manually partition my hard drive always results in an error or warning message that I haven't created a Swap partition before proceeding to Step 6 of the installation. Well, of course not since the choice isn't even possible. Good grief, what am I supposed to do when I arrive at the step where I am supposed to choose and then create the partitions for my hdd? Choose the first option, which I don't think is wise/good at all, especially with security in mind. Or choose the second option of using a program like GParted at all? It is hard enough for me to choose a partitioning scheme at all, since opinions on how many partitions are needed and what sizes they should be.
There is a Swap Partition Error when I am installing ubuntu. I have two options now.
(1) Tried GParted... it cannot recognize my HDD )
(2) Change to another distro. I am looking at Ubuntu, Fedora, Mint and Mandiva now. Which one do you suggest?
I'm triple booting Windows 7 32-bit (that's the only version I had), Ubuntu 10.10 64-bit, and Backtrack 4 R1.
Windows 7 installed and runs fine. Ubuntu installed and runs fine. I try to install Backtrack 4 R1, create a / partition, create a /boot partition (do I need to create a /boot for Backtrack?), and I don't create a swap file because the Ubuntu swap file is already in there.
I click "forward", the install starts up, then I get "The attempt to mount a file system with type swap...yadda yadda yadda...has failed." I google this, I get some results talking about an mkswap command, but in my noobness, I don't understand.
Can Ubuntu 64 bit and Backtrack not share a swap file? I don't want to create 2 swap files because I've googled around and that looks like a bad thing to do.
why is a swap partition a requirement for a linux setup? What arguments would you use to decide on the size of the partition?
View 3 Replies View Related