Debian :: Swap Is Not Mounted At Boot?
Sep 9, 2010
My swap is not mounted at boot. get it to mount again? I CAN make it mount after booting but I need to hibernate. I read that I have to edit /etc/fstab but I'm not quite sure as to what I have to do specifically.
View 11 Replies
ADVERTISEMENT
Nov 17, 2010
Does any one have any clue about booting linux live CD with no swap space enabled.
View 5 Replies
View Related
Aug 10, 2010
I recently installed Cent-Os on a server and changed the default partitioning to have 2 partitions - 1 main area for everything and a swap partition of 8Gb After installation I cant see the swap as a separate partition although there is a 16GB tempfs mounted as /dev/shm Is this right ?
fdisk -l shows :-
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
(first partition being non-lvm boot)
View 3 Replies
View Related
Apr 18, 2010
I have two partitions in LVM. They are added in /etc/fstab to mount automatically. But, they are not working. The process to mount partitions seems to be happening before the service /etc/init.d/lvm2 is started. I can get it mounted using "mount -a" command, but not during the boot time. What should I do get it automatically mounted on every boot?
View 5 Replies
View Related
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
Dec 5, 2010
I am using Gnome and Squeeze. I am wondering if I have a problem of understanding, or a problem that I found with Gnome.
My configuration is with a 3 hard disk system.
disk1 (Debian)
disk2 (XP and Fedora)
Disk3 (W7 and a Data partition)
When I boot and log in, all partitions for disk2 and disk3 are mounted read-write. Only by going to command line am I able to unmount the drives with the following sequence
cd /media
umount *
umount *
I should be able to mount and umount a drive by providing or responding to a root password. But I am not given the option to present a password. My request is blocked.
I also do not want to see the drives remounted after a boot. I tried to find out how this was managed, but I was unable to discover the module and it's parameter list that controls or does this task.
View 1 Replies
View Related
Apr 20, 2010
I am trying to find out the command to list all the devices mounted at boot-time.
View 5 Replies
View Related
Feb 3, 2011
I was running out of space so I added an extra harddisc (sdc) and shuffled a few mount points in /etc/fstab so it was set up how I wanted.In the process I noticed swap was listed twice, once as /dev/sda3 and once by UUID. While reconfiguring /etc/fstab I tried to use UUIDs so it didn't matter where the disc was physically attached so I removed the non-UUID entry and updated it to the correct UUID (for some reason it was wrong).Now though, when I start up swap is off and I have to turn it on by the swapon command (which accepts the UUID for the swap partition. Here is my /etc/fstab and the output of blkid
Code:
simon@simon-desktop:bf4390bb-39a4-43ac-ae53-d90e33062a19$ cat /etc/fstab
# /etc/fstab: static file system information.
[code]....
View 3 Replies
View Related
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
Nov 20, 2010
as far as i know Debian "Squeeze" has a disk check utility, but you can't run this on a mounted filesystem. Is there a way to trigger this during boot (before filesystem is mounted) ? I can run this once a month to keep filesystem healthy....
View 2 Replies
View Related
Sep 10, 2010
Maybe what I am trying to do doesn't work but let me explain. I have two identical drives on my PC.
/dev/sda = 1 TB
/dev/sdb = 1 TB
I wanted to mirror the drives so I created two separate partitions on each drive:
sda1 = 1024 MB (Swap)
sda2 = 999 GB (Software RAID)
sdb1 = 1024 (Swap)
sdb2 = 999 GB (Software RAID)
I then only created /dev/md0 which consist of /dev/sda2 & /dev/sdb2 in RAID 1 mirror.
When I boot the system, I show that Swap fails during boot in bright 'red' letters. I don't know if it failed activating both or just any swap partitions in general. When I look at 'df -h' while my system is booted, I show:
Code:
[root@buster ~]# df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 168K 9.9M 2% /dev
/dev/md0 997G 847M 992G 1% /
shm 997M 0 997M 0% /dev/shm
Does this mean that only 1 swap partition activated successfully and the 2nd one failed? Should I mirror the two swap partitions into /dev/md1?
View 3 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
Dec 7, 2010
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 Replies
View Related
Jul 15, 2010
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]...
View 4 Replies
View Related
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
Sep 24, 2010
I have two almost identical computers -- identical model & type designator; minor difference in hardware details. Both boxes have an installed and running Ubuntu -- one Lucid (v10.04 LTS) and one Jaunty (v9.04). Consider box-A with drive-A and box-B with drive-B. Q1: If I swap drive-A to box-B and drive-B to box-A, is system startup clever enough to work around any minor hardware differences?
I know! "It depends..."
One minor difference is the wifi card. Both are Intel -- one is the 3945 while the other is the 4965. Another difference is partition sizes and mount points. Another difference is RAM size -- 3GB vs. 4GB. Another difference is the specific brand and specs for DVD=RW. I could go on, but the differences seem minor if not trivial.
I have a reason for such a swap that makes sense to me. I simply want to make sure that the system startup will figure out what is different. Q2: Is there some command or utility to run after I make the swap that will add-remove packages and make the install on drive-A better matched to box-B, etc?
View 6 Replies
View Related
Mar 19, 2011
Does anybody know how to have partitions (not removable media) auto-mounted at boot?It would be great so I do not have to click them for first use.By the way, may it be pre-configured in ubuntu to do that for everyone?
View 1 Replies
View Related
Nov 17, 2010
I setup my client to mount some nfs mounts at boot but although they seem to be mounted, they are not! Before I give the details, I'll start by saying this is not a wifi problem. I'm using a good old wired connection. The server runs NFS3 with the following line in '/etc/exports':
[Code]...
I have tried the following nfs options in the fstab as you might have noted above: _netdev,auto,bg,retry=10. None of them seem to fix the problem. I realise a quick hack at boot time would fix this in an instant but I'd like to figure out why this is failing.
View 1 Replies
View Related
Aug 16, 2010
RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
View 2 Replies
View Related
Apr 15, 2010
I found what I believe to be odd behavior on an OpenSuSE 11.0 computer today. I needed to add some disk space on one of our computers and here is what I did: This computer had a separate disk for swap space so I deactivated swap (swapoff -a) and then removed the swap entry from /etc/fstab. I then shut down the computer and replaced what was a single disk used only for swap with a RAID1 hardware mirror.
I then booted the system and added a swap partition and another file system on the new RAID1 volume. Even after activating the new swap space with swap on, no swap ever seems to be actually allocated. The swap space shows up in top, free, "swap -s" and vmstat, but never gets used. I realize that a reboot will result in the swap being used, but is there anyway to get the kernel to use the swap without a reboot.
It's probably worth noting that I verified this behavior on a second computer. That is I turned off swap, removed the swap entry in /etc/fstab and then rebooted. Swap is never actually allocated until a second reboot. By the way, this was discovered when some of our users attempted to run java on the system where I did the first work and they got:
prompt> java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Yesterday, java was working fine and I got the same results on my test computer. Is this a kernel bug or just odd behavior?
View 4 Replies
View Related
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
View Related
Feb 3, 2011
With my ubuntu iso in the dvd drive, I do not get any boot from options for it to be used as boot drive within the boot order from the boot control panel. On startup with the alt key pressed I only get the Mac drive but when I change the boot to the other option (network) and press the alt key on startup, I get the boot order screen with the Mac HD and also the Ubuntu iso but cannot get the Ubuntu to highlight and use, just the Mac remains highlighted. On the same screen I get a very small wrist watch to the left of the screen that the mouse can move up and down but not to the side.
I am using a windows usb keyboard and usb mouse, I have used all manner of keyboard combinations to get the Ubuntu disc to highlight but nothing seems to work. Within the drive section, the "My Mac" drive is locked and cannot partition it or change anything about it. Has anyone any ideas that I can try? I did not want to get a Mac keyboard and Mouse as yet seeing as I wish to change the operating system to ubuntu.
View 9 Replies
View Related
Apr 9, 2011
I upgrade from 11.2 to 11.4 and now, my samba share does not mount at boot time. I see nothing in the log. What is changed in 11.4 ?
View 6 Replies
View Related
Sep 3, 2011
I have a few NTFS volumes in my machine. The fstab looks like this:
Code:
/dev/disk/by-id/scsi-SATA_SAMSUNG_HD322GJS2BJJ9EB609339-part3 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_SAMSUNG_HD322GJS2BJJ9EB609339-part4 / ext4 acl,user_xattr 1 1
[Code].....
View 4 Replies
View Related
Jan 6, 2010
I "upgraded" to Karmic and now my computer won't start. It shows the grub menu, I select the first Ubuntu option, and it shows the white logo. Underneath the logo these words appear, and it does nothing:Quote:One or more of the mounts listed in /etc/fstab cannot yet be mounted: /boot: waiting for UUID=338c820e..Press ESC to enter a recovery shell
View 9 Replies
View Related
Apr 29, 2011
last 3 rounds of updates to my Lucid system produced various problems, though each a solution to the previous issue. So I decided to upgrade to natty, and get new problems. LOL.
SO, my USB mouse and keyboard no longer mount on boot. If I unplug the keyboard and mouse, then re-insert them, they work fine.
View 2 Replies
View Related
Oct 4, 2010
I'm running Fedora 12 - Linux 2.6.32.21 with a boot partion on /dev/sdb3 of a hard disk.
I downloaded a vanilla kernel version 2.6.35.4 and have built it and run it successfully. I built this kernel to play with building device drivers.
My grub configuration uses the same root filesystem for my fedora installation as my vanilla 2.6.35.4 kernel; both use the LVM root filesystem. (/dev/sd4 /dev/sdb5 /dev/sdb6)
When I'm running fedora 12 (2.6.32.21) I can see the files in /boot which contains my kernel, system-map, initramfs, grub directory, etc. I also see my vanilla kernel 2.6.35.4 and it's associated support files (map, initramfs, etc.)
My question is when I boot into my vanilla 2.6.35.4 kernel and I look in /boot, I only see my vanilla kernel and it's associated support files. No grub, no fedora kernel. If I do a df -a, I see that /dev/sdb3 is not mounted like it is when I'm running my fedora kernel. I'm confused as to what is going on here. Can anyone shed some light on this?
View 5 Replies
View Related
May 11, 2011
I know its a long shot, but still...
Is it possible to change size of boot and swap without doing a fresh install?
this is how my volume dist is like - root -30 gb, boot 200 mb, swap 8gb, home - 110 gb
my laptop is an amd turion dual core TL-58, with 2 gb ram and 160 gb hard disk...
and i want to change it to what is generally recommended ie boot to 500mb or 1 gb and swap to 4 gb..
the remaining can be added to home...
View 6 Replies
View Related
Mar 29, 2010
I've just upgraded my wife's netbook to UNR 9.10. This seemed to go well and the netbook has been working fine since. Yesterday my daughter used the netbook with out any issues, but when my wife tried it halted during boot with:
Swap waiting for UUID: xxxxxxxxxxxxxx
After a couple of reboots it started working fine, but looking at /etc/fstab the entry for swap is different to the UUID shown in blkid Do I just update fstab with the UUID from blkid?
View 2 Replies
View Related
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