LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2004, 05:19 PM   #1
spade
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Rep: Reputation: 0
a couple of questions


Well, I have always come across solutions to my problems or questions about linux, but sometimes even using the search function can let you down.

1. Im running mandrake 9.1 (9.2) with XFCE 4.0.3 and Im trying to figure out what the command line is to look at your disk space? You know total and remaining.

2. There are times when I log to root and back to my account that the screen resolution changes to 640x480 and no matter what I do it stays lthe same. Why does this happen ? how can this be resolved?


3. I was using the commandline drakconf...to access mandrake control center. For some reason that command doesnt exist anymore. What just happend?

and finally urpmi?

I've been told that I can upgrade most of my software and drivers through it . I know Urpmi is rpmdrake. But instead of typing urpmi (filename)

is there a good url that can use to get those good updates? I tried easy urpmi where you specify what distro you are using and version...and it gives you a few urls to put in. But im asking if anyone found a good update link ..since iits showing thay I have got everything up to date...(which isnt true).


I hope u have time to answer these questions.

from what I've seen its a hell of a community and im glad I became part of it.

P.S, I have an 120gb HD it has XP on it only ....im wanting to use more HD space for linux...how much is enough if I want to compile ...etc. I have a feeling my 12gb HD isnt enough. All these source files I have...etc.

thanks again
 
Old 01-10-2004, 05:24 PM   #2
spade
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
BTW,

p3 744 mhz
ati radeon 8500 (64mb)
384mb ram
120gb (windows XP)
12gb( mandrake 9.1 (9.2)
 
Old 01-10-2004, 05:26 PM   #3
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
The command on any linux distro is 'df'. You can do 'df -h' (or maybe it's 'df --human') to see it in "human-readable form".

I'm not sure about #2, but I'd imagine it's an XF86Config problem.

I don't know about #3 either, but root and users have different paths. For instance, /sbin and /usr/sbin are only in root's path. drakconf might be in the sbin directory.

The rest of the stuff I'm not sure about. I'm not familiar at all with mandrake or rpm.
 
Old 01-10-2004, 05:27 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
the only answer i know is to #1. the command is df, and you can list output as GB as opposed to bytes with df -h (for human ) man df or df --help lists more options.

welcome to LQ!
 
Old 01-10-2004, 05:28 PM   #5
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
12GB should be plenty. I have linux running on an 8GB drive and I still have lots of room. If you start to run out you can always move non-essential files to your WinXP partition (as long as it's FAT32 and not NTFS).
 
Old 01-10-2004, 05:32 PM   #6
spade
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Actually Im using reiserFS for mandrake and NTFS for XP...allthough I can't see linux on my xp partition, I can see windows on my mandrake partition....which is under /mnt.

Kinda weird ...I thought u needed linux to run under the same filesystem in order to read/write them
 
Old 01-10-2004, 05:35 PM   #7
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
no, that's normal. it seems that linux can read just about anything.
 
Old 01-10-2004, 05:35 PM   #8
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
Windows is unable to write to any linux file systems, but linux can write to FAT32 (it can only read NTFS; not write).
 
Old 01-10-2004, 06:50 PM   #9
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
#1 has been answered

#2: mandrake is trying to discourage you from loggin in as root with gui (figuring you logged in as root with gui of course...); this is mandrake's way of saying StOp!! and i'm being serious

#3: like stated before, drakconf will probably work when logged in as root; but do which drakconf in a terminal to see if it exists

urpmi: never used this tool, but i downloaded everything from mandrake's website mirrors; just go to www.mandrakelinux.com and find the link for ftp mirrors; those may actually work for urpmi anyway

hdd space: depends if you want to keep all your sources WiTh all the compiled things inside it; if you want to keep your sources, either keep them tarred or do make mrproper in the sources to delete the compiled programs within the source dir
those compiled things take up a lot of space; take wine for example; untarred it is about 15 megs; compiled it is over 400 megs!!! plus make install copies that 400 megs into the harddrive again
i keep a lot of my sources (and play lots of games in wine) and i'm using a 25 gig root partition and have only used about 9 gigs of it so 12 gigs should be plenty

like suggested, clean up your /home/user directories and perhaps your /tmp dir to make sure diskspace is kept under control; fortunately linux only uses as much space as required and doesn't do extra things to take up or clean up space (like in Windows, where one day i will have 9 gigs free and then have 100 megs randomly disappear by the next day without going online or modifying or creating any files) but linux does take up space faster than many think
 
Old 01-11-2004, 03:13 AM   #10
tearinox
Member
 
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348

Rep: Reputation: 30
#1, to see file sizes in directory, i believe the command is du
for practical purposes, du -m would be good (-m = space in megabytes, not bytes )

but even better would be du -g

:P
 
Old 01-11-2004, 01:27 PM   #11
spade
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
thanks alot guys...sorry i didnt answer alot earlier but I didn't expect such feedback so soon.


Although If the whole mandrake doesn't like me using root...then I see no other way. Since Im using XFCE 4.0.3 and no other window manager installed there's only one terminal and that wont even let me choose to have access to root without logging to root.


Thanks again

Last edited by spade; 01-11-2004 at 01:28 PM.
 
Old 01-12-2004, 12:48 AM   #12
tearinox
Member
 
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348

Rep: Reputation: 30
Start X and start up a terminal. To log in as root in command line, type "su" (no quotes of course) in terminal
su stands for switch users. Now when you do anything in terminal, it will have you doing things as root. Thats an easy way to go around and do something in root.
 
  


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
Couple questions. kuplo Linux - Newbie 0 11-26-2005 11:48 AM
couple of questions?? Lucas10 Linux - Newbie 23 06-04-2005 06:45 PM
a Couple of questions! Nik0s Linux - Newbie 14 01-25-2004 12:01 PM
Just a couple of questions... LI-6Y LUCY Linux - Newbie 4 09-07-2003 10:33 AM
A couple questions aceman817 Linux - Networking 2 04-25-2001 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration