Swap partition not installed. How do I install? [Solved]

Installer Issues via Installer -- Not for global upgrades or upgrading individual packages -- ONLY ISSUES WITH INSTALLATION OF THE OS -- Can't get Sabayon installed, than post here, otherwise use correct forums

Moderator: Moderators

Swap partition not installed. How do I install? [Solved]

Postby tetris11 » Mon Nov 02, 2009 20:55

Hi there, I stupidly installed Sabayon without a swap thinking that my 4GB ram would cover everything, which it did. But obviously the system cant go into hibernate (nothing to copy to).

How do fix this?
I've already created an extended 4GB partition of free space to turn into swap drive. I just need to know the commands and what to edit.

Here's my current menu.lst:
Code: Select all
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splashimages/stff.xpm.gz
title=Sabayon Linux
        root (hd0,0)
        kernel /boot/kernel-genkernel-x86_64-2.6.31-sabayon root=/dev/sda2
        initrd /boot/initramfs-genkernel-x86_64-2.6.31-sabayon


title = Windows 7
        root (hd0,3)
        rootnoverify
        chainloader +1
        boot
title=Sabayon Linux (kernel-genkernel-x86_64-2.6.31-sabayon)
        root (hd0,0)
        kernel /kernel-genkernel-x86_64-2.6.31-sabayon root=/dev/sda2
        initrd /initramfs-genkernel-x86_64-2.6.31-sabayon
        savedefault

I'm pretty sure a 'dev/ram' command is supposed to go there somewhere....
help?

Also here's my fdisk:
Code: Select all
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2b83d6b9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      104391   83  Linux
/dev/sda2              14       19188   154023187+  83  Linux
/dev/sda3           19189       30854    93707145    f  W95 Ext'd (LBA)
/dev/sda4   *       30855       38914    64734208    7  HPFS/NTFS   #Win7
/dev/sda5           19190       22668    27945067+   7  HPFS/NTFS  #storage
/dev/sda6           22669       30332    61561048+   7  HPFS/NTFS  #storage
/dev/sda7           30333       30854     4192933+  82  Linux swap / Solaris


and here's my fstab:
Code: Select all
/dev/sda2               /                       ext3    user_xattr,noatime 1 1
/dev/sda1               /boot                   ext2    defaults        1 2
/dev/sda7               swap                    swap    defaults        0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0


I'm not sure how helpful you may find this, but I think i've shown you everything relevant.

Thanks chovek
Last edited by tetris11 on Thu Nov 05, 2009 19:03, edited 1 time in total.
----------------------------------------------------------------
The aim of all computers is to replace crappy movie actors with good CGI. If they EVER make an Enders Game movie with a bunch of half-assed American child actors, I'll paint the theater red.
tetris11
Young Hen
 
Posts: 27
Joined: Sun Oct 18, 2009 21:49

Re: Swap partition not installed. How do I install?

Postby joeoden » Tue Nov 03, 2009 0:09

tetris11 wrote:I just need to know the commands and what to edit.

Read this http://www.gentoo.org/doc/en/handbook/h ... t=1&chap=4
Scroll down to Activating the Swap Partition
Desktop ASUS M2N-MX SE Plus, AMD 64 X2 Dual Core 5200, 4 Gb RAM, GeForce 9500 1GB
Notebook HP CQ61-311AX, AMD CPU M320, 4 Gb RAM, Radeon HD 4300 512 MB
Wireless AR9285, Audio ATI SBx00 (IDT 92hd75B2x5)
Some mistakes are too much fun to only make once!
joeoden
Old Dear Hen
 
Posts: 477
Joined: Sun Mar 15, 2009 10:35
Location: Back in the 'swamp land' Moe, Australia 38°10′20″S 146°16′04″E

Re: Swap partition not installed. How do I install?

Postby tetris11 » Thu Nov 05, 2009 19:02

Thanks.
I had to use systemrescueCD to carry out the commands, but I think it worked.

However Suspend and Hibernate functions still not working..... I smell a new topic
----------------------------------------------------------------
The aim of all computers is to replace crappy movie actors with good CGI. If they EVER make an Enders Game movie with a bunch of half-assed American child actors, I'll paint the theater red.
tetris11
Young Hen
 
Posts: 27
Joined: Sun Oct 18, 2009 21:49


Return to Installer Issues - Calamares **Not for Package Manager Stuff**

Who is online

Users browsing this forum: No registered users and 1 guest