View previous topic :: View next topic |
Author |
Message |
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Fri Aug 20, 2004 12:17 am Post subject: problem after reboot.. |
|
|
everything seemed to install just fine. after rebooting as it was loading the kernel it came up and said cannot fond /dev/swap.
i get a command prompt to fix it or can hit ctl+d to boot normaly. was currious if anyone else has seen this. it seems to load X and kde fine but i get the arror of no /dev/swap everytime i reboot. _________________ "In Nomeni Patri Et Fili Spiritus Sancti." |
|
Back to top |
|
|
chris_r n00b
Joined: 19 May 2004 Posts: 51
|
Posted: Fri Aug 20, 2004 12:28 am Post subject: |
|
|
You have to alter /etc/fstab and change /dev/swap to whatever your swap partition is (mine is /dev/hda6 for example) |
|
Back to top |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Fri Aug 20, 2004 12:42 am Post subject: |
|
|
i didn't think of changing it in /fstab but should i have to when i set it as swap whne i initially installed it??
Code: | makswap /dev/hda2
swapon /dev/hda2 |
and also in fdisk at the beging i tagged /dev/hda2 as linux swap (82)
i will try editing the fstab though _________________ "In Nomeni Patri Et Fili Spiritus Sancti." |
|
Back to top |
|
|
chris_r n00b
Joined: 19 May 2004 Posts: 51
|
Posted: Fri Aug 20, 2004 12:50 am Post subject: |
|
|
mkswap formats it as a swap partition and swapon will initialize the swap for that session so you should edit fstab to make it automatically initialize swap at boot time |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Fri Aug 20, 2004 6:49 am Post subject: |
|
|
acidburn wrote: | i didn't think of changing it in /fstab but should i have to when i set it as swap whne i initially installed it?? |
Yes... how would you new system know you did it?
acidburn wrote: | and also in fdisk at the beging i tagged /dev/hda2 as linux swap (82) |
That just sets it up so it can be used as swap-space - you still have to tell your system where to find it. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
chINeSe mIDgEts Apprentice
Joined: 02 Mar 2004 Posts: 209 Location: look behind you
|
Posted: Fri Aug 20, 2004 10:24 am Post subject: |
|
|
oh did you remember to swapon? man it spent such a long time tryin to figure that one out <kicks self> _________________ ...it must have been very demanding having to learn how to use Microsoft Office, right up there with other lofty challenges like learning how to zip your fly without getting your dick caught. |
|
Back to top |
|
|
|