Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: User Error, Kids, don't try this at $HOME< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 22 2005,15:15 QUOTE

This isn't really a bug report, since it was my own stupid fault, but I wouldn't be disappointed if we looked into a failsafe for something like this...

I was messing around with persistent home and opt, and ended up losing everything i had that was related to DSL, apart from the extensions I'd downloaded from the repository....all my scripts and works-in-progress are deleted.  Using the home=hda3 boot option worked fine for me, as expected, but while playing around with ways to make persistent opt more convenient (so it won't be mixed in with the opt in my other systems), i did a stupid, stupid thing.  I put my persistent opt inside my persistent home, and tried the boot option opt=hda3/home/dsl (similar to the mydsl subdirectory option).  I didn't really expect it to work, but assumed perhaps it would fall back on the default opt, or use no opt at all.  But i didn't expect it to delete everything in /home/dsl.
What really stinks is that I had already been using a working, separate persistent /opt via some bootlocal.sh script rather than the boot options...I just wanted to make it a tiny bit more convenient, since from the other operating systems it was buried inside other directories and it needed to load a new bootlocal at boot time (not a big deal, but i'm striving for something that is a mix of frugal and hd install).

So, I have to start over, rebuilding everything I've been working on for the last few months.
ALWAYS back up your files, particularly if you like to fool around with things you don't completely understand.  :p


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
adraker Offline





Group: Members
Posts: 229
Joined: Feb. 2004
Posted: July 23 2005,07:52 QUOTE

Sorry to hear that Mikshaw....
I wonder what happened?
Thanks for posting a thing
"not to do". :)
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 23 2005,14:10 QUOTE

Haven't looked into it yet to see how it was deleted, but this in a nutshell is what i did to cause it.
directory structure: hda3/home/dsl/opt
boot options: home=hda3 opt=hda3/home/dsl

I have since switched to home=hda1 opt=hda1
hda1 is my Slackware system, which currently has only 3 files in /opt so it won't be too messy.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: July 23 2005,20:20 QUOTE

Sorry to hear about that mikshaw, but thanks for warning the rest of us.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 26 2005,15:16 QUOTE

boy do i feel dumb....
I did it AGAIN.
The problem was apparently not in trying a subdirectory for persistent /opt.  It seems to be that I have too many versions of too many files.  I accidentally copied the wrong bootlocal.sh into /opt, and it was trying to set up a persistent subdirectory when that directory no longer exists.

At least now I know where the problem is (/me points to his brain)...it's just kind of annoying that I've been re-downloading a bunch of stuff that I have to re-re-download.  I'm dumping this persistent /opt thingy (not that it's a bad idea, but it's one less thing for me to screw up :D )


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
7 replies since July 22 2005,15:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: User Error

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code