LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-30-2008, 05:43 PM   #16
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71

Quote:
Originally Posted by ahmed gamal View Post
thanx man very very much
i will try that
i have 512 ram so i make swap 1G
what's ur idea in that?
second

shall it look like that(with ext3 and 11)???
No, when you're done your fstab should look like this:

/dev/hda9 swap swap defaults 0 0
/dev/hda10 / ext3 defaults 1 1

#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

As to 1G of swap, I'm not sure how you're going to make it so. You want to make /dev/hda9 your swap partition, which means it will be as big as your /dev/hda9
 
Old 01-30-2008, 05:43 PM   #17
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
/dev/hda5 swap swap defaults 0 0

(from my /etc/fstab)
posted seconds too late.

Last edited by wadsworth; 01-30-2008 at 05:46 PM.
 
Old 01-30-2008, 05:59 PM   #18
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
thank u all
i will try and see
 
Old 01-30-2008, 06:17 PM   #19
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
i have a bad news
i did what u had said exactly
Quote:
#/dev/hda9 swap swap defaults 0 0
/dev/hda10 / ext3 defaults 1 1
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
then i restarted
it worked very well as before till it reached
"starting X11 ........"
then it hanged

the question shall i install slack from the beginning
or there is a solution?
 
Old 01-30-2008, 06:24 PM   #20
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
Hm... Interesting...
But the system boots, so we just need to figure out what's wrong with the X server, why reinstall? You can boot to console and log in in text mode, right? Just reboot, and when the Lilo prompt comes up, type
Linux 3

It might be one of several things. Your / partition could be full, so X can't write to /tmp. Or, worse, something that X needed was on /dev/hda10, good thing we haven't erased it completely.

If you're able to log in console mode, run

df -h

to see if your / partition is full, and you can try mounting /dev/hda10 on, say, /mnt/hd to see if there's something useful left there.

mount /dev/hda10 /mnt/hd
ls /mnt/hd
 
Old 01-30-2008, 07:20 PM   #21
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
really thank u man
i did what u said but i use 88% from hda10
so i thought that there is nothing wrong so i typed startx and i found that
there is a problem in xorg.conf
i had played in to make my scroll works
this made the problem
i entered emacs and deleted what i had added
and all things worked fine
i am now on my little slack
i did what u said
Quote:
root@ASK:~# umount /dev/hda9
umount: /dev/hda9: not mounted
root@ASK:~# mkswap /dev/hda9
Setting up swapspace version 1, size = 1028120 kB
no label, UUID=1ed9db1b-1121-4589-b14a-8c9cf2b9c0d6
root@ASK:~# swapon /dev/hda9
root@ASK:~#
then i removed the # from fstab
and i will see what will happen
really i had learned something new today
really i love my Slackware
thanx man
 
Old 01-31-2008, 02:49 AM   #22
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
really man
i did what u said exactly
and restarted and typed
Quote:
ahmed@ASK:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda10 5.9G 4.9G 685M 88% /
/dev/hda6 17G 15G 2.1G 89% /mnt/hd/E
ahmed@ASK:~$
but where is my swap???????
 
Old 01-31-2008, 05:10 AM   #23
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
Quote:
Originally Posted by ahmed gamal View Post
really man
i did what u said exactly
and restarted and typed

but where is my swap???????
df -h doesn't show swap. To see what swap is used by the system, type

cat /proc/swaps
 
Old 01-31-2008, 05:13 AM   #24
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Or you could use gkrellm. It will show used memory, swap, etc.
 
Old 01-31-2008, 03:54 PM   #25
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
here it is
Quote:
root@ASK:~# cat /proc/swaps
Filename Type Size Used Priority
/dev/hda9 partition 1004020 0 -1
root@ASK:~#
and the other command
Quote:
root@ASK:~# gkrellm

(gkrellm:4216): Gtk-WARNING **: cannot open display:
root@ASK:~#
then what else shall i do?
 
Old 01-31-2008, 05:41 PM   #26
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
Well, you don't have to do anything. /proc/swaps shows that you use your /dev/hda9 as a swap partition. It's about 1G in size.
So, I think you're all set.

If you wanna use gkrellm, start it as a user, not as the root.
 
Old 01-31-2008, 06:00 PM   #27
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
i loged on as a user
Quote:
ahmed@ASK:~$ gkrellim
-bash: gkrellim: command not found
ahmed@ASK:~$
 
Old 02-02-2008, 03:00 AM   #28
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
gkrellm not gkrellim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can swap not mount? sharapchi Slackware 6 10-23-2006 01:47 PM
Swap partition won't mount Duron Linux - Hardware 2 08-31-2006 08:03 PM
cannot mount swap Murdock1979 Slackware 2 12-26-2005 01:51 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
how to mount swap partition Xiangbuilder Linux - Newbie 5 10-30-2003 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration