[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: swap problems



Bob wrote
>Go into fdisk like this:
>fdisk /dev/hdb

>type p
>(to print your partitions)
>type q
>to quit (before you do something you might regret! :)
>
>you'll see what type each partition has, and can go on from there...
>
>                                                          ---> RGB <---

after running fdisk I get this:

Disk /dev/hdb: 16 heads, 63 sectors, 4092 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1      2642   1331536+  83  Linux
/dev/hdb2          2643      3049    205128    5  Extended
/dev/hdb6          2643      3049    205065   82  Linux swap
                                                               
So I add /dev/hdb6 in fstab file under swap then did swapon -a and get:

swapon: /dev/hdb6: No such device

is this because my start and cylinders (or whatever) are the same for 
/dev/hdb2 and /dev/hdb6 and if so what do I do to reasolve that, and if not any
suggestions.


Thanks agian


Bill Katsma