I do not know the answer to your problem / what the issue is. Hopefully someone more knowledgeable will come across this thread.
thanks for all your help.
i decide to reinstall the system from liveCD.
]]>Is everything on sda1? Your entire system? Not sure about the hooks thing. Make sure everything is mounted. Also proc and all that
https://wiki.archlinux.org/index.php/Chroot#Change_root
Other than that I am unsure. You should not have so many problems installing packages from a livecd -> system unless maybe some partitions are not mounted?
thanks for your help again.
my /etc/fstab is
/dev/sda1 / xfs default 0 1
/dev/sda4 /boot ext2 default 0 1
/dev/sda5 /home reiserfs default 0 1
/dev/sda7 swap swap default 0 1
how i mounted the partitions is
mount /dev/sda1 /mnt
mount /dev/sda4 /mnt/boot
mount /dev/sda5 /mnt/home
this did work, because i used this method to fix the problem at the first time(i can run chroot, copy files and delete files). so i think, with high probability, "mount" is not the reason.
pppoe-start works randomly. i have to switch back to windows and dowlnoad packages to usb flash stick. this drives me crazy.
]]>https://wiki.archlinux.org/index.php/Chroot#Change_root
Other than that I am unsure. You should not have so many problems installing packages from a livecd -> system unless maybe some partitions are not mounted?
]]>yjcong wrote:dodo3773 wrote:Just download one and burn it to a disk and boot from it. If by build it you mean you need a burning program I used to use one called "imgburn" in windows. I am sure it's still around.
thank your for your help.
i will go shopping for CD.
oh, one more question, could you give me a link about how to use livecd to fix system? i mean, after mount / by livecd, should i run pacman -Syu directly?
If you plan on installing packages from the livecd itself do it like this -> pacman -r /mnt/foo -Syyu or you can chroot in. Please see this recent thread:
https://bbs.archlinux.org/viewtopic.php?id=148128
Similar thing. Fixing from livecd.
i sloved the problem with glibc-2.16.0-1, and everything worked well. but after pacman -Syu, glibc-2.16.0-4 cannot be installed. so i just did what i did before, deleted /lib, and ln -s /usr/lib /lib.
then i cannot login. whatever i type, the screen will rollback and ask for the login name.
someone said this can be solved by adding "usr" to HOOKS, but it didnt work for me.
so i wanted to use liveCD to fix the new problem. but, this time
mount /dev/sda1 /mnt
arch-chroot /mnt
/bin/sh:error while loading shared libraries: libreadline.so.6:cannot open shared object file: No such file or directory
and
pacman -r /mnt -U glibc-2.16-0-4-i686....
sh:error while loading shared libraries: libreadline.so.6:cannot open shared object file: No such file or directory
plus, i cannot mount my usb flash stick which contains readline-6.2.004-1-i686.pkg.tar.xz
SQUASHFS error: unable to read data cache entry
what a tough time.
]]>dodo3773 wrote:Just download one and burn it to a disk and boot from it. If by build it you mean you need a burning program I used to use one called "imgburn" in windows. I am sure it's still around.
thank your for your help.
i will go shopping for CD.
oh, one more question, could you give me a link about how to use livecd to fix system? i mean, after mount / by livecd, should i run pacman -Syu directly?
If you plan on installing packages from the livecd itself do it like this -> pacman -r /mnt/foo -Syyu or you can chroot in. Please see this recent thread:
https://bbs.archlinux.org/viewtopic.php?id=148128
Similar thing. Fixing from livecd.
]]>Just download one and burn it to a disk and boot from it. If by build it you mean you need a burning program I used to use one called "imgburn" in windows. I am sure it's still around.
thank you for your help.
i will go shopping for CDs.
oh, one more question, could you give me a link about how to use livecd to fix system? i mean, after mount / by livecd, should i run pacman -Syu directly?
]]>yjcong wrote:now, i will burn a liveCD. if i cannot figure out how to do it , i thinks , i will have to delete / and reinstall the system from iso file, which is the last thing i want to do.
You should nto have to reinstall your system. I am sure whatever it is is probably fixable from a livecd. Unless you destroyed your data somehow.
after this problem, i didnt delete anything.
right now, i need to figure out how to build a liveCD in windows, and then how to use the liveCD to fix the broken system.
]]>now, i will burn a liveCD. if i cannot figure out how to do it , i thinks , i will have to delete / and reinstall the system from iso file, which is the last thing i want to do.
You should nto have to reinstall your system. I am sure whatever it is is probably fixable from a livecd. Unless you destroyed your data somehow.
]]>I am going to have to go with WorMzy on this one. Update your entire system completely. It could really be any number of variables causing you troubles. I am not one of the developers here so I am unsure. If you are not willing to do that for some unknown reason I would say check your updates before the failure and systematically roll back a package at a time until you solve your problem (this is probably going to cause you big problems (a whole lot more than updating your system)).
thank your for your advice.
i would like to update my whole system now, but the problems are
1)i cannot mount anything
2)i just cleaned /var/cache/pacman after pacman -Syu
3)internet connection is not working right now for my broken archlinux.
so, as WorMzy suggested, i tired to build a liveUSB. i just copied arch.iso to my usb flash stick, but i found that my old laptop cannot boot from it.
now, i will burn a liveCD. if i cannot figure out how to do it , i thinks , i will have to delete / and reinstall the system from iso file, which is the last thing i want to do.
]]>PS: i also saw something like "mount /dev/by-uuid/wi234-fvr2-er........ no real root" from the booting process.
If your fstab is setup as /dev/sda* then you should probably not be trying to mount your partitions as /dev/by-uuid/foo. This is an option you can change in grub somewhere I am pretty sure.
i saw this from booting process. and i did do this, but what i get was the same as
mount: unknown filesystem type 'reiserfs'
hi
i run "pacman -Syu --ignore glibc" everyday.
You got to be kidding. No wonder you are having problems.
PS: i also saw something like "mount /dev/by-uuid/wi234-fvr2-er........ no real root" from the booting process.
If your fstab is setup as /dev/sda* then you should probably not be trying to mount your partitions as /dev/by-uuid/foo. This is an option you can change in grub somewhere I am pretty sure.
]]>yjcong wrote:i run "pacman -Syu --ignore glibc" everyday.
https://wiki.archlinux.org/index.php/Pa … nsupported
First update your system (from a liveCD if you have to).
thanks. i will try that. im wondering how to do that without livecd.
]]>