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

Re: Someone please help.



On Sun, Dec 29, 2002 at 08:43:52PM +0000, Dan Walker wrote:
> i did the following
> fdisk -l
> it gave me:
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1        13    104391   83  Linux
> /dev/hda2            14      1596  12715447+  83  Linux
> /dev/hda3          1597      2174   4642785   83  Linux
> /dev/hda4          2175      2434   2088450    f  Win95 Ext'd (LBA)
> /dev/hda5          2175      2239    522081   83  Linux
> /dev/hda6          2240      2369   1044193+  83  Linux
> /dev/hda7          2370      2434    522081   82  Linux swap
> 
> i then typed :
> 
> mkswap -c /dev/hda7
> 
> it said that it has created one or something (definatly a positive
> answer from the command)
> 
> then i typed swapon /dev/hda7
> 
> then rebooted and while booting, i had:
> 
> Activating Swap  [FAILED]  No such device or directory
> 
> What shall i do now?
> THANK YOU SO FAR!!!!

You missed a step. :-)

>     >     Your /etc/fstab may show it as /dev/hdb5 when it is now
>     >     /dev/hda5.

Make that /dev/hda7, now that it is known.

  fgrep swap /etc/fstab

If it is not shown as /dev/hda7, fix it with your editor of choice
(pico, emacs, vi, or something else).  Then you can "swapon /dev/hda7"
and assume it's fixed, or reboot, just to satisfy yourself.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.cumbytel.com/~bobcatos/
Linux: because I want to get there today.  Without rebooting.





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