You are not logged in.

#1 2011-11-21 10:55:01

kcsoft
Member
Registered: 2011-11-21
Posts: 2

[SOLVED] Uninstalled initscripts problem

When pacman purposed to update initscripts.. I checked the package for update but an error poped up about the package having the same name on two sources.
I tried to uninstall it first but since I also updated the kernel I needed to reboot.
After the reboot the system asks me in what runlevel do I want to start .
I enter 3 or 5 with the same result.
"No init scipts fonnd in this runlevel" and it stops here.
This is because I uninstalled initscripts and /etc/inittab is missing and some other bootup files.

What can I do to get initscripts back without reinstalling the system? I am using KDE.
Thanks

Last edited by kcsoft (2011-11-21 11:54:22)

Offline

#2 2011-11-21 11:09:20

addy
Member
Registered: 2011-11-16
Posts: 29

Re: [SOLVED] Uninstalled initscripts problem

Boot in fallback mode and install initscripts again.

Offline

#3 2011-11-21 11:10:00

hiciu
Member
Registered: 2010-08-11
Posts: 89

Re: [SOLVED] Uninstalled initscripts problem

Boot from livecd (arch installation iso?), mount your rootfs

mount /dev/sda1 /mnt/myrootfs

and install initscripts there

pacman -Sy initscripts -r /mnt/myrootfs
man pacman wrote:

       -r, --root <path>
           Specify an alternative installation root (default is /). This should not be used as a way to install software into /usr/local instead of /usr. This option is used if you want to install a package on a temporary mounted partition that is "owned" by another system.  NOTE: if database path or logfile are not specified on either the command line or in pacman.conf(5), their default location will be inside this root path.

Offline

#4 2011-11-21 11:53:33

kcsoft
Member
Registered: 2011-11-21
Posts: 2

Re: [SOLVED] Uninstalled initscripts problem

I followed hiciu's suggestion and the problem is solved, initscripts are back and I can boot up again.
I used the netinstall CD.

Thanks guys for the very fast and good answer.
Can be marked as solved.

Offline

#5 2011-11-21 11:57:29

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Uninstalled initscripts problem

for next time, just boot with init=/bin/bash, then mount / -o remount,rw, pacman -S initscripts, mount / -o remount,ro, then reboot wink

Offline

Board footer

Powered by FluxBB