You are not logged in.
Grant wrote:I did a lot of things, and the kernel boots. But there's an error:
Failed to start Recreate Volatile Files and Directories. See 'systemctl status systemd-tmpfiles-setup.service' for details.Post what you get from systemctl status systemd-tmpfiles-setup.service if you wan't more help about that!
Also check this:
http://forums.fedoraforum.org/showthread.php?t=283902Another thing: it's normal that I don't have /etc/hostname? Or I must use hostnamectl?
Yes t's normal, you need to create it, then reboot!
echo name_of_your_host > /etc/hostname
Ok, i'll post the result of systemctl status. But it works the same from live cd?
Offline
s1ln7m4s7r wrote:Grant wrote:I did a lot of things, and the kernel boots. But there's an error:
Failed to start Recreate Volatile Files and Directories. See 'systemctl status systemd-tmpfiles-setup.service' for details.Post what you get from systemctl status systemd-tmpfiles-setup.service if you wan't more help about that!
Also check this:
http://forums.fedoraforum.org/showthread.php?t=283902Another thing: it's normal that I don't have /etc/hostname? Or I must use hostnamectl?
Yes t's normal, you need to create it, then reboot!
echo name_of_your_host > /etc/hostnameOk, i'll post the result of systemctl status. But it works the same from live cd?
Can't you enter into your system? Search your log files.
I don't think systemctl status will work with arch install media.
Offline
my /var/log are in ram (tmpfs)
Offline
my /var/log are in ram (tmpfs)
Yes, i think arch does that automatically. If it was you that made /var under tmpfs, then you can thrue chroot make a backup and edit your fstab and remove the line about /var.
But can you boot to your system even with that terror?
Last edited by s1ln7m4s7r (2013-03-06 18:19:49)
Offline
no, /var/log is not in tmpfs by default. That would be a really dumb default, to lose your logs every time you reboot. There's only a few use cases where this wouldn't be extremely dumb.
Systemctl status reports on the currently running system. It'll do nothing in a chroot.
Grant, it's seeming like you've deleted a lot of important parts of you system. If your pacman database is still intact (/var/lib/pacman/local/), read this page: https://wiki.archlinux.org/index.php/Pa … d_packages
Last edited by Scimmia (2013-03-06 18:30:03)
Offline
Scimmia, I think you are right. For example, I had to reinstall glibc and dbus.
I try to reinstall again base?
Anyway, I set /var/log (and other things) in tmpfs some time ago.
s1ln7m4s7r no I can't boot.
Offline
I try to reinstall again base?
- perhaps thats better!
Anyway, I set /var/log (and other things) in tmpfs some time ago.
- Its better for you to remove /var/log from tmpfs with chroot (i think in fstab) and run your system so logs can be created for you and then access them again with chroot.
Last edited by s1ln7m4s7r (2013-03-06 18:53:31)
Offline
Scimmia, I think you are right. For example, I had to reinstall glibc and dbus.
I try to reinstall again base?
If your pacman database is intact, the link I gave you really is the best option. It will go through your database and reinstall everything you already had installed, including base.
If your pacman database is gone, I would just backup home and etc and start fresh.
Offline
There is a screenshot of what happens booting the kernel:
http://tinypic.com/r/148dx53/6
and nothing else. It doesn't arrive to the login. I think is correlated with that error.
I tried to reinstall base with pacstrap /mnt base not from chroot clearly, but anything. Scimmia pacman is good, infact I can quietly give -Syu.
I wouldn't reinstall every packages, because I guess will be a long operation.
Now I try to comment /var/log from tmpfs and the others things, boot the kernel, go again into the live enviroment and give systemctl status systemd-tmpfiles-setup.service
Offline
Just one thing. have you tried to press Alt +F2 to F6 to see if you can change to another tty?
Also after you remove /var/log from tmpfs you will also need to reinstall systemd:
By default (when Storage= is set to auto in /etc/systemd/journald.conf), the journal writes to /var/log/journal/. The directory /var/log/journal/ is part of core/systemd. If you or some program delete it, systemd will not recreate it automatically, however it will be recreated during the next update of systemd. Till then, logs will be written to /run/systemd/journal. This means that logs will be lost on reboot.
And more:
Systemd shows all messages from this boot.
However, often one is interested in messages not from the current, but from the previous boot (e.g. if an unrecoverable system crash happened). Currently, this feature is not implemented, though there was a discussion at systemd-devel@lists.freedesktop.org (September/October 2012).
As a workaround you can use at the moment:
# journalctl --since=today | tac | sed -n '/-- Reboot --/{n;:r;/-- Reboot --/q;p;n;b r}' | tac
provided, that the previous boot happened today. Be aware that, if there are many messages for the current day, the output of this command can be delayed for quite some time.
Last edited by s1ln7m4s7r (2013-03-06 19:48:47)
Offline
If you can't fix it this time, don't lose your time and just do what Scimmia said. Backup your /home and reinstall fresh.
Offline
tty everytime tells me Login incorrect. You're right, I'm going to reinstall Arch.
Fortunately I have a separated /home partition. I will format sda7.
But for the home folder question? I must create a new user with a different name and copy every thing from the old to the new home folder, right?
Offline
If you already have a separated partition for your home directory you can format all others and leave that alone. Then mount it has your new system /home partition has you would in a clean install. Nothing will be overwritten. Then you can do what you want, copy to another folder, change owner,etc...
Last edited by s1ln7m4s7r (2013-03-06 20:18:41)
Offline
I always had this problem. When I make a new user, I must call him differently than others. I would to make a new user with the same name of another, and then using the same home.
Infact the last time I had this problem, and I solved creating a new different user. Maybe because the user was made in Ubuntu and I wanted to use that user in Arch.
Offline
I always had this problem. When I make a new user, I must call him differently than others. I would to make a new user with the same name of another, and then using the same home.
Infact the last time I had this problem, and I solved creating a new different user. Maybe because the user was made in Ubuntu and I wanted to use that user in Arch.
You can always change the name of the user folder where you have your files after ch-rooting then create the user you want and move files to it.
Last edited by s1ln7m4s7r (2013-03-06 20:52:26)
Offline
You're right, I will try. I don't have anymore to say, except to tell you thanks for the help.
Have a nice day,
Grant.
Offline