On 13/04/12 10:27, Stayvoid wrote:
Hi,
I got the following errors (I've already moved /var line upper (right
after /home)):
Mounting local filesystems...mount: mount point /var/tmp does not exist
mount: mount point /var/mail does not exist
failed.
[...]
/etc/init.d/bootmisc.sh: 63: cannot create /var/run/utmp: Directory nonexistent
[...]
startpar: service(s) returned failure: bootmisc.sh ... failed!
[...]
/etc/init.d/bootlogs: 74: cannot create /var/run/motd: Directory nonexistent
/etc/init.d/bootlogs: 74: cannot create /var/run/motd: Directory nonexistent
/etc/init.d/bootlogs: 74: cannot create /var/log/dmesg: Directory nonexistent
chgrp: cannot access `/var/log/dmesg': No such file or directory
Starting enhanced syslogd: rsyslogdCan't open or create /var/run/rsyslogd.pid
Can't write pid
already started.
Could not create file /var/lib/dbus/machine-id: No such file or directory
Starting periodic command scheduler: cron/var/spool/cron: No such file
or directory
/var/spool/cron: mkdir: No such file or directory
failed!
[...]
when you mount a new file system to replace /var you will need to
pre-populate the contents across.
I usually mount a new file system on /mnt and then use rsync;
mount -t ext3 /dev/XXXXX /mnt
rsync -av /var/ /mnt/
the '/'s on the end of the paths are important!
then you can;
umount /mnt
mount -t ext3 /dev/XXXXX /var
regards,
Kim
_______________________________________________
gNewSense-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/gnewsense-users