You are not logged in.

#1 2008-08-25 17:06:10

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Swap isn't mounting [Solved]

So i installed Arch yesterday and i made the error or making my swap too big and my /home too small. So i shrank them both down in gparted, and of course i had turn 'swap off', but it doesn't seem to automatically turn on again when i boot. I have to keep going into Gparted and turning it on...

Of cours i've tried the usual channels, searching forum, google etc. But can't find how to automount it...

Any ideas?:/

Last edited by Mountainjew (2008-08-25 18:00:02)

Offline

#2 2008-08-25 17:08:18

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Swap isn't mounting [Solved]

You need to run "mkswap /dev/your_swap_partition" and have

/dev/your_swap_partition             swap             swap        defaults      0   0

in /etc/fstab.

Offline

#3 2008-08-25 17:14:17

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Swap isn't mounting [Solved]

Weird, it was already in there. But still get the same problem...

/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
UUID=4f11fd2c-9ef7-417e-8e73-03612dbf310e swap swap defaults 0 0
UUID=63fdea32-835f-437e-a4b5-9aad46017383 /home ext3 defaults 0 1
UUID=ba93f54f-c90c-479e-84a8-093eeb54b3f9 / ext3 defaults 0 1
UUID=c2bf750a-3e77-4497-9977-ae78b6ea3380 /var ext3 defaults 0 1

Offline

#4 2008-08-25 17:24:07

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Swap isn't mounting [Solved]

Do you get any errors msgs when booting?

Are you sure swap doesn't work after boot? swapon -s should list all enabled swap partitions.

Didn't UUID change when you meddled with partitions?

Offline

#5 2008-08-25 17:41:19

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Swap isn't mounting [Solved]

When i boot up and type swapon -s there aren't any results.

How would i find the new UUID if it did change?

Oh, and i don't get any errors while booting. Only 'mounting network storage' fails...

Last edited by Mountainjew (2008-08-25 17:41:58)

Offline

#6 2008-08-25 17:43:53

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Swap isn't mounting [Solved]

ls -l /dev/disk/by-uuid

Offline

#7 2008-08-25 17:43:56

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Swap isn't mounting [Solved]

> How would i find the new UUID if it did change?

Run 'blkid /dev/sda*'.


1000

Offline

#8 2008-08-25 17:59:50

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Swap isn't mounting [Solved]

Cool, that worked.

Thanks for the help smile

Offline

Board footer

Powered by FluxBB