Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
trio3b
Post subject: installer will not umount new swap  PostPosted: Nov 28, 2006 - 01:11 AM



Joined: Nov 28, 2006
Posts: 9

Installed Kanotix 32 onto Celeron 300 w/192 mb RAM. and hda with two FAT32 partitions.
hda1 - W2000
hda2 - files

Deleted hda1 and created root, home and swap with qparted, but I realized that I set swap at .512 thinking GB was the unit being used. As it turns out however it was .512 mb. Upon installation received notice that swap was too small so I tried to delete in order to resize, but no matter what I did I could not unmount the partition. I tried to delete all other partitions and start from scratch - no luck. Tried other combinations.

Logged onto console as root - tried to umount - output indicates swap is NOT mounted! .

Had to use my Mandrake 10.2 install disk (which has never failed me) to delete and recreate these partitions. Installation went fine but am curious as to why I could not unmount that swap partition?

Any thoughts appreciated
Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
piper
Post subject: RE: installer will not umount new swap  PostPosted: Nov 28, 2006 - 02:54 AM
Team Member
Team Member


Joined: May 03, 2005
Posts: 1544
Location: out there somewhere
Well were you "IN" kanotix trying to delete it or were you using the live cd ???

_________________
h2's d-u script
h2's rdiff-backup script
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
trio3b
Post subject: unmount swap  PostPosted: Nov 28, 2006 - 06:53 AM



Joined: Nov 28, 2006
Posts: 9

This was during HD installation to hda1 using live cd and was able to mount and unmount root and home partitions that I had created, but not swap.
 
 View user's profile Send private message  
Reply with quote Back to top
mzilikazi
Post subject: RE: unmount swap  PostPosted: Nov 28, 2006 - 01:52 PM
Team Member
Team Member


Joined: Dec 17, 2003
Posts: 1109
Location: Ganymede
For example
Code:
swapoff /dev/hda2

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
piper
Post subject: Re: RE: unmount swap  PostPosted: Nov 28, 2006 - 05:43 PM
Team Member
Team Member


Joined: May 03, 2005
Posts: 1544
Location: out there somewhere
mzilikazi wrote:
For example
Code:
swapoff /dev/hda2


yup, then format (not sure if necessary)



Code:
mkswap /dev/hda2


then

Code:
swapon -a


reboot after reboot check fstab, if line for swap is there. if not do

Code:
rebuildfstab

_________________
h2's d-u script
h2's rdiff-backup script
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
trio3b
Post subject: RE: Re: RE: unmount swap  PostPosted: Nov 29, 2006 - 01:01 AM



Joined: Nov 28, 2006
Posts: 9

Thanks, that will work!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits