Ubuntu :: Swap Does Not Mount At Boot Time?
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
ADVERTISEMENT
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
Oct 13, 2010
A windows server named SRV is sharing folders for each users in /share/From a Debian computer on network logged with the user session "foo" I can mount the remote directory /share/foo with:smbmount //SRV/share/$LOGNAME /remote_directorythen the prompt ask me for password and when I have gave it the remote directory is mounted correctly.Now I would like to make this at boot time.If I put the same command in the .bashrc, when I boot, the remote directory is not mounted when the session is opened but then if I open a console, it ask me for password and the directory is mounted.This way is not convenient and it would be better if the directory is mounted when the user open his session and using the same password.The point is that every user should have a his own remote directory mounted when the session is opened.
View 2 Replies
View Related
Jan 29, 2010
On my computer, I mount at boot time through the /etc/fstab some shares.I was working flawlessly on 9.04 and previous version.Since 9.10 version, it sometime fails to mount the share and I need to run PHP Code:sudo mount -a to get my mount shared mounted. (the command "mount -a" always work).
View 3 Replies
View Related
Mar 7, 2010
i'm trying to get everything working ok. i have installed ubuntu using wubi and i've found that i can access my files on my windows partition from ubuntu. to do this i have to mount the disk and enter the password each time i boot up, and i would like this to be done automatically. i was wondering if this was possible? i put in a link directly to the music folder on windows into my 'places' but it only appears once i have put the password in. its not a huge thing, but its one of those things which would make starting up my ubuntu a lot more conveniant.
View 4 Replies
View Related
Aug 8, 2011
in debian stable, what is the proper configuration to add in /etc/fstab in order to mount ntfs partitions automatically at boot time, for all users, and every user to have read, write and execute permissions ?
View 2 Replies
View Related
Nov 20, 2010
Running Debian stable. I added the following command to rc.local and made it executable:mount -t cifs -o username=ted,password=computer,uid=mooreted,gid=users "//192.168.1.121/Storage Volume" /mnt/vortexAfter rebooting dmesg throws the following error:
[ 21.400697] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
[ 21.400708] CIFS VFS: cifs_mount failed w/return code = -101
However, if I run the command as root after the system boots it works fine.Been using this method on other distros for over a year. No idea what the problem is.
View 4 Replies
View Related
Mar 12, 2010
opesnSuse 11.1, linux 2.6.27.45-0.1-default x86_64 This host has two samba shares that are located on an OS/2 server. Neither mount at boot time but they do mount from the command line.
kernel: CIFS VFS: cifs_mount failed w/return code = -6
There are 5 other client computers that mount the same shares at boot time using almost (different user/pass info) identical data. I do not see what is different about this host.
View 5 Replies
View Related
Feb 3, 2010
When i first installed ubuntu about 2 weeks i left about 30gb left for windows vista. I have not used vista at all so i decided to delete it and use the whole hard drive for ubuntu. I got the liveCD out and went into the partition editor on that (i had ubuntu,swap,vista in that order) and deleted the swap space and vista and increased the size of the Ubuntu partition to so there was only 4gb left for swap. I then booted up again from the hard drive and i get this message "one or mounts cannot be mounted" or something to that effect and it talks about the swap partition and offers to boot in recovery mode which does work.Once in recovery mode i go in and try and make swap partition with Disk Utility and i do that and it works. I go to restart Ubuntu to test it out and the same problem happens again, cannot mount swap ect. so i go back into Disk Utility and it now says 4gb Unrecognized instead of swap
View 4 Replies
View Related
May 31, 2011
No matter what I do, the SWAP usage remains zero all the time. Is there anything I am missing? In the following case (see attached screenshot) I am running make on the kernel that I downloaded. The CPU usage is understandable. But what is the use of Swap when its never used. [URL]. I am on Kubuntu natty. My partitions are as follows:
Kamesh@Galaxy:~$ sudo fdisk -l
[sudo] password for:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x88fa88fa
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9615 77232456 7 HPFS/NTFS
/dev/sda2 9616 19458 79056897 5 Extended
/dev/sda5 9616 18960 75057152 83 Linux
/dev/sda6 18960 19458 3998720 82 Linux swap / Solaris
View 7 Replies
View Related
Apr 25, 2011
when i test errors by "sudo mount -a" i got this
mount: mount point swap does not exist
after writing this command "sudo gedit /etc/fstab" ,,,, i got this
UUID=5148630128FE30C4 /media/Collection401 ntfs-3g defaults 0 0
UUID=FE4C11644C1118CB /media/Collection402 ntfs-3g defaults 0 0
UUID=6e73cf26-edcd-42b0-884c-e2686dd70d15 / ext3 defaults 0 1
UUID= swap swap sw 0 0
UUID=7DF3923D63A29C0E /media/Eng ntfs-3g defaults 0 0
UUID=492905577CF6BDDF /media/Software ntfs-3g defaults 0 0
/dev/sr0 swap udf,iso9660 defaults 0 0
View 4 Replies
View Related
Feb 14, 2010
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.
sda1-2 Windows 7
sda4, extended partition
--sda6 Ubuntu
[code]....
View 9 Replies
View Related
Apr 16, 2011
I'm installing Ubuntu 11.04 beta and partitioning into 3 parts. One for root, one for home, and one for swap.In the partitioning utility you can go into during installation (at the beginning of installation actually) there is a drop down box for selecting the mount point of the partition. I'm good on the first two but am not sure what to select for swap. I'm searching on the Internet too but am not seeing what I need right off.
View 5 Replies
View Related
Dec 1, 2010
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]....
View 5 Replies
View Related
May 9, 2010
While booting Linux it takes ages for 'enabling swap space'
I have allocated swap space twice that of the RAM.
Is there a way to fix it? What should I do to avoid this in the future installs?
View 9 Replies
View Related
Jun 8, 2011
I've installed FC 15 on a USB stick (it is not a live usb, it is a regular installation on a usb stick), and I am looking for a way to automatically detect and mount swap partitions on a host system where usb stick is plugged in. I am using many FC boxes and almost all of them have a swap partition on the hard drive and I would like to use them even if I boot my system from a usb stick.
View 4 Replies
View Related
Aug 12, 2009
I have tried to mount new hot swap scsi drive in IBM xSeries 226.
I have put new drive to the pocket and tried to list all new drives using #fdisk -l
I cannot see that drive.
How to mount this drive ?
Should be something like /dev/sdc . In this server I have 3 drives (include this which should be mount). I have also restarted server. Doesnt help.
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
Sep 25, 2009
When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.
View 7 Replies
View Related
Mar 5, 2010
It looks,slackware is taking too much time to boot. It's starting daemons at boot time.
What are those daemons that i can stop at boot time to increase booting time?
What's the best way to stop starting daemons at boot time?
View 14 Replies
View Related
Sep 19, 2010
I had a problem with the install of Ubuntu 10.04 and 10.04.1 on a Dell Precision T3500. I used the 32bit live CD. I let the installer create the file systems and use the whole disc. The disc is was created as shown below. After the install button was pressed, the root file system was created and then the swap. When the installer went to mount the swap it complained there was not enough memory and failed the installation. I installed Ubuntu by manually making the swap file system smaller using gparted and assigning the / and swap to the file systems created by gparted.
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]...
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
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
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
Mar 21, 2010
I have a Time Machine back up of my old macbook that was stolen.
I have installed hfsplus and libhfsp0 via synaptic.
When I ran: 'cat /boot/config-2.6.31-20-generic | grep HFS' in the terminal...
I got:
CONFIG_NET_SCH_HFSC=m
CONFIG_HFS_FS=m
CONFIG_HFSPLUS_FS=m
CONFIG_SQUASHFS=m
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
I read in some other post that any line starting with '#' needed to end with '=m'
I'd just like to be able to mount my time machine drive.
View 3 Replies
View Related
Mar 18, 2011
I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.
View 4 Replies
View Related
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
View Related
Nov 17, 2010
Does any one have any clue about booting linux live CD with no swap space enabled.
View 5 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