Linux this is sure to eventually kill me

Discussion in 'Software' started by bee2643, 28 Feb 2003.

  1. bee2643

    bee2643 What's a Dremel?

    Joined:
    7 Mar 2002
    Posts:
    1,770
    Likes Received:
    1
    allright, i have been trying for a month straight on these 3 specific problems, yes ive searched google, ive tried freenode on irc and i still cant get it

    the 3 things i want done are such:
    1) have my ext2 partition automount on boot
    2) have the 2 commands for my mouse autoload on boot:
    xmodmap -e "pointer = 1 2 3 6 7 4 5"
    imwheel -k -b "67"
    3) get my ATI TV tuner to work, this, however is not "essential" atm.

    what ive done?!?::
    ive pasted:
    /dev/hda1 /documents ext2 exec,dev,suid,rw,umask=000 1 1
    into /etc/fstab...no workie, ive also tried /etc/rc.d/rc.local, which doesnt work either, (for both mouse or hdd mount)

    and as for the tv tuner, well, lets just say i tried compiling my own kernel once, and that didnt turn out too well, but lemme guess, i have to dont i?


    **edit
    using Slackware 8.1 distro 2.4.18
     
  2. Kargin

    Kargin Overdose . . .

    Joined:
    18 Sep 2002
    Posts:
    2,374
    Likes Received:
    1
    For the EXT2 partiton, assuming hda1 is in fact teh partition (double check, try others if your really not sure, the most you'll get is a horrible screaming error, and have to rescue) Also make sure the directory /documents exists, as Linux will not auto-make it, it'll just sit there. Also remember it's case sensitive. I'm not sure how exactly Slackware uses the fstab file, but I would think it'd be similar over them all, but you need defaults int ehre, before the 1 1 (yes I forget what they are for, it's been a while since I've been in Linux :p)

    For autoloading the mouse scripts, I believe rc.d should work . . I kinda forget, I never really used autoloading. . . . .

    For teh TV tuner, :hehe: good luck dude. That's all I can say. Although I will say you will most likely need to re compile the kernel, depends on how old it is, what kind of support base it has, etc.
     
  3. bee2643

    bee2643 What's a Dremel?

    Joined:
    7 Mar 2002
    Posts:
    1,770
    Likes Received:
    1
    yes there is no syntax, im aware of the folder having to be there, hda1 is the partition im wanting to mount automatically, as for the 1 1, that allows reading and writing to the partition, ill try throwing defaults in there and see what comes up
     
  4. dakar

    dakar What's a Dremel?

    Joined:
    6 Mar 2002
    Posts:
    460
    Likes Received:
    0
    let me toss a few cents in here that may be of some help... under SL the mouse drivers are 'usually' loaded via /etc/rc.d/rc.gpm (called via rc.M), but they can also be loaded via the rc.local... as that should be the last rc. file loaded, check that rc.gpm is not loading and causing a driver conflict for the device.

    Second thing.... about the fstab...a common error, fstab should be [tab] deliminated and not spaces. and the 1 1 or 0 0 at the end of each line is for the sequence the filesystems are checked at mount time or after mount time. Webmin's utilities make short work of setting up mounting partitions for you and rewriting the fstab file so it mounts them properly at next reboot. If you haven't tried it yet... i highly suggest you do its a great utility for so many functions and daemons. Just slower than the CLI for me, but its easier than trying to remember soooo many of the idiosyncracies (sp) of fiel formats.

    Now the tuner card.... good luck... i have one of those as well, but haven't had the time or need to try to get it working under any flavor of Linux... But then again i rarely stray from SL for workstations (for servers its nothing but SL) but everytime i try something new it doesn't last long before i blast it and go back.

    Hope this is of some help.
     
  5. bee2643

    bee2643 What's a Dremel?

    Joined:
    7 Mar 2002
    Posts:
    1,770
    Likes Received:
    1
    k well i tried the commands in both rc.local and rc.gpm
    in rc.local i get an error when i login that 'only root can do that'
    ive tried other files as well
    i guess what im looking for is a autoexec script that can do root commands, or, a file that allready autoexecutes root commands that i can just add them into :S
    but so far i havnt had any luck
     
Tags:

Share This Page