  | |  System stops because /var/log not found after moving to new
partition | System stops because /var/log not found after moving to new
partition 2005-02-26 - By bj
Back 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
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |