NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › And on today's edition of what NOT to do to a linux box...
New Posts  All Forums:Forum Nav:

And on today's edition of what NOT to do to a linux box...

post #1 of 14
Thread Starter 
On AMD64 machines, DON"T accidently delete the wrong lib symlink, and remove the symlink from /lib to /lib64.

It causes nasty fun things to happen.

This message brought to you by a severe lack of sleep, poor instructions, and a strong desire for alcohol, combined with installing software in the early morning...

Seablade

Who went through and fixed it later when he relaised what he had done... unfortunatly I tried rebooting first when certain software wouldn't start. Bad Windows Habits... Bad! BAD!
post #2 of 14
Quote:
Originally Posted by seablade
unfortunatly I tried rebooting first when certain software wouldn't start. Bad Windows Habits... Bad! BAD!

Lmao, thats soo true
post #3 of 14
Quote:
Originally Posted by Sygen
Lmao, thats soo true

ROFL @ rebooting Windows habits.

I've never owned a 64 bit machine... is it just entirely symlinked then?

-olly
post #4 of 14
Thread Starter 
Well yes and no. Some things are handled via symbolic links, but the reason that link is there is because there is a separate lib32 directory that contains the 32bit libs from the emul packages to allow you to run things like the precompiled 32 bit firefox or mplayer.

So instead of just having /lib like on a 32 bit machine, I have /lib32 and /lib64 with 32 bit or 64 bit compiled libs respectively, and a symbolic link pointing to /lib64 if I remember right, and that is /lib

Seablade
post #5 of 14
Quote:
Originally Posted by seablade
Well yes and no. Some things are handled via symbolic links, but the reason that link is there is because there is a separate lib32 directory that contains the 32bit libs from the emul packages to allow you to run things like the precompiled 32 bit firefox or mplayer.

So instead of just having /lib like on a 32 bit machine, I have /lib32 and /lib64 with 32 bit or 64 bit compiled libs respectively, and a symbolic link pointing to /lib64 if I remember right, and that is /lib

Seablade

Gotcha, that makes sense.

Lol, maybe someday I'll upgrade my machine and get something 64-bit...

-olly
post #6 of 14
Thread Starter 
Speaking of bad windows habits....

So in my heavy cleaning over turkey day weekend, in which I cleaned more than did work for whatever reason, I also ended up removing the wheels off my case so I could fit it under my desk(The wheels added 4" to the overall height, I needed 2")

Well in doing so I had to drill out the pop rivets, not a big deal, I was careful and while I did nick one CD-Audio header, nothing major. If I was really worried about it I would have removed the MB first of course. At any rate I took my time cleaning out the case afterwards making sure no loose shavings to short a connection or anything.

Hook everything back up, doesn't turn on. Ok more correctly it turns on for about a half a second, and shuts back off. Not even enough time for the fan on my removeable HD cage to turn on.

After a while fiddling around with the power switch headers, I manage to at least get a beep code, 9 beeps in a row, same length, pause, repeat step one. According to all the documentation I can find on the POST error codes, this should not happen. Well after slightly more fiddling that goes back to the .5 second turn on. Really annoying. Finally I manage to get the thing to turn on, no beep code. By this time I had had to disconnect the monitors though so I shut it down and reconnected, closed it up, and turned it back on. Yea, return the the .5 second turn on.

Ok finally after discovering I had a local power switch on the motherboard that I could use for testing, I removed the Powerswitch headers and anything near it, including LEDs Reset Switch, Speaker, etc.

Still nothing good.

I start swearing profusely and clear the CMOS to be sure. Still nothing.

So I now go through removing Memory cards, first one then the other, then BOTH and still get nothing usable for diagnosis. So I start removing components one by one, hoping something might be seated poorly or whatever, still nothing. Finally disconnect the SATA and IDE cables. SUCCESS, kinda. Of course with no HD connected, it doesn't do me a lot of good. So I reconnect my SATA HD and boot into Linux again, YEA. So now the only thing disconnected is my IDE cable that has my CD/DVD Burner on it, and my Removeable HD tray that I use to swap out HDs for archival purposes or to give me a second drive for my work, usually has nothing in it though.

So at this point, I am thinking, great my IDE controller is shot on my MB. But just to make sure I hook up the IDE cable, and for whatver reason I see the BIOS splashscreen come up, and think YEA. I turn it off before it gets to booting the OS so I am not waiting, even if it only takes 30 seconds to boot I didn't feel like waiting. I wanted to close it up then and there and get on to other things.

So I close it up with everything connected, hadn't in the end changed much, but it started working for whatever reason, judging from what I could tell all the connections were very strong, never did figure out what the problem was.

Well everything works, end of story right?

Well no.

After I get everything hooked back up the way it was, change around my audio cables to get my mixer out of the loop as it had died earlier in the week(Was not a good week for me) and sit down to turn on the machine to test it. I turn it on and go grab a drink, when I get back I nearly had a heart attack. This machine that had never had anything on it but Linux, I had customized completely for linux and realtime audio, was showing the bootup splashscreen for WINDOWS 2000! It finished booting straight to the login prompt for win2k

WTF!

My wife had helped me troubleshoot, we had both seen it boot into linux with no problem. and I had shut it down, while it had some problems shutting down, I was going to tackle those later(It didn't turn all the way off), but how the heck did I get windows 2000 on it in that time frame? I know MS acts like a virus sometimes, but that was freaking ridiculous.

As it turns out, I think what happened, was I had an OLD HD I was going through looking for archival stuff on it from MANY years ago when I still used Windows for some of my audio work. That HD was still in the removeable tray. Normally this wouldn't cause any problems, except I had cleared my CMOS and with it it tried to boot to hda first instead of sda.

Another thing NOT to do to your linux box... let MS infect it

Seablade
post #7 of 14
My Linux mishap was installing Linux on a spare drive and like a retard I installed the boot manager on the MBR of the spare drive and somehow screwed the MBR of my primary drive. Ended up with a never-ending repetition of GRUB when I would boot the system. After a fresh Linux install and writing the MBR to the primary drive I ended up with a useable and bootable Linux system and also got my Windows system back. I thought I was screwed for a while with losing my Windows install (I think cursing and holding your breathe with your fingers crossed does work occasionally LOL!)
post #8 of 14
Thread Starter 
Sounds like you had your drive mappings screwed up in one of your grub installs

Windows doesn't like being booted on the secondary disk by the way of an IDE controller, and requires you to remap the two drives so it thinks it is booting from the master drive.

Seablade
post #9 of 14
Quote:
Originally Posted by rmriggin
My Linux mishap was installing Linux on a spare drive and like a retard I installed the boot manager on the MBR of the spare drive and somehow screwed the MBR of my primary drive.
This is when spending that weekend getting Gentoo to boot really pays off. I've had a couple times where I have to boot the Gentoo minimal live disc to reconfigure a corrupted grub.
post #10 of 14
I could never get into gentoo because it shouldn't take a weekend to setup and have a useable OS (how I look at it at least). Everyone I know that has got Gentoo installed has been very happy with it and I think it has something to do with the sense of accomplishment you get when you have setup a distro like that.
I started out with Redhat, moved on to Mandrake, tried out Slackware, and finally stumbled onto Debian. I have tried going back to those other ditros but I always end back with a Debian based system. I know the package management systems for all those different distros have come a long way but after I learned apt (nothing to learn really) I didn't want to use anything else.
post #11 of 14
sorry to get off topic with that.
I have done other stupid things with linux like cleaning out my /boot directory, rebuilding the kernel, deleting the old image not replacing with the new and not editing lilo to reflect the change. Yeah I have done a lot fo dumb things with Linux in the past and all of my mess ups have resulted in a weekend without a useable PC, me getting really frustrated, and finally learning a lot of new things while messing around with things I knew nothing about.
I haven't fubar'd my Linux machine in several years now so I have learned and got better LOL!
post #12 of 14
Thread Starter 
Oh its a rare occasion I fubar my machines and has been for a while. When I do have problems setting up something on install of gentoo, it is because I discover something new and odd most of the time, or something unexpected happens(A make oldconfig worked, but the oldconfig didn't match the newer config file layout so it assumed everything that didn't match was a no for example, resulting in no sata drivers for my HD)

But yea BT is right, that time spent going through the steps manually helps a lot in teaching you how to handle those odd situations, all of those you list are an easy fix with a live cd for example Setting up gentoo in fact walks you through those steps.

But to each their own, I certainly understand the desire for it not to take a weekend. It takes me about 24 hours to get a working desktop set up on my machines still with all the basic software I use and realtime enabled.

Seablade
post #13 of 14
Yeah, I wasn't suggesting installng and using Gentoo. I just think going through the first few stages is good for experience. The fact is, you can fix a lot of things if you know how to chroot into a broken system from a live disc. Only reason I suggest Gentoo for that is the Handbook covers how to specifically configure grub.
post #14 of 14
This is nice stuff to know. Seeing what other notebook users prefer for a distro is nice because I know what I should try. I think I may just have to try out Sabayon just to see how I like it then also try out PCLinuxOS because I have heard many great things about it too. Fire them up in a VM and see how I like them.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › And on today's edition of what NOT to do to a linux box...