Hello
I’ve recently upgraded openSUSE 10.2 -> 11.0
Now my /etc/init.d/boot.local doesn’t seem to run anymore.
It contains this:
mount /dev/sdb1 /freeagent -o noatime,nodiratime
How can I troubleshoot this?
Thanks!
Hello
I’ve recently upgraded openSUSE 10.2 -> 11.0
Now my /etc/init.d/boot.local doesn’t seem to run anymore.
It contains this:
mount /dev/sdb1 /freeagent -o noatime,nodiratime
How can I troubleshoot this?
Thanks!
boot.local works fine here
why don’t you put the mount options in /etc/fstab ?
Hi
I’ve added it to /etc/fstab and it seems to work.:)
But is there a way to see what happens when boot.local is called and is supposed to run? It would be interesting to see why it doesn’t work. How can I troubleshoot that part of the boot process?:\
Thanks;)
boot.local accepts any commands. You can see if it’s working if you put an echo statement in it and see if it displays anything during bootup. For example you could put this in it:
echo "blablablablablablablablablablablablabla"
When you boot up, press on Esc after the Grub menu to show the boot process and if you see the above echo statement then boot.local is working
OK, this is a server without a monitor, is there a way to log the boot process to a file?
Thanks!
if you don’t have a monitor, the easiest way i can think of is to just redirect the above echo statement to a file, then after booting, see if that file is there. so in boot.local you put something like
echo “blablablablabla” > /home/your_username/boottest
if boot.local is working, it should create the file “boottest” in your home directory
Hello!
After adding echo blabla > /root/boottest.txt to the boot.local file it seems to work OK now.
Thanks!