View Single Post

   
  #5 (permalink)  
Old 02-20-2008, 01:36 PM
Santo
 
Posts: n/a
Default Re: Newbie:swap partition not available...


D Herring wrote:
> olive wrote:
> > Santo wrote:
> >> I create a primary partition and three logical partitions which, during
> >> the setup, part I assign respectively to:
> >> /
> >> /swap
> >> /usr
> >> /home

>
> This might be your problem.



....yes...I believe that was the problem...only, smart as I am, when I
reinstalled slackware I have made another mistake because even after
usin "mkswap..." and "swapon..." it still does not appear in the fstab
file and with Kinfo Center it still shows as not available...

root@santolix:~# cat /etc/fstab
/dev/hdb1 / ext3 defaults 1 1
/dev/hdb5 /usr ext3 defaults 1 2
/dev/hdb6 /home ext3 defaults 1 2
........

....but it appear as hdb2 with the command cfdisk.
hdb2 is a primary partition.... I guess I have to reinstall and assign
swap to logical partition ...that should solve the problem...?



cfdisk... output


----------------------------------------------------------------------------------------------------
hdb1 Primary Linux ext3
1998.75
hdb2 Primary Linux swap
1019.94
hdb5 Logical Linux ext3
5996.23
hdb6 Logical Linux ext3
39999.54
Pri/Log Free Space
31042.21

fdisk -l ...output

Device Boot Start End Blocks Id System
/dev/hdb1 1 243 1951866 83 Linux
/dev/hdb2 244 367 996030 82 Linux swap
/dev/hdb3 368 5959 44917740 5 Extended
/dev/hdb5 368 1096 5855661 83 Linux
/dev/hdb6 1097 5959 39062016 83 Linux

Reply With Quote