You are not logged in.
when i was playing around last night with some scripts ,i wanted to alter my "PATH" so i did.
not realizing afterwards that i deleted the /sbin part also
# Set our default path
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
export PATH
NOW comes the screwup part ,not knowingly about.... i booted my laptop en did a update "sudo pacman -Syyu"
after the update was done i got the stange error... i didn't seems right so i saved the output ;
Proceed with installation? [Y/n] y
:: Retrieving packages from testing...
initscripts-2011.07.3-1-x86_64 19.0K 287.7K/s 00:00:00 [--------------------------------------] 0%
krb5-1.9.1-3-x86_64 959.7K 1300.5K/s 00:00:01 [--------------------------------------] 1%
linux-3.0-2-x86_64 37.6M 2.5M/s 00:00:15 [--------------------------------------] 79%
lirc-utils-1:0.9.0-5-x86_64 37.9M 2.4M/s 00:00:16 [--------------------------------------] 80%
:: Retrieving packages from extra...
libsoup-2.34.3-1-x86_64 38.2M 2.4M/s 00:00:16 [--------------------------------------] 80%
libsoup-gnome-2.34.3-1-x86_64 38.2M 2.3M/s 00:00:16 [--------------------------------------] 80%
pygobject-devel-2.28.6-1-x86_64 38.4M 2.3M/s 00:00:17 [--------------------------------------] 81%
pygobject-2.28.6-1-x86_64 38.7M 2.3M/s 00:00:17 [--------------------------------------] 81%
smbclient-3.5.10-1-x86_64 47.2M 2.3M/s 00:00:21 [--------------------------------------] 99%
:: Retrieving packages from community...
lxterminal-0.1.11-1-x86_64 47.3M 2.3M/s 00:00:21 [--------------------------------------] 99%
:: Retrieving packages from archlinuxfr...
volumeicon-0.4.2-2-x86_64 47.3M 2.2M/s 00:00:21 [--------------------------------------] 100%
(11/11) checking package integrity [--------------------------------------] 100%
(11/11) checking for file conflicts [--------------------------------------] 100%
( 1/11) upgrading initscripts [--------------------------------------] 100%
( 2/11) upgrading krb5 [--------------------------------------] 100%
( 3/11) upgrading libsoup [--------------------------------------] 100%
( 4/11) upgrading libsoup-gnome [--------------------------------------] 100%
( 5/11) upgrading linux [--------------------------------------] 100%
>>> Updating module dependencies. Please wait ...
/tmp/alpm_vdu4OH/.INSTALL: line 49: depmod: command not found
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
/tmp/alpm_vdu4OH/.INSTALL: line 51: mkinitcpio: command not found
error: command failed to execute correctly
( 6/11) upgrading lirc-utils [--------------------------------------] 100%
( 7/11) upgrading lxterminal [--------------------------------------] 100%
( 8/11) upgrading pygobject-devel [--------------------------------------] 100%
( 9/11) upgrading pygobject [--------------------------------------] 100%
(10/11) upgrading smbclient [--------------------------------------] 100%
(11/11) upgrading volumeicon
HOW CAN I FIX MY F*CKUP.......
Last edited by gregor (2011-07-30 10:21:22)
Offline
just set up the PATH correctly and reinstall linux package
Give what you have. To someone, it may be better than you dare to think.
Offline
hey "wonder" i fixed my PATH ,but how to reinstall the package since i can't boot my system boots in a RAMFS/#
gonna reboot now for the right output i'll post back....
Offline
gregor, please use code-tags when pasting logs on the forums, it greatly improves readability.
ᶘ ᵒᴥᵒᶅ
Offline
try the part without [--------------------------------------] 100%
>>> Updating module dependencies. Please wait ...
/tmp/alpm_vdu4OH/.INSTALL: line 49: depmod: command not found
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
/tmp/alpm_vdu4OH/.INSTALL: line 51: mkinitcpio: command not found
error: command failed to execute correctly
Last edited by gregor (2011-07-30 10:22:36)
Offline
so i got dropped in a recovery shell [ramfs /]# "WHATS NEXT" how to fix my problem /?
Offline
Well it looks like you have to boot with a live cd and chroot into your existing installation. Something like this
mount /dev/sda1 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /dev/shm /mnt/dev/shm
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
mount -o bind /run /mnt/run
chroot /mnt
Then I recommend to reinstall the base group, which should be enough to boot the machine. Then after you booted from the harddisk you can check, which packages need to be reinstalled. There are packages out there which can do that check for you, maybe even pacman itself. I don't know that, never had to deal with something like that. But since it looks like you still have access to the internet, I guess you can find out.
I hope this works for you!!! Please report it, so others got a clue how to act in such circumstances.
Last edited by Army (2011-07-29 13:02:01)
Offline
It looks like it's the initrd and only the initrd, in which case you don't need to chroot; instead, you can just use pacman's "-r" flag to install the "linux" package. I'd try that first, in the hopes of not having to type out all the mount commands. If it doesn't work, chroot.
Offline
gonna try ,me is right back....
Offline
well me is back ,must be i screwed up "pretty bad" i booted back in my archlinux and found myself in the [ramfs /]#
it doesn't recognize pacman at all !! ,gonna tryout the chroot and if that doesn't work !@$#% "reinstall"
Last edited by gregor (2011-07-30 21:36:30)
Offline
"WHOHAAA" i'm up and running again....
mount /dev/sda1 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /dev/shm /mnt/dev/shm
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
mount -o bind /run /mnt/run <<===== don't have to use this
chroot /mnt
the chroot worked just fine ,and i re-installed the "linux" package which is the newest test kernel and automatically it fixed my problem
just set up the PATH correctly and reinstall "linux" package
the man was right.....but i needed to chroot first>
so thanks to ALL
Last edited by gregor (2011-07-30 09:34:19)
Offline
"WHOHAAA" i'm up and running again....
If you manage to fix your opening post too and mark your thread solved everybody will be happy.
ᶘ ᵒᴥᵒᶅ
Offline
If you manage to fix your opening post too and mark your thread solved everybody will be happy.
so i did
Offline
mount /dev/sda1 /mnt mount -o bind /dev /mnt/dev mount -o bind /dev/shm /mnt/dev/shm mount -o bind /proc /mnt/proc mount -o bind /sys /mnt/sys mount -o bind /run /mnt/run <<===== don't have to use this chroot /mnt
Ok I just added that line, because I wasn't sure, since it's a new directory. Nice to see that it worked
Offline
http://www.UnsTucC.de i checked out you're website ,mmmmh me like i'm a "machine head" fanboy
"keep up the good work"
Offline
*lol* Thanks Next week we'll go into the studio to record the next cd, so stay tuned
Offline
metalheads with brains......
Offline