Stuff…

I know I will forget.

Stuff… header image 4

Entries from February 2008

Delete the MBR

February 20th, 2008 · No Comments

URLs:

Can’t find original source atm..
Back up MBR: http://wiki.linuxquestions.org/wiki/Dd#Backing_up_your_Master_Boot_Record_.28MBR.29.
Removing the MBR/partition information

Working on a remote install machine (PXE booting) sometimes need to remove the MBR that is on the current machines hard disk so that on reboot the machine tries to boot from net.
In Linux the following command can be executed to delete the MBR (Don’t [...]

[Read more →]

Tags: Operating System

Enable quotas on a Virtuozzo 3.5.1 container

February 20th, 2008 · No Comments

URL: http://kb.swsoft.com/en/1144
Quotas may not be enabled for within a virtual server. To enable quotas within a virtual server/container you may increase QUOTAUGIDLIMIT parameter using ‘vzctl’ utility on a node:

# vzctl set 101 –save –quotaugidlimit 210

 
To apply changes it is required to restart VE:

# vzctl restart 101

[Read more →]

Tags: Linux · Operating System

Upgrade Fedora Core 6 (FC6) to Fedora 7 (F7) to F8

February 7th, 2008 · No Comments

Good URL: http://www.ioncannon.net/linux/68/upgrading-from-fc6-to-fedora7-with-yum/
Install the fedora release Fedora 7 RPMs:
rpm -Uhv http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/x86_64/os/Fedora/fedora-release-7-3.noarch.rpm http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/x86_64/os/Fedora/fedora-release-notes-7.0.0-1.noarch.rpm
Set /etc/yum.conf file:
[base]
name=Fedora Core $releasever – $basearch – Base
#baseurl=http://www.mirrorservice.org/sites/fedora.redhat.com/core/$releasever/i386/os
baseurl=http://www.mirrorservice.org/sites/fedora.redhat.com/releases/$releasever/Fedora/i386/os/
[updates-released]
name=Fedora Core $releasever – $basearch – Released Updates
#baseurl=http://www.mirrorservice.org/sites/fedora.redhat.com/core/updates/$releasever/i386
baseurl=http://www.mirrorservice.org/sites/fedora.redhat.com/updates/$releasever/i386/
Run following commands:
[root@server ~]# rpm -e authconfig firstboot-tui-1.4.23-1.noarch authconfig-gtk-5.3.18-0.1.fc6.i386
[root@server ~]# yum -y update
Then, to upgrade to Fedora 8:
rpm -Uvh http://www.mirrorservice.org/sites/fedora.redhat.com/updates/8/i386/fedora-release-8-5.noarch.rpm http://www.mirrorservice.org/sites/fedora.redhat.com/updates/8/i386/fedora-release-notes-8.0.1-1.noarch.rpm
yum clean all
yum -y update
Edit: Then to Fedora [...]

[Read more →]

Tags: Linux · Operating System