You are not logged in.

#1 2006-03-29 10:06:20

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

I messed up my System with dotpac (solved)

Hey guys,

I think i got some serious problem here. I just installed dotpac and removed all old files with the new .pacsave files. No i can't log in as root anymore, because i removed the passwd file...

Any idea what to do now?

Offline

#2 2006-03-29 10:10:36

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: I messed up my System with dotpac (solved)

chroot into your environment and create a new one?

Offline

#3 2006-03-29 10:32:06

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: I messed up my System with dotpac (solved)

So i boot from the arch install cd, chroot in my enviroment and then copy the /etc path from the cd to my enviroment?

Offline

#4 2006-03-29 10:35:49

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: I messed up my System with dotpac (solved)

trapdoor wrote:

So i boot from the arch install cd, chroot in my enviroment and then copy the /etc path from the cd to my enviroment?

I would just boot from a livecd (could be arch install cd) chroot into your environment (as a root user wink), and because you're root, you can just issue passwd.
This worked for me back in time on gentoo, so that should still work I guess.

Offline

#5 2006-03-29 10:46:09

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: I messed up my System with dotpac (solved)

pressh is correct, also adding "single" to ur kernel line in grub might work too hopefully it won't ask for a password... ok i know u can't edit ur menu.lst, but u can always press "e" to edit the grub line before booting it in grub wink

Offline

#6 2006-03-29 15:56:56

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: I messed up my System with dotpac (solved)

I got it, with chrooting into my enviroment, but it still is a lot of work to make everything as it was.

Offline

#7 2006-03-29 19:47:17

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: I messed up my System with dotpac (solved)

See http://bbs.archlinux.org/viewtopic.php?t=11728 and add yer tale  wink Just kidding matey...glad you got it working again, that would scare the livin' daisies out of me!

Offline

Board footer

Powered by FluxBB