You are not logged in.
Pages: 1
i am facing some uncommon problem ... while i was using arch as single boot , i don't have such problem ...
after installing debian x64 i share my swap with arch but while i boot in Arch i found my swap partition is not mounted on mount point [SWAP] so i mount swap manually .
after shutting down Arch , I boot into debian & it was fine .
but again when i boot in arch i found swap is not mounted
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 80.1G 0 part /
├─sda2 8:2 0 1K 0 part
├─sda3 8:3 0 29.3G 0 part
├─sda5 8:5 0 4G 0 part (this is my swap partition but not mounted)
└─sda6 8:6 0 352.4G 0 part /homeplease help
Last edited by partho222 (2013-07-04 17:37:08)
Arch i686 , Debian x64 , KDE , XFCE
Offline
Welcome to Arch.
Debian changes the UUID for swap when it installs, and if you are using UUIDs in your Arch fstab, swap will not be mounted correctly (in Arch) after the Debian install. You need to change your Arch fstab to use the new UUID (or /dev/sda5) for swap.
Sharing a swap partition between distros works perfectly well, if fstab is correct.
Last edited by 2ManyDogs (2013-07-04 15:45:11)
Offline
Thanks a lot @2ManyDogs ![]()
just edited /etc/fstab
but i'm confused why it is changed ?
Arch i686 , Debian x64 , KDE , XFCE
Offline
Because the swap partition was reformatted. If you use GPT, you can use PARTUUID (which does not change on filesystem changes) instead of UUID to avoid such problems in the future.
This silver ladybug at line 28...
Offline
<snip>
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 80.1G 0 part /
├─sda2 8:2 0 1K 0 part
├─sda3 8:3 0 29.3G 0 part
├─sda5 8:5 0 4G 0 part (this is my swap partition but not mounted)
└─sda6 8:6 0 352.4G 0 part /home
Just FYI, for this kind of stuff (that is, commands, output from commands, or log/journal data), you should use [ code ] tags. To see how this is done, you can click on the quote button on the bottom of my post here and see how I created this box below. Otherwise, you can see all the BBCode options by following the "BBCode" link on the bottom of the page.
I am a code block... I am awesome.Offline
thanks a lot all of you ![]()
Arch i686 , Debian x64 , KDE , XFCE
Offline
You're welcome. If you are happy with the solution, please mark your thread [SOLVED] (edit the title of your first post).
Last edited by 2ManyDogs (2013-07-04 17:25:01)
Offline
Pages: 1