Re: Fsck encrypted filesystem

2009-01-30 Thread Emanoil Kotsev
Richard Hector wrote:

 I don't understand why ubuntu users keep coming to debian forumes with
 their ubuntu problems.
 
 I don't see that anyone has done that in this thread; I was merely using
 it as an example.
 
 I know that Debian can set up sudo at install time, though I don't think
 I've done it. I know that Ubuntu sets up sudo and doesn't set a root
 password. I deduced that perhaps Debian does the same thing if set up
 that way, and perhaps that's why the OP didn't know the root password -
 because maybe there isn't one.
 
 Richard

Richard, it's fine ... to me ... but each building has a foundation - it
does not mean that each building is the same.

It was rather rhetorical question I asked :-)

Actually I think they (ubuntu) even link su to sudo, but I'm not quite sure.
I've tried it for may be 2 months, but it was not satisfying (the kde part
even less)

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fsck encrypted filesystem

2009-01-29 Thread Emanoil Kotsev
Alex Potter wrote:

 On Mon, 26 Jan 2009 21:50:08 +0100, Richard Hector wrote:
 
  I think it's the normal Ubuntu way, right?
 
 It is.
 

I don't understand why ubuntu users keep coming to debian forumes with their
ubuntu problems.

besides the explanation given by ubuntu for dropping the root account is
quite hard to understand like many things I've seen on their system.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fsck encrypted filesystem

2009-01-29 Thread Ron Johnson

On 01/29/2009 04:33 PM, Emanoil Kotsev wrote:

Alex Potter wrote:


On Mon, 26 Jan 2009 21:50:08 +0100, Richard Hector wrote:


 I think it's the normal Ubuntu way, right?

It is.



I don't understand why ubuntu users keep coming to debian forumes with their
ubuntu problems.

besides the explanation given by ubuntu for dropping the root account is
quite hard to understand like many things I've seen on their system.


Let's not forget NetworkMangler.  I installed dual-boot Ubuntu on my 
kids's computer because of the handy gui partition resizer tool, but 
*hated* the actual Ubuntu installation.  Must be too used to the CLI.


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Fsck encrypted filesystem

2009-01-29 Thread Emanoil Kotsev
Ron Johnson wrote:

 Let's not forget NetworkMangler.  I installed dual-boot Ubuntu on my
 kids's computer because of the handy gui partition resizer tool, but
 *hated* the actual Ubuntu installation.  Must be too used to the CLI.
 

long lives cli, amen!




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fsck encrypted filesystem

2009-01-29 Thread Richard Hector
On Thu, 2009-01-29 at 23:33 +0100, Emanoil Kotsev wrote:
 Alex Potter wrote:
 
  On Mon, 26 Jan 2009 21:50:08 +0100, Richard Hector wrote:
  
   I think it's the normal Ubuntu way, right?
  
  It is.
  
 
 I don't understand why ubuntu users keep coming to debian forumes with their
 ubuntu problems.

I don't see that anyone has done that in this thread; I was merely using
it as an example.

I know that Debian can set up sudo at install time, though I don't think
I've done it. I know that Ubuntu sets up sudo and doesn't set a root
password. I deduced that perhaps Debian does the same thing if set up
that way, and perhaps that's why the OP didn't know the root password -
because maybe there isn't one.

Richard



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fsck encrypted filesystem

2009-01-26 Thread Adrian Levi
2009/1/26  line...@ruiner.halo.nu:
 Hi

 I have a relaively recent debian install with LUKS encrypted filesystem, 
 default options.

 An error has been detected on the HD and it will not boot anymore, FSCK wants 
 the root password to do system maintenence.


 I do not know the root password and I would like to fsck the drive.

 How can I do this?

Wow, good luck with this (Having never played with encrypted volumes
because of the added complexity and problems), My advice would be to:

1: Find the root password.
2: Implement recovery procedures.

or
1: Boot using a rescue media with your volume encryption key, mount
the root fs and modify the root password.
2: fsck the file system.
3: Implement recovery procedures.

or
Reinstall the system.

