Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: fdisk complete + hd install; how to mount swap?< Next Oldest | Next Newest >
tefflox Offline





Group: Members
Posts: 4
Joined: July 2006
Posted: July 07 2006,02:07 QUOTE

I managed to get through an fdisk tutorial and my dsl and grub are running fine, but my swap (/dev/hda1) is not mounted, shows 0 space.  The panel in the lower right says "hda mounted" but hda1 unmounted.  Clicking the "unmounted" button registers a popup window which only says "Error: or too many mounted file systems."  What should I do?  thx
Back to top
Profile PM 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: July 07 2006,06:21 QUOTE

Are you running 3.0 with unionfs, if so add legacy to your boot line or grab a copy of 3.0.1. I had that problem with unionfs. Not sure if this is your problem since it sounds like you did a regular hd install.

You should not be able to see swap in the mount tool. try running> sudo mkswap /dev/hda1 < to mkake the swap again than> sudo swapon -a < to turn it on.

also i reccommend to everyone who just can't get the hang of fdisk or cfdisk to grab a copy of gparted live cd to work with partions. it makes it easy to set up and resize or change partions. very handy to have around. you can grab that here-> http://gparted.sourceforge.net/livecd.php
Back to top
Profile PM 
brianw Offline





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: July 07 2006,11:53 QUOTE

use "sudo fdisk -l" to list the partition table.  If you are using hda1 as swap it should be type 82.
to make the swap useable you need to run:
sudo mkswap /dev/hda1
reboot and dsl should recognize it automatically (or just run "sudo swapon" to start using it right away, we are not using windows here so reboots are not required in most cases).  If you have torsmo starting up the swap should show something like "Swap Used: 0/128M 0%" (unless you use the swapon. it may not work with torsmo untill a reboot or exit X and startx or kill -HUP <torsmo pid>)
if no torsmo run the system stats from the menu (or stats.lua from a terminal) and check the mem tab.
Back to top
Profile PM 
tefflox Offline





Group: Members
Posts: 4
Joined: July 2006
Posted: July 07 2006,14:46 QUOTE

I'm running version 2.4 with debian install.  The computer is a pentium 200mmx with 64/2160M memory.  The swap is /dev/hda1 and is 256M.
Back to top
Profile PM 
3 replies since July 07 2006,02:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: fdisk complete + hd install; how to mount swap?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code