Jump to content

Cannonfodder

Members
  • Posts

    2898
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Cannonfodder

  1. To delete rpm's

     

    rpm -qa | grep keyword

     

    where keyword can be sane, xsane, plustex

     

    Use this to get the name of the package.

     

    Then you can

     

    urpme nameofpackage

     

    To get rid of the make install stuff. Either make uninstall works or if it does not, you can do this

     

    1. Install checkinstall

     

    urpmi checkinstall

     

    2. Reinstall sane packages with ./configure make and on the last step use

     

    checkinstall make install

     

    Answer the questions use the defaults, and select r for rpm. In the comment step, you are actually providing a package name for the rpm so type in something informative like MYSane, MYXSane so on..

     

    When done reinstalling everything, you can then use the rpm -qa | grep to get the package names such as MySane and then use urpme to uninstall them.

     

    Then you can use locate -u to update your locate database (as su) and then look for sane files.

     

    locate sane or locate xsane. This last step will catch anything that is still there..

  2. Pepse, part of the problem with your replies are that you are being vague about what you are looking for.

     

    When you download a tar.gz file and uncompress it, you usually ./configure && make && make install it.

     

    Now are you talking about uninstalling the files installed by the "make install"? Or are you talking about simply removing your tar.gz file? What?

     

    If its uninstalling then you should go to the uncompressed tar.gz folder and try

     

    make uninstall

     

    You can read the README and INSTALL document for info.

     

    The correct way to install all of this is to

     

    1. Uncompress the sane folder.

    2. Uncompress the Plustek files into the sane folder.

    3. Do the compile.

     

    Additionally, you can check out checkinstall. It's a package that will do the last step for you and convert the entire install into an RPM.

     

    E.g.

     

    ./configure

    make

    checkinstall make install

     

    answer the questions and when done, you not only have an rpm package but its installed with rpm. So when you want to uninstall, you can use rpm or urpme to uninstall.

  3. Look for computer shows in your area where they sell computers. You can transfer pieces from your old box to the new and save cash. E.g. My bud got a snazzy box/motherboard with 2.4 ghzt, and a video board for 360 bucks.

     

    He installed the motherboard himself, transfered hard drive, cd drives, dvd and keyboard/mouse and was up and running..

  4. Aru,

     

    In this line..

     

    myTree='find "$cwd" -type d -name "$thumbDirName" -exec rm -fr {} ; -or -type d -print 2>/dev/null'

     

    What does the -or -type d -print 2>/dev/null' do?

     

    I am guessing if it can't find a thumbs directory it just redirects the not found message to null?

     

    If I use this instead..

     

    find "$cwd" -type d -name "$thumbDirName" -exec rm -fr {} ;

     

    It will remove the directory but then complains it can't find it? Why is that?

  5. There's a trick for having xsane be accessed directly from gimp..

     

    You need to set up a symbolic link for your ~/gimp1.2/plug-in folder to the xsane plugin.

     

    Do some google searching to find it. I've lost the correct setup for the moment..

  6. Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [BQ: Board Questions]

     

    BQ-03 : I need a language translator!

     

    The following board members have volunteered their help with translating. Please contact one of them by sending him/her a PM (private message) or contact a Moderator or Site Admin for further help.

     

    If you wish to add your name and translating skills to this list, please post in this thread.

     

    • Français/French
    theYinYeti [PM]
     
    Deutsch/German
    arctic [PM]
     
    Español/Spanish
    arctic [PM]
     
    Danish
    Artificial Intelligence [PM]
     
    Polish
    ianw1974 [PM]
     
    Russian
    ilia_kr [PM]
     
    Hebrew
    ilia_kr [PM]
     
    Japanese/Nihongo
    alexpank [PM]

     

    -------------------------------------------------------------------------------------------------------------------

    Anyone who has not logged in for 6 months is removed from this list.

    Last pruned: 12 July 2010

  7. Steve, regarding how to run 2 separate linux distros, here's a faq I wrote on the issue..

     

    http://www.mandrakeusers.org/viewtopic.php?p=36825

     

    I guess I'm a little confused as to what your /mount issue is.. When you install 8.1 on your second drive, I don't see how it has anything to do with your 9.1 on your first drive.

     

    If your partition table is goofy to start with, it may explain your problems. Can you clear the drive and start over? That's something you really should do anyways. Are you using the custom partitioning feature during install of 8.1? At the begining of install, you would select the expert mode. You should be able to specifically select a partition and assign it as a mount point. hdb6 is mounted at /.

     

    Since your 9.1 is experiemental and you are trying to figure things out, I would simply have a separate /home and separate everything for now. The only thing I would share would be the swap.

     

    As a last resort, you can disconnect your first drive, install 8.1, reconnect your first drive. You may have to reset your bios to defaults after the reconnect to get things back to normal. Then you can manually edit your 8.1 fstab file to set everything to hdb rather than hda.

     

    PS Snuggle up with your honey and watch a movie. Gotta keep the balance in life :)

  8. There you go :) Good catch. So your security setting was on high?

     

    I was really wondering about this because usually tcp/ip is tcp/ip.. It shouldn't require anything special..

  9. If your bios is working fine, then your only problem with lilo may insuring your setup files are correct.. Do some searching on lilo and on fstab and view both files. I know its new but anyone messing with linux needs to know how these files work.

     

    /etc/fstab

     

    File containing a list of all partitions to mount.

     

    /etc/lilo.conf

     

    File containing an entry fo reach OS. Has pointers to partitions.

     

    They are both text readable (no goofy characters)

     

    Also, when you look at these files, yoiu will see references to hda or hda1 hda2 so on. Or hdb hdb1 hdb2. Each hard drive has a letter (kinda like C:). So if you have 3 partitions on your first hard drive, then you might have

     

    hda1

    hda2

    hda3

     

    So you need to boot to rescue and then type cfdisk /dev/hda and view the results. This program will list all partitions for that hard drive. Don't modify anything though.

     

    To answer your question though, yes you can just reinstall and it may or may not work.. If you do reinstall, you must reformat any partition where you installed linux before (its a good idea).

  10. Some things to check first..

     

    1. Your bios. On startup does your bios list all hard drives correctly and in the order you expect? Hit the escape key if an image is covering the screen. Or turn it off in the bios. This step is important because if it is not working correctly, nothing else you do will work.

     

    2. Your bios has a set to default option. You might want to try selecting this and then reboot and then setup any changes you require. Repeat step 1 after this step.

     

    3. If you can see your hard drive, then boot off of CD1, hit F1, type rescue, go to console (don't mount first). Now try to manually mount partitions from your drive to /mnt. Can you do this? Make sure you can actually get to the hda1 /.

     

    4. Mount your / partition and go to /mnt/etc and view your lilo.conf file. Is it correct? Is all the info in it pointing to actual files? Type lilo if you make any changes. This installs lilo.

  11. Any media you provide for your computer will have some kind of file system. By file system, I mean organization that follows rules, like a library filing system. The same is true for a hard drive, floppy diskette, or a CD. Most CD's follow the ISO9660 standard.

     

    My point to you is that the media is separate from the viewing process. In your case, linux will easily mount the CD and make it available for software to look at it.

     

    To answer your question, since it is HTML text files, a browser will be able to read it. That is the primary purpose of a browser.. It can display HTML files obtained over the web or from your computer. With opera, you will have to do a File/Open and go to /mnt/cdrom/whateverfile.html and you should be able to take it from there.

  12. This is my current setup..

     

    Filesystem            Size  Used Avail Use% Mounted on
    
    /dev/hdc7             600M  373M  228M  63% /
    
    /dev/hdc8             4.0G  3.3G  691M  83% /usr
    
    /dev/hdc9            1000M  355M  645M  36% /home
    
    /dev/hdc10            4.9G  3.1G  1.9G  62% /share
    
    /dev/hda5             9.8G  5.6G  4.3G  57% /mnt/software
    
    /dev/hda6             5.5G  4.3G  1.2G  79% /mnt/media
    
    /dev/hdc5             8.7G  7.3G  1.4G  85% /mnt/wintemp
    
    /dev/hdc6             9.8G  8.5G  1.4G  87% /mnt/winrip
    
    /dev/hdc11            3.4G  1.2G  2.2G  36% /mnt/win2k

     

    Note on the / partition. When I did large numbers of rpm updates, I ran out of space. I ended up adding a symbolic link to a folder in /share to add more space for that purpose..

  13. It's based on your needs. Are you running a web server with a lot of hits? If so, you should allocate space for your /var. If you are not, maybe a /var partition is a waste. I run a home computer with

     

    /

    /usr

    /home

     

    and have no problems..

     

    You might also want to start them all off small and if you need to you can resize or attach new partitions as you need them..

     

    Another thing you can do is check your existing partition sizes

     

    use the du -s command for getting a size of a folder and its subcontents.

×
×
  • Create New...