System stops because /var/log not found after moving to new partition
bj
bhamal at wlink.com.np
Sat Feb 26 15:30:46 UTC 2005
Hi !
I have a Red Hat 8.0 on a intel 2.4 machine with 512 MB .
I have kernel 2.4.20-30.8-legacy & 2.4.20-30.8-legacy bigmem.
I used to have all my directories /var , /tmp , /usr , /home under one
partition / .
Thanks to everybody , now I was able to re-partition my drive into extended
drives (drives < 4) and move my /var , /tmp into hda5 & ,my /usr , /home
into /hda6 .
Bu I am facing one problem.
When I boot my system logger does not see the /var/log which has been moved
to the new location .
The system just hangs .
When I boot in single mode by passing an argument to my kernel that does
show in the dmesg in the new location .
In addtion when I run a command like 'clear ' it shows that it could not
find the library to run it .
I have mounted hda5 & hda6 in my fstab .
I did create soft link for my new var , new tmp & new usr to the the /var ,
/tmp , /usr as ffs :-
ln -s /mnt/hda5/var /var
ln -s /mnt/hda5/tmp /tmp
ln -s /mnt/hda6/usr /usr
I moved the old files using the ff commands:-
cd source directory
cp -ax * /mnt/usr5/var
or
cd /src/dir ; tar cf - . | (cd /dest/dir && tar xvf - )
But still it does not work .
Please find attached the dmesg & library error and fstab.
Please advice.
Thank you for your help in advance.
bj
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg.txt
URL: <http://listman.redhat.com/archives/redhat-list/attachments/20050226/08835bfc/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fstab.txt
URL: <http://listman.redhat.com/archives/redhat-list/attachments/20050226/08835bfc/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: liberror.txt
URL: <http://listman.redhat.com/archives/redhat-list/attachments/20050226/08835bfc/attachment-0002.txt>
More information about the redhat-list
mailing list