Hopefully someone else here will be able to give you some pointers
although by encrypting the drive you are trying to thwart the exact
things you need to accomplish.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
erno hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fsck encrypted filesystem

2009-01-26 Thread Γιώργος Πάλλας

line...@ruiner.halo.nu wrote:

Hi

I have a relaively recent debian install with LUKS encrypted filesystem, 
default options.

An error has been detected on the HD and it will not boot anymore, FSCK wants the root password to do system maintenence. 



I do not know the root password and I would like to fsck the drive.

How can I do this?

Thanks

-Alan


  


Just to make sure: Do you get grub screen? Do you get the initial prompt 
to type the passphrase? When you say 'it will not boot anymore', explain 
please at which stage it stucks.



G.



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Fsck encrypted filesystem

2009-01-26 Thread subscriptions
On Mon, 2009-01-26 at 09:17 +0100, line...@ruiner.halo.nu wrote:
 Hi
 
 I have a relaively recent debian install with LUKS encrypted filesystem, 
 default options.
 
 An error has been detected on the HD and it will not boot anymore, FSCK wants 
 the root password to do system maintenence.
 
 
 I do not know the root password and I would like to fsck the drive.
 
 How can I do this?
 
 Thanks
 
 -Alan

Boot with any Linux Live disk which support cryptsetup.

Then map the encrypted volume (e.g. hdc1):
# cryptsetup luksOpen /dev/hdc1 unencryptednode

Then 'fsck' the disk:
# fsck /dev/mapper/unencryptednode

That is it.

btw. strange you know the password for the encryption, but not for root?

Best,

Rob




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fsck encrypted filesystem

2009-01-26 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

line...@ruiner.halo.nu wrote:
 Hi
 
 I have a relaively recent debian install with LUKS encrypted
 filesystem, default options.
 
 An error has been detected on the HD and it will not boot anymore,
 FSCK wants the root password to do system maintenence.
 
 I do not know the root password and I would like to fsck the drive.
 
 How can I do this?

- From what you write, I have to assume that there is a good reason, why
the person who installed the system did not give you the root password.

She/He should either give you the root password or take care of your
problem.

Depending of the configuration of your system, it might be possible to
'break into' your box, but this might as well be illegal.

Good luck,

Johannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl9j6wACgkQC1NzPRl9qEXJqwCcCUogFFyrbORrDtNN5y3SU4JA
y1EAn1tcP8T9J8YQcZFbVa7hqjBRJuOi
=PPSZ
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fsck encrypted filesystem

2009-01-26 Thread Richard Hector
On Mon, 2009-01-26 at 11:25 +0100, Johannes Wiedersich wrote:

 - From what you write, I have to assume that there is a good reason, why
 the person who installed the system did not give you the root password.

Isn't that normal if you choose to setup sudo during installation? I
don't think I've set up a debian box like that, but I think it's the
normal Ubuntu way, right? There is no root password; sudo is the only
way.

Richard



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fsck encrypted filesystem

2009-01-26 Thread Alex Samad
On Mon, Jan 26, 2009 at 02:17:39AM -0600, line...@ruiner.halo.nu wrote:
 Hi
 
 I have a relaively recent debian install with LUKS encrypted filesystem, 
 default options.
 
 An error has been detected on the HD and it will not boot anymore, FSCK wants 
 the root password to do system maintenence. 
 
 
 I do not know the root password and I would like to fsck the drive.
 
 How can I do this?
presuming you have grub (and its not password protected) and you have
the encryption password.


on boot up, press e when you get to the grubmenu and init=/bin/bash to
the kernel line and then b to boot

that should get you to where u want to b

 
 Thanks
 
 -Alan
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 
 

-- 
Pilfering Treasury property is paticularly dangerous: big thieves are
ruthless in punishing little thieves.
-- Diogenes


signature.asc
Description: Digital signature


Re: Fsck encrypted filesystem

2009-01-26 Thread Alex Potter
On Mon, 26 Jan 2009 21:50:08 +0100, Richard Hector wrote:

  I think it's the normal Ubuntu way, right?

It is.

-- 
Regards
Alex

http://www.badphorm.co.uk/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org