Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Just when I thought I knew a thing or two about Linux, I go and do something dumb. So, I installed CRUX 2.5, right, and it all went pretty well ...
  1. #1
    Just Joined! aluminumspleen's Avatar
    Join Date
    Oct 2008
    Location
    Dorm Room, America
    Posts
    59

    Oh Dear...

    Just when I thought I knew a thing or two about Linux, I go and do something dumb.

    So, I installed CRUX 2.5, right, and it all went pretty well (I mean, it took me a bit to get the kernel right, but all in all it was much smoother than 2.4!). I was super psyched about it until I realized, hey, I'm back at school where I'm not allowed to get internet access on my linux box! Dang!

    But, since I know how to unzip and install a tarball, I thought "hey, I can do this easy, just get the source for everything and compile it myself! I mean, that's what ports is all about!"

    Well, Openbox went fine (there were no dependencies), so I needed a panel. I went to try PyPanel, downloaded all the dependencies and the source onto my flash drive, and brought it over to my Linux box.

    Everything was going fine (I was reading the pkgfile, which describes exactly how to issue the commands) until I went to compile one of the dependent libraries. In the pkgfile, right after "make install", it asked me to "rm -rf $PKG/usr/bin", which (I believe) would remove the binaries created by the compilation in the unzipped folder, where they wouldn't bother the actual binaries in the /usr/bin.

    However, I had not defined a variable for PKG. Nor had I taken the time to make a new user without root permissions. Byebye /usr/bin! Oops!

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Oh no!! Man that's far worse than my night. I've been fighting Ubuntu 8.10 over an old Dell for hours with only dial up. That's really too bad. However, the fix should be easy enough. Just reinstall CRUX to the root partition. Be sure to save /usr/src/2.6.*/.config so you can use it again though...
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Just Joined! aluminumspleen's Avatar
    Join Date
    Oct 2008
    Location
    Dorm Room, America
    Posts
    59
    Can I also save the kernel? (I'm sure it's not perfect, but I did spend 4 hours compiling, checking, panic-ing, compiling, etc. to get it to boot).

    Or is this the /usr/src/2.6.*/.config?

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    I think it can be done but I don't know what else you might run into. If it were me I'd just save the .config somewhere, then use it again after installation to compile the kernel. That will make the new kernel configuration the same as it was.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  5. #5
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,287
    And to think I'm nervous about having a go with Slackware
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  6. #6
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    Now you know why we all say, use a non-root account for normal things, and only use root when absolutely necessary!

  7. #7
    Just Joined! aluminumspleen's Avatar
    Join Date
    Oct 2008
    Location
    Dorm Room, America
    Posts
    59
    Quote Originally Posted by Bemk View Post
    Now you know why we all say, use a non-root account for normal things, and only use root when absolutely necessary!
    Agreed, I'm just used to the distros that automatically create and put you into a non-root account, and when I finally got it booted I was just so eager to start working!

  8. #8
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    If you don't mind, I'm still laughing my ass of.

  9. #9
    Just Joined! aluminumspleen's Avatar
    Join Date
    Oct 2008
    Location
    Dorm Room, America
    Posts
    59
    It's all good, Bemk . I'd be way more pissed if it was my main system, but it's not, so it's just an inconvenience. Living proof, though, that you really shouldn't do things as root unless you know what you're doing!

  10. #10
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,287
    Quote Originally Posted by aluminumspleen View Post
    Agreed, I'm just used to the distros that automatically create and put you into a non-root account, and when I finally got it booted I was just so eager to start working!
    Congratulations! You have just gained what we old farts call "experience".
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •