public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* debian rescue?
@  Tyler Littlefield
   ` Michael Prokop
  0 siblings, 1 reply; 4+ messages in thread
From: Tyler Littlefield @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hay, is there a way to rescue debian?
for some reason I think someone deleted the bootstrap_settings when I did rm * in root. anyway, I don't know how to rescue it, because when I try to start debian, it says "no operating system found."
Thanks,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: debian rescue?
   debian rescue? Tyler Littlefield
@  ` Michael Prokop
     ` Tyler Littlefield
     ` Gregory Nowak
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Prokop @  UTC (permalink / raw)
  To: speakup

* Tyler Littlefield <compgeek13@gmail.com> wrote:

> Hay, is there a way to rescue debian?
> for some reason I think someone deleted the bootstrap_settings
> when I did rm * in root. anyway, I don't know how to rescue it,
> because when I try to start debian, it says "no operating system
> found."

You mean the global root-directory "/"? Ouch.

It depends on your filesystem. With ext2 you have good chances to be
able to restore files using e2undel. But with a journal file system
(ext3, xfs,...) it's very hard to restore files. :-/

Tip for the future: Use zsh. :) There you will be warned before
blowing all your data with an (probably) unwanted '*'. ;)

HTH && regards,
-mika-
-- 
 ,'"`.         http://www.michael-prokop.at/
(  grml.org -» Linux Live-CD for texttool-users and sysadmins
 `._,'         http://www.grml.org/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: debian rescue?
   ` Michael Prokop
@    ` Tyler Littlefield
     ` Gregory Nowak
  1 sibling, 0 replies; 4+ messages in thread
From: Tyler Littlefield @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

not /... but when... well, here is what is going on, I just installed 
another hd, and got rid of the other one.
Maybe I got rid of the wrong hd. lol
----- Original Message ----- 
From: "Michael Prokop" <mika@grml.org>
To: <speakup@braille.uwo.ca>
Sent: Saturday, April 08, 2006 2:26 PM
Subject: Re: debian rescue?


* Tyler Littlefield <compgeek13@gmail.com> wrote:

> Hay, is there a way to rescue debian?
> for some reason I think someone deleted the bootstrap_settings
> when I did rm * in root. anyway, I don't know how to rescue it,
> because when I try to start debian, it says "no operating system
> found."

You mean the global root-directory "/"? Ouch.

It depends on your filesystem. With ext2 you have good chances to be
able to restore files using e2undel. But with a journal file system
(ext3, xfs,...) it's very hard to restore files. :-/

Tip for the future: Use zsh. :) There you will be warned before
blowing all your data with an (probably) unwanted '*'. ;)

HTH && regards,
-mika-
-- 
 ,'"`.         http://www.michael-prokop.at/
(  grml.org -» Linux Live-CD for texttool-users and sysadmins
 `._,'         http://www.grml.org/


_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: debian rescue?
   ` Michael Prokop
     ` Tyler Littlefield
@    ` Gregory Nowak
  1 sibling, 0 replies; 4+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Apr 08, 2006 at 10:26:05PM +0200, Michael Prokop wrote:
> Tip for the future: Use zsh. :) There you will be warned before
> blowing all your data with an (probably) unwanted '*'. ;)

If you still want to use bash though, put the below into your
$HOME/.bash_profile:

alias rm="rm -i"

This will make rm prompt you before deleting anything.

Greg



- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEODTt7s9z/XlyUyARAh9PAKCPuqoJ8TJAy+loGuAjhpyFJRdhqACgoBZQ
AZzh8nZaSwnCmwJxWgLyu4E=
=LlJI
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 debian rescue? Tyler Littlefield
 ` Michael Prokop
   ` Tyler Littlefield
   ` Gregory Nowak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).