View previous topic :: View next topic |
Author |
Message |
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri May 25, 2012 10:36 pm Post subject: What a screwup |
|
|
Today I came home and decided it's time for an upgrade for my computers. I did eix-sync from my desktop, updating portage on a remote NFS volume. I logged on to my Wife's computer and believe or not su - failed. After trying several times I decided to reset the root password, so I lifted my lazy butt from my chair and went to reboot it in single user mode. The PC shut down alright but it never came up again. For a simple reason, it had no kernel on the hard drive.
It appears I ran depclean in her box. Before I built a new kernel. I'm too lazy to install kernels, so /boot/bzImage is actually a symlink to /usr/src/linux/arch/x86/boot/bzImage. Depclean wiped away the 3.3.5 kernel (WHY? I was under impression depclean removes only files installed by emerge?).
On top of that, I realized I was trying wrong password. Developing dementia? Shall I switch to Ubuntu? _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Fri May 25, 2012 11:46 pm Post subject: |
|
|
Tried sleep? _________________
juniper wrote: | you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault. |
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Sat May 26, 2012 12:33 am Post subject: Re: What a screwup |
|
|
Jaglover wrote: | I'm too lazy to install kernels, so /boot/bzImage is actually a symlink to /usr/src/linux/arch/x86/boot/bzImage. | Huh, 'make && make install' does take care copying the kernel to /boot, provided it's mounted, so I fail to see how that is "work".
Considering the proposed switch, if you're going to, don't be half-assed and take the bad copy, take the original an install Win2k, at least that has a decent UI. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
radius n00b
Joined: 30 Mar 2012 Posts: 24
|
Posted: Sat May 26, 2012 1:10 am Post subject: |
|
|
This is nothing compared to mistakes that I make. One thing I don't understand is why you did the symlinking and not copied the bzImage.
If you do switch to Ubuntu, I am almost certain that you will either come back to Gentoo or go to another distribution very soon. _________________ ... |
|
Back to top |
|
|
kimmie Guru
Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Sat May 26, 2012 1:47 am Post subject: |
|
|
Depclean will not remove /usr/src/.../bzImage... the object and executable files that you built aren't part of the package, so something else is the problem there. Only files listed by "qlist gentoo-sources" or "equery f gentoo-source" will be removed.
Depclean will remove all but the latest version of the kernel sources. It has no way of knowing which kernel you are actually booting.
If you want to prevent depclean from removing sources, the easiest way is to tell portage the specific version you want to keep: eg. "emerge --noreplace =gentoo-sources-3.2.12" (assuming you've already emerged that version). |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Sat May 26, 2012 2:24 am Post subject: |
|
|
If the symlink USE flag is set doing an emerge that emerges a new kernel will change the /usr/src/linux symlink and if the new kernel is not built the next boot will not find the kernel. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sat May 26, 2012 7:53 pm Post subject: |
|
|
Alright depclean didn't do it. Even after waterboarding depclean denies it.
Code: | ls -la /usr/src/linux-3.3.5-gentoo/
total 136
drwxr-xr-x 4 root root 4096 May 22 23:38 .
drwxr-xr-x 5 root root 4096 May 25 16:23 ..
-rw-r--r-- 1 root root 58293 May 14 15:35 .config
-rw-r--r-- 1 root root 58293 Mar 20 22:30 .config.old
drwxr-xr-x 3 root root 4096 May 22 23:38 include
drwxr-xr-x 4 root root 4096 May 22 23:38 scripts |
So I've to conclude it's stolen. Anybody has seen a slightly used Gentoo kernel v 3.3.5 for sale somewhere?
Jokes aside, when using symlink I do not need to clean up my /boot every now and then because there is nothing. And of course I manage linux symlink by hand.
@avx where I should get that W2K thingie. I want the real thing! Do they sell them in pawn shops? _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Sat May 26, 2012 8:22 pm Post subject: |
|
|
Jaglover wrote: | @avx where I should get that W2K thingie. I want the real thing! Do they sell them in pawn shops? | To complicated, just stand still for about 10m at your local train station and ask anyone approaching you for some angel dust. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sat May 26, 2012 10:37 pm Post subject: |
|
|
I'm posting this on behalf of Jaglover.
It appears he was arrested in the local truckstop for soliciting illegal substances. The arresting officer said he was raving about stolen nitty gritty (or something like that). Currently he is being evaluated by a shrink. We are trying to get him off on insanity defense. We think him using Gentoo Linux supports our line of defense. If you have any examples of other Gentoo users doing crazy things please contact our office.
Sincerely yours,
O'Pickle of Creepy Law Office _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Sat May 26, 2012 10:54 pm Post subject: |
|
|
Man, Gentooligans are stupid, can't even read. I said train station, not truckstop. Even if the fumes there might take you to another high, that's not the same deal.
As for other crazy examples, I'd suggest moving down the street a little, there's a corner somewhere off the wall, where bones are cracked, third world people are vomiting emoticons all over the world, world's end predicting prophets, fans of a maximal pigmented fella spending money he doesn't have and if your lucky, some germans, too.
If you ACTA quickly, you might be able to shutdown the whole place without others even noticing, if I may, I'd suggest some Beethoven or Tschaikovsky for your run. Good luck.
Addendum, don't forget to be always packing, I'd suggest at least a rocketlauncher and a dncornholio-Tshirt. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
djdunn l33t
Joined: 26 Dec 2004 Posts: 810
|
Posted: Sun May 27, 2012 9:04 am Post subject: |
|
|
what just happened i dont understand ... _________________ “Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”
― Plato |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun May 27, 2012 8:40 pm Post subject: |
|
|
Chief, you said local train station. I did my traveling and had my adventures in Germany, I know you do have train stations there. We here don't. I think they may have one in New Orleans. I'd be surprised if there was more than ten train stations in whole Louisiana. So I substituted local train station with local truck stop, we have plenty of those. Any further tips or hints?
Music choice is fine, BTW, although there are moments when I prefer Mozart or Haydn ... then again there are days I go with Bach.
Kernel mystery is solved. It appears I never had 3.3.5 kernel in that box. So it wasn't depcleaned or stolen. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Sun May 27, 2012 11:12 pm Post subject: |
|
|
Dude, get your trains stolen by a hurricane or what, lameo. Nothing good can ever happen at an american truck stop, didn't you watch at least a single "horror" movie? They put a tow hook through your balls and pull you down the street, sitting on your ass and drive you cross-country down to Tijuana.
But that's not a bad thing, I hear Win2k is really cheap down there, you'll just have to play a little with some gay donkeys iaaahing like Eddie Murphy.
If that sounds too troublesome to you, spent less time investing your money in viagra and have a look at the hot deals in your inbox. There usually are a few fellas providing you with the newest software for a gigantic bargain, they'll only want your wife and kids, imho a killer deal, trading these annoying beings for such a superior operating system.
As for your music, you don't go with Bach, you go into a Bach, sitting down and enjoy the ducks playing around you, taking bets how long it'll take for you to drown.
In conclusion, your Linux journey has been a failure from the getgo and since your soul is worthless anyway, you might as well give it away for the chance to make your life more joyfull, thanks to the gods at Redmond. But please, do me a favor, take Redmond, not the Apple, mankind has been doomed once already, just because someone wanted an Apple, don't do it all over again, thank you. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun May 27, 2012 11:45 pm Post subject: |
|
|
And a proof of fail justice: who could arrest jaglover the 26 and release him the 27 ! It's not serious.
And we wonder why we have so many depclean gangsters everywhere after that? |
|
Back to top |
|
|
|