Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ways you have broken your gentoo install in the past?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
dE_logics
Veteran
Veteran


Joined: 02 Jan 2009
Posts: 1980
Location: $TERM

PostPosted: Wed Jun 01, 2011 4:43 am    Post subject: Reply with quote

yoshi314 wrote:
Yamakuzure wrote:
dE_logics wrote:
Bash history mistakes, I've a habit of -
*hehe* I know those only too well... ;)
dE_logics wrote:
Yamakuzure wrote:
The most ugly thing I ever did was to add Graphite's loop parallelization to the default C(X)FLAGS.
Guess what, I was about to do that too, but I discarded :wink: :lol:
Loop parallelization can do wonders on *some* packages. To be honest I've set up the whole /etc/portage/package.env thing for that. Quite nasty and a lot of testing in the beginning, but where it works, it works. ;)

can you share some examples where it really works?


It fails to parallelize a single for loop.
_________________
Buy from companies supporting opensource -- IBM, Dell, HP, Hitachi, Google etc...
Disfavor companies supporting only Win -- Logitech, Epson, Adobe, Autodesk, Pioneer, Kingston, WD, Yahoo, MSI, XFX
My blog
Back to top
View user's profile Send private message
bman212121
n00b
n00b


Joined: 20 May 2011
Posts: 2

PostPosted: Wed Jun 29, 2011 2:59 am    Post subject: Re: Ways you have broken your gentoo install in the past? Reply with quote

john.newman wrote:
Many years ago, gentoo was a lot of walking on eggshells for me. I've destroyed installs in a number of ways, and i'm sure most everyone has ran into some interesting mistakes. However, I don't think any of them were totally unrepairable (besides the accidental "rm -rf" type commands (and yes, I've done /*, more than once :roll: )). The question of knowing how to or taking the time to repair it is another story.

Now I don't worry about it as much, and if there's something out there I haven't done yet, it would be helpful to know about it now.

A few things that i've done

# emerge -C linux-headers # that was difficult to repair - I've -C'd a lot of important packages.. libcrypt etc)
# echo '"ACCEPT_KEYWORDS="~amd64"' >> /etc/make.conf # makes for a fun time.. noob thing to do
# rm -rf * # a lot of times due to carelessness with the ! trick
USE="a million different flags that you dont need"
-O3


be careful with that ! trick :idea: :arrow:


I did unmerge linux-headers. That took a while to get everything to recompile and bring it back in, but it wasn't too horrible. I installed the system using vida and was trying to update some things.

emerge -C sys-power
emerge -av upower

That one was definitely a pain to fix. Got into a bit of a dependency lock as I couldn't update or downgrade. It's all related to trying to update gnome. The version installed from vida was unmasked, but the newer version is hardmasked and the older version wouldn't compile without sys-power... Think I was able to get it all working with upower though in the end. Probably took a week to get gnome up and running again.


The one thing I will say about Gentoo is that it's pretty resilent. You can screw it up but it still stays running enough to fix the problem. There are so many wonderful tools to help assist you with fixing broken packages. IMO it seems like the people coding understand you're going to break something on accident at some point, so being able to just type something like -justfixit is awesome.
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 777
Location: san leonardo del friuli

PostPosted: Wed Jun 29, 2011 4:42 pm    Post subject: Reply with quote

1) dd if=/dev/zero of=/dev/sda bs=512 count =1
while attempting to clear grub stuff from mbr. Lost all partitions

2) rm * -r
done in a directory which was bind-mounted on /usr/include

3)another rm * -r, but on a reiser4 fs. fortunately it was quite bugged that day and loosed part of the writes if not unmounted cleanly. I solved by quickly pulling out power cables
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 163
Location: Poland

PostPosted: Tue Jul 05, 2011 7:11 pm    Post subject: Reply with quote

Once upon a time I wanted to backup my system using rsync, to omit any cache stuff in my copy I exluded "*cache*" files and folders, mainly ccache and web browser cache was on my mind, but oh well, there are plenty of cache files and folders in the / tree, which is obvious, just didn't thought about it at the time.

Later I restored that copy and system was barely bootable :P
But I managed to restore it with little effort.
Back to top
View user's profile Send private message
Raniz
l33t
l33t


Joined: 13 Sep 2003
Posts: 965
Location: Lund, Sweden

PostPosted: Mon Jul 11, 2011 12:37 pm    Post subject: Reply with quote

Repartitioning my harddrive without noticing that it was using Vista's new 1mb boundaries.
Took me a week to find the start of my XFS partition and set up a correct partition table again.

A few years ago I managed to mess up both GCC and Python, solved it by creating binary packages on a secondary system and deploying them manually.
_________________
#312470 @ http://counter.li.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum