Fedora :: F15 - Swap Partition Not Mounting?

May 31, 2011

I have the swap partition configured normally in fstab but it doesn't automount when I boot up. Not only that but I can't manually mount it either (ie with 'swapon -a', 'swapon -L /dev/sda7' etc). When I try I get this error -

Code:

[spoovy@kermitfed ~]$ sudo swapon -a
swapon: /dev/sda7: read swap header failed: Invalid argument
fstab -

Code:

/dev/sda7 swap swap defaults 0 0

The swap partition is used by another installation (Ubuntu dual-boot), which mounts it fine each boot.

View 12 Replies


ADVERTISEMENT

Ubuntu :: U11.04 Not Mounting My Swap Partition / Fix It?

May 11, 2011

Ubuntu 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. Screen shot below to help.
sda1-2 Windows 7
sda4, extended partition
--sda6 Ubuntu
--sda7 swap
--sda5 NTFS shared partition
sda3 Factory restore image

View 9 Replies View Related

Ubuntu :: Long Disk-activity-pause On Boot - Between Mounting Root And Mounting Swap?

Jul 14, 2011

Just the last day or so, I've noticed a long pause when I boot my laptop, with lots of disk activity. dmesg says:

[Code]...

Why would there be a 15-second pause (during which the disk is slammed) between mounting root and mounting swap? During this time I see nothing but a blank purple screen, there are no cycling dots or text scroll. Is this normal and I'm just freaking out over nothing because there's no indicator of progress? GRUB default boot options: quiet splash nomodeset video=uvesafb:mode_option=1920x1200-24,mtrr=3,scroll=ywrap vt.handoff=7

View 9 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

Fedora :: Resizing (2GB) Swap Partition LVM?

Nov 20, 2009

I have a small disk and I want to resize to 2 gb the swap partition, how I can do?

[root@server12 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg_fedora11/lv_root
VG Name vg_fedora11
LV UUID Zwl9te-GQ1j-5Py3-Jiz0-JFAY-sy7n-iaV2TP
LV Write Access read/write
LV Status available
# open 1
LV Size 52.32 GB
Current LE 13393
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/vg_fedora11/lv_swap
VG Name vg_fedora11
LV UUID k61vCI-YAdI-XgNX-xRaG-B7jY-CTMQ-LKOjwk
LV Write Access read/write
LV Status available
# open 1
LV Size 3.92 GB
Current LE 1004
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

View 4 Replies View Related

Fedora Installation :: How To Create Swap Partition?

May 31, 2009

On numerous installs I ignored "swap" message but want to create one this time. And can it be done post installation?

View 5 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

Fedora Security :: Encrypting The Swap Partition While /dev/path Constantly Changes?

Aug 10, 2011

I would like to encrypt my swap partition ...During installation, I tried to select the "encrypt partition" choice, but it needed a passphrase.After installation, I tried to encrypt my partition ... I followed this article: The problem is that my swap partition always changes its path ...When I first booted the system, it was /dev/sda10, next it became /dev/sdc10, now it is /dev/sdb10. This is probably the reason why in fstab all entries are according to UUID.However, the swap partition is not fond of UUIDs ! I tried to mkswap /dev/<current swap partition> -L Swap, I received a UUID, puted it in /etc/crypttab ... it worked for the first time ... but the second time... did not.

View 14 Replies View Related

Fedora :: Mounting Partition Upon Startup

Mar 31, 2010

I've migrated back to Fedora as I am just displeased with the majority of debian based distros and Sabayon at the moment. Fedora has grown up quite a bit since FC9 and I'm here to stay. I keep all of my media and documents on a seperate partition on my disk and am wondering how I can have it set to automatically mount it upon startup. It gets kind of annoying having to re-enter my password every reboot just to mount the partition that 90% of my time is spent on.

View 4 Replies View Related

Fedora :: Remembering Authorization For Mounting Partition?

Nov 20, 2009

Every time I reboot PC I have to enter the admin password to mount ntfs partition. Is there any way to avoid this. In Fedora 10 there was remember authorization option, is there any option like this in F12?

View 4 Replies View Related

Fedora Servers :: Mounting A Nfs Network Partition?

Mar 11, 2010

I am having trouble mounting a nfs network partition. I think my problem is related to the firewall in my server.

1. - When the firewall is disable in the server, all the clients are able to mount the network partition without a problem. This is good, but I want the firewall active.

2.- When the firewall enabled, without any port opened, none of the clients are able to connect to the server (expected behavior). This is the message I got:

mount -t nfs 192.168.1.103:/home/username /mnt/myHomeCaraota/
mount: mount to NFS server '192.168.1.103' failed: System Error: No route to host.

3.- When I open port 2049 only (see lines below) Nothing changed. I got the same message. No connetion

-A INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT

4.- If I open ,additionally, ports tcp/udp 111 thre is an improvement because at least I get:

usename@laptop ~]$ sudo mount -t nfs 192.168.1.103:/home/username /mnt/myHomeCaraota/
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).

[Code]...

But in the last case I am opening everything to the clients (192.168.1.100-192.168.1.104) and I believe it is not a good use of the firewall. In summary, I think my nfs configuration is o.k, because I am able to mount the partitions when the firewall is down or when all the ports are open for a given number of clients. I also believe that I need to open ports 111 and 2049 because at leas the server is responding, but I know that I need something else, but I can not figure out what that is.

View 2 Replies View Related

Fedora :: Mounting And Using Partition As /home/stewi?

Aug 3, 2011

i am having troble with the permisions of a partition(/dev/sda3) that i have mounted as /home/stewi and wish to use it as my home dir, the only probolem is that it only lets the root user do anathing with the partition wen it is mounted as /home/stewi. i have tried running

Code:
chown stewi:stewi stewi
and
Code:
chmod 777 stewi
while root, but i just get an eror mesage:

[Code].....

View 9 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

Software :: How To Cancel Swap Mounting At Boot In Debian Initrd

Oct 9, 2010

When I installed Debian stable on a headless machine of mine, I configured a partition with LUKS encryption (intended for swap), but told the installer not to use it. After installation, I configured that encrypted partition as swap and mounted it. I wanted my headless machine to boot all the way without manual intervention, so I can log in via ssh and mount my encrypted partitions.However, since the kernel was updated (and the initrd regenerated), the machine now waits during boot for me to enter the swap encryption password, but no others, only the swap.I have been unable to find in my searchings how the initrd is generated with that setting or how I can change it, preferably permanently so future regenerated initrd's don't try activating my encrypted swap on boot. Does anyone know how to configure a Debian style initrd generator to generate an initrd that will not try to activate swap?

View 9 Replies View Related

Fedora :: Mounting An Ext3 Or 4 Partition With Read And Write Access Using Fstab?

Jul 24, 2009

Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?

View 1 Replies View Related

General :: Change The Swap Partition To Another Partition?

Aug 1, 2010

I 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

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

OpenSUSE Install :: Partition Manager Not Mounting Extra / Partition

Apr 3, 2011

The default partition manager which OpenSUSE DVD 11.4 uses (Expert Partitioner) is not creating any logic partition with / mount because another system is already using it, is there anyway to fix this?

View 9 Replies View Related

Ubuntu :: Mounting A Partition On A Partition Unstable?

Jan 19, 2011

I have come across the following statement: " When a FAT32 partition is mounted at '/media/windows', all access to '/media/windows' and everything below it is transparently handled by the Linux kernel using the 'vfat' module. Applications need not know they're dealing with anything else. However, mounting a partition at a location inside of another mounted partition is unpredictable, unstable, and generally a bad idea. "

Is it correct? Most of my partitions are mounted on /home, which is on a separate partition; and I have one "level 3" partition. I have been using Ubuntu for nearly three years so far with no problems (except for /home losing it's format once).

View 4 Replies View Related

Ubuntu :: No Swap Partition?

Feb 14, 2011

My motherboard supports up to 8GB DDR2. I currently have 4GB installed. If I maxed out my RAM, and installed 10.10 without a swap partition, I've heard this would increase speeds significantly. Would it? This particular rig runs multiple servers including an Asterisk PBX with FreePBX, XBMC, and Boxee. XBMC and Boxee do not run at the same time, only one at a time. Would it be safe to run with 8GB ram, and no swap partition? Running FreePBX/asterisk, XBMC, playing videos or ....., and every other background processes, free shows on average 50% free. Opinions?

View 3 Replies View Related

Ubuntu :: Swap Partition For New SSD?

Jun 17, 2011

I am getting a new SSD for my laptop and I have been researching the different tweaks for an SSD. I still have a question regarding the swap partition: is it better to not have one for an SSD? (I have 4GB of RAM...)

If I don't, how would I specify it during the installation process for 10.04?

View 7 Replies View Related

Debian :: Swap Partition Between Distros

Apr 26, 2015

Is it possible to use the same swap partition between distros or not ?

View 5 Replies View Related

Debian :: Creating A New Swap Partition ?

Jul 3, 2011

Currently my system runs on two disks, sda 30GB and sdc 1GB. sdb is my data disk. I have set the partitions as sda1 /boot, sda2 /(root) and sdc1 /(swap).

Thinking that sdc was udma33 i used the disk for a swap area. Later i found out that it is pio4 and i want to relocate my swap area to sda.

Using GParted Live i am planning to create a swap partition to sda. Will fixing the entry in fstab be enough to correct this or do i need to do something more?

I could also use some advice on which live debian image i can install in sdc, to use for rescuing purposes. The capacity of the disk is 1080MB.

As a side note, the images i find for usd-hdd are direct download. Are there any torrent files for these?

View 2 Replies View Related

Ubuntu :: Swap Partition Will Go In Extended One?

Jan 25, 2010

Can Ubuntu swap partition go in an Extended partition (a logical partition within the extended) while Ubuntu is on a Primary partition?

View 9 Replies View Related

Ubuntu :: What's The Best Way To Remove Swap Partition

Feb 6, 2010

I want to remove my swap partition. Probably one I would have to boot into a rescue cd and remove it, but aside from that is there any other consideration or commands that I need to be aware of?

View 3 Replies View Related

Ubuntu Servers :: The Swap Partition Is Not Being Used

Apr 19, 2010

I recently installed Ubuntu Server, the 8.04LTS release, on my dad's computer which, for the time being, has to dual-act as both a server and a desktop. Will be running solely as a server pretty soon, though. Anyway - since I was down on the budget and the project I put up the server for is still in a development phase and not worth to invest serious money in (at this stage), it has to run on a computer with the following hardware configuration (I left out the non-important parts):

Code:
Intel Celeron 2.2 Ghz
~500 MB of DDR 333MHz RAM

It has 80 or so GBs of disk space, so I went for the low-mem, high-disk scenario and created a swap partition of 1,5 GB. However, I can notice that is rarely even used! I have set the vm.swappiness parameter to 95 but my swap partition is still not being used, even when the memory usage goes up to 90%. I saw it being used once, but only when the needed memory size exceeded 500.

Does anybody know how to force Ubuntu Server to use the swap partition?

View 2 Replies View Related

Ubuntu :: Encrypted Swap Partition?

Jul 1, 2010

I read an article earlier that suggested the swap partition is encrypted by default if you select an encrypted /home folder during installation, is that true (for Lucid)? I am suspecting it isn't because my hibernation works, which I believe shouldn't be the case?

View 3 Replies View Related







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