You are not logged in.
Pages: 1
Hi,
It looks like I removed initscripts as an unneeded dependency, on prompt from another removed package. I'm not dead sure, but almost certain . Now the boot process halts like this (kernel messages):
...
kinit: Mounted root (ext3 filesystem) readonly.
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh-4.0#
Is there a way to fix it short of reinstall?
Last edited by Llama (2009-11-09 17:38:23)
Offline
Boot with a live cd/usb, reinstall the package.
Offline
chroot. It's at least worth a try:
1. boot a live CD
2. mount your arch root /some/where
3. chroot /some/where pacman -U <initscripts package file>
Edit: crosspost. Chroot is not needed here. The relevant pacman option is --root.
Last edited by grey (2009-11-09 13:02:27)
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
Boot with a live cd/usb, reinstall the package.
Thanks! Sorry for yet another dumb question... What's a live cd in this context? It isn't the core image, is it?
Offline
It's the installation CD.
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
It's the installation CD.
The same as core image, I understand? That's what I've installed it from, once upon a time...
Offline
Yes - the core img.
Actually, the chroot way may come in handy after all: it should work from any live CD - it doesn't have to be arch.
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
It isn't that easy...
(1) I've got no connection with the 'live cd'. According to the Beginner's Guide, I get connected after the initial install and before the first update.
(2) From the pacman cache the sysvinit package is somehow missing.
Let me try Chakra for a LiveCD. I'll have to download it first ...
Last edited by Llama (2009-11-09 16:23:24)
Offline
(2) From the pacman cache the sysvinit package is somehow missing.
You can just download the package from a repo [i'm guesing since you are posting in this forum, you are doing so from windows?] in your hard disk and then install mounting your Arch / and chrooting in it.
Offline
I've got to report this:
Using Chakra LiveCD I've repaired my root install:
# mount /dev/sda2 /media
# pacman -Sr /media initscripts
Now the boot process won't make it to kdm:
Arch Linux (Don't Panic) 2.6.31-ARCH (myhost) (tty1)
myhost login:
It's funny, but I can't remember the myhost entity. No, Sir. Any ideas?
Offline
When you reinstalled initscripts, it installed the default rc.conf. Check for an rc.conf.pacsave.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
When you reinstalled initscripts, it installed the default rc.conf. Check for an rc.conf.pacsave.
Thanks! Any idea what root password myhost enjoys?
UPD:
It's my good ole root password, after all
Last edited by Llama (2009-11-09 16:27:41)
Offline
Thanks, rson451!
Everything in /etc got written over, I suppose . Aught else ?
Last edited by Llama (2009-11-09 16:39:58)
Offline
Just check the file list for the initscripts package - rc.conf, rc.local*, and inittab are the only ones you would need to restore to your customised state.
Offline
Thanks!
Offline
You can just download the package from a repo [i'm guesing since you are posting in this forum, you are doing so from windows?]
No, it ain't that bad: another Arch box
Offline
Pages: 1