- Boot to Rescue from Linux installation CD
- Enter command: grub
# grub
grub> find /boot/grub/stage1 #OR /boot/grub/grub.conf OR /grub/grub.conf -> It show: (hdx,y) with x,y from 0 to n.
grub> root(hdx,y)
grub> setup(hdx)
grub> quit
=> done
This is where I noted some things when I working with Operating Systems, Virtualization, Containers, Databases, Programming Languages, Frameworks, and Development Tools to reuse and for time-saving later.
Pages
▼
Friday, October 28, 2011
Saturday, June 11, 2011
How to fix some syntax errors in rc.conf file on FreeBSD with messages following: "syntax error unterminated quoted string enter full pathname of shell or return for /bin/sh"
# mount -a -t ufs
# /usr/bin/vi /etc/rc.conf
# /usr/bin/vi /etc/rc.conf
Monday, May 30, 2011
Before you can run vmware several modules must be compiled and loaded into the running kernel
I have just installed VMware-Workstation 7.1.4 on fedora 15 x86_64 and when I was starting VMware, I get a message window with content similar "before you can run vmware several modules must be compiled and loaded into the running kernel" ...
=>FIX:
Find your kernel:
[dthoan@dthoan ~]$ sudo find / -name kernel
[sudo] password for dthoan:
/selinux/initial_contexts/kernel
/proc/sys/kernel
find: `/home/dthoan/.gvfs': Permission denied
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel/arch/x86/kernel
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel/arch/x86/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel/kernel
/sys/kernel
/sys/module/kernel
/usr/lib64/pm-utils/module.d/kernel
/usr/share/selinux/devel/include/kernel
-> So: Browse to "/lib/modules/2.6.38.6-27.fc15.x86_64/build/include/linux/" the VMware-Workstation will loaded correctly kernel-headers if you have installed...
Please replace "2.6.38.6-27.fc15.x86_64" with your "$uname -r"
It's done, good luck to u :) fun
=>FIX:
Find your kernel:
[dthoan@dthoan ~]$ sudo find / -name kernel
[sudo] password for dthoan:
/selinux/initial_contexts/kernel
/proc/sys/kernel
find: `/home/dthoan/.gvfs': Permission denied
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel/arch/x86/kernel
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel/arch/x86/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel/kernel
/sys/kernel
/sys/module/kernel
/usr/lib64/pm-utils/module.d/kernel
/usr/share/selinux/devel/include/kernel
-> So: Browse to "/lib/modules/2.6.38.6-27.fc15.x86_64/build/include/linux/" the VMware-Workstation will loaded correctly kernel-headers if you have installed...
Please replace "2.6.38.6-27.fc15.x86_64" with your "$uname -r"
It's done, good luck to u :) fun
Sunday, May 1, 2011
How to browse smb on windows 7 ?
1. Press Windows + R keys to open the Run command and type "secpol.msc".
2. Press "continue" when prompted.
3. Click on "Local Policies" --> "Security Options"
4. Navigate to the policy "Network Security: LAN Manager authentication level" and open it.
5. Change this to "LM and NTLM – use NTLMV2 session security if negotiated".
Once you’ve done this Windows 7 will be able to view network drives based on Samba servers and should fix any issues around using Samba as a Primary Domain Controller.
References: www.builderau.com.au
2. Press "continue" when prompted.
3. Click on "Local Policies" --> "Security Options"
4. Navigate to the policy "Network Security: LAN Manager authentication level" and open it.
5. Change this to "LM and NTLM – use NTLMV2 session security if negotiated".
Once you’ve done this Windows 7 will be able to view network drives based on Samba servers and should fix any issues around using Samba as a Primary Domain Controller.
References: www.builderau.com.au
Thursday, April 21, 2011
How to enable a script auto startup with system on ubuntu server ?
- Create a script in the /etc/init.d/ directory
- Make the script executable
$ sudo chmod +x /etc/init.d/myscript.sh
- Make the script start at bootup
$ sudo update-rc.d myscript.sh defaults
Referenced from: