View previous topic :: View next topic |
Author |
Message |
roland.graf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Feb 2007 Posts: 25
|
Posted: Thu Mar 26, 2009 10:23 pm Post subject: Swap is not initialised during boot |
|
|
Hello,
after the last update with portage my swap partition, is not initialised anymore during boot. Is it possible that the fstab with dbus or other packages isn't used anymore? For now I use
But it is a ugly to insert this code after each boot.
Here my etc/fstab:
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
UUID=16da857f-3790-47db-ad58-53870004ab76 /boot ext2 noatime 1 2
UUID=eaa1e285-75e3-4cef-8fea-4adb43a9a92f / reiserfs noatime,notail 0 1
UUID=dba68120-7c82-4560-aad0-348ce4fc864e none swap sw 0 0
/dev/hda6 /home/claudia auto noatime 0 1
/dev/nbd0 /home/roland/net gfs2 lockproto=lock_nolock 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
/dev/sdb1 /mnt/sdb1 auto noauto,user 0 0
192.168.0.157:/home/guardia /mnt/mandello nfs intr,rw,suid,noauto,user
none /sys/kernel/config configfs defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
How can I make the swap to be initialised during boot?
Thanks Roland |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Leon_UK Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 06 Dec 2006 Posts: 128 Location: London
|
Posted: Thu Mar 26, 2009 10:31 pm Post subject: |
|
|
are you using baselayout2? if so check your run levels swap should be added to the boot run level _________________ AMD 7750 BE (@3.0ghz) || pci-e 7600GT (@650/800)Nvidia-drivers || 4gb ddr2 || ~amd64(funtoo) ||gentoo-sources-2.6.35-r1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
roland.graf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Feb 2007 Posts: 25
|
Posted: Sun Mar 29, 2009 4:19 pm Post subject: |
|
|
Hello Leon, I am using baselayout 1.12.11.1, and so there is no init-script for swap in /etc/init.d.
Best regards,
Roland |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|