You are not logged in.
Hi
I wanted to remove all packages from my system and reinstall from scratch
So i used the pacman tip from the wiki to reinstall all packages on the system
but changed it to remove instead -R instead of -S, little did i think
...
everything on the system was removed, except running processes.
i had no ls etc, no pacman and so on.
So i created a arch cd from another computer and booted on it on my arch install computer.
then i was advised on the archlinux irc. todo a chroot mount and use pacman to install base-devel (+ base)
Hence i did that, ... after a long long while i succeed.
i first got chroot /mnt no /bin/bash mesage when trying to start the chroot.
So i copied the files shown via: ldd /bin/bash & ldd /usr/bin/pacman
then i mount:
mount /dev/sda1 /mnt/
mount /dev/sda5 /mnt/boot
mount /dev/sda6 /mnt/usr/
mount /dev/sda7 /mnt/var/
(i didnt mount /home).
then
$ chroot /mnt
From here i use pacman to install packages
pacman -S base-devel - runs fine.
pacman -S base - i miss one package file (dcrond - i think)
Then instead i go the the very fine wiki again, and see how to install all local packages.
and use that.
However now i get messages under the pacman install of the type .
/tmp/alpm_QWYZ/.INSTALL: line xyz: vercmp: command not found.
------------- || -------------------------: line xyz: [: : integer expression expected
I can't find out where this message comes from, i can find no vercmp comand
(maybe a shell function?)
I get lots of other similar errors.
============================
At last there are al those /etc files which got .pacsave endings, should i think about them?
Here some more errors from a "pacman -S base" via the arch CD and chroot
find: /sys/devices no such file or directory
Which: no /pcmcia-socket-startup.staic in (/sbin)
ERROR: '/sbin/pcmcia-socket-startup.static' is not a file
+ some related files /sbin/pcmcia-**
============================
If i reboot and enter my system on its harddisk instead of via the CD.
I get SH: not able to change group (-1) : inappropiate ioctl for device.
This error message is by memory, since i just borked something else.
and couldnt load system on harddisk, somehow the kernel has misplaced itself... ![]()
============================
Ok more information:
I succeded in booting via hardisk, and it looked very promising.
However ...
Console messages:
-----
device-mapper: ioctl: 4:15.0-ioctl .....
Waiting 10 seconds for device ...
:: running hook [resume]
Waiting 10 seconds for device ...
Root device ´´ doesnt exist, attempting to create it
ERROR: failed to parse block device ids for ´´
ERROR: unable to detect or create root device
.. some general info stuff
You are being dropped to a recovery console
-----
regards mic
Last edited by cognacc (2009-10-19 17:42:18)
Offline