Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mkfs xfs --problems with swapon command?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
idiotprogrammer
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 179
Location: Texas

PostPosted: Mon Jul 29, 2002 3:16 am    Post subject: mkfs xfs --problems with swapon command? Reply with quote

after doing fdisk and mkfs.fs I ran swapon /hdb2

unable to find swap-space signature
swapon: swapon: invalid argument

(my linux swap is on hdb2).

I indicated hdb2 clearly as a linux swap partition in fdisk, and the listing of partititions show hdb2 as swap.

What's happening here? Should this worry me?

Robert Nagle, Texas
www.idiotprogrammer.com
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 29, 2002 3:21 am    Post subject: Reply with quote

You need to do:
Code:

mkswap /dev/hdb2

fdisk does not format the swap partition... it just creates the partition and marks it as swap.
Back to top
View user's profile Send private message
idiotprogrammer
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 179
Location: Texas

PostPosted: Mon Jul 29, 2002 3:44 am    Post subject: me=idiot! Reply with quote

I had kept the browser open at the same place that it didn't occur to me to look up! And there it is in the instructions. Thanks. rj
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum