Home
About this site:
Disclaimer
Change your settings,
Setup
links to other sites on this server:
Birds
Insects
Edimax mod
Webserver on Edimax
Mailserver on Edimax
links to other sites:
Tranquil PC
Ubuntu Linix kernels
Put Linux on a memory stick
grub2 manuals in progress

9. Install Linux software packages

Adjust variables

Edit to match your preferences. For example: the additional packages to install after installing the server, or the disk names to create boot partitions onto.

Installing Linux modules

We need some more Linux modules to support mirrored disks and logical volumes. In a root shell, enter:
1.install_packages.sh (and do something else for an hour).
In the Grub menus you must TAB to the button to acknowledge.

Mail

When asked for, choose the mail configuration of your sever: The first script also creates some tiny errors in the old menu.lst and the new grub.cfg. They must be fixed before next boot.

Fix the errors

In older versions there are 2 errors preventing the machine to boot next time. So they have to be fixed before shutdown !.

Fix menu.lst

If the file /boot/grub/menu.lst exisis (only in older versions), change:
	title	Chainload into GRUB 2
	root	75b94905-643832-348-348
	kernel	/boot/grub/core.img
into:
	title	Chainload into GRUB 2
	uuid	75b94905-643832-348-348
	kernel	/boot/grub/core.img

Only once !

Fix grub.cfg

Since there is currently only one disk in the system, there is only a very small that this error will occur. In newer versions the UUID is already inserted; then you can skip his paragraprhg.

type command mount | grep " / " (mind the spaces on both sides of the slash)xi to obtain the root device name.

type command blkid to obtain the UUID of the boot device. Use it in the green line below.

In file /boot/grub/grub.cfg change:

	set root=(hd3,1)
	...
	menuentry "Ubuntu, linux 2.6.26-7-generic"{
	linux	(hd3,1)/boot/vmlinuz...
	initrd	(hd3,1)/boot/initrd...
	}
into:
	set root=UUID="123456-1234-1234-123456789012"
	menuentry "Ubuntu, linux 2.6.26-7-generic"{
	linux	(hd0,1)/boot/vmlinuz...
	initrd	(hd0,1)/boot/initrd...
	}

Note: this may be version dependingly, it may be right in the first place..

Then reboot without any problems.

Boot failed. Forgot to fix the Grub menu, huh ?

The system will not properly boot, and gives the message Error 11: Unrecognized device string. Perform the following actions: Now the (blue) GRUB2 menu will start. And fail with the message: "error: You need to load the kernel first". Perform the following actions: Now do the modifications in the previous paragraph !

Remove old version of Grub

So now you booted without any errors ? Otherwise go back to the top of this page !.

Now GRUB2 works fine, and we don't need GRUB1 anymore. (GRUB2 cannot boot from a mirrored disk). In a root-shell give the command upgrade-from-grub-legacy, and remove /boot/grub/menu.lst.

Shutdown and reboot the system again, to be sure there are no GRUB problems anymore.

Activate services

In the logon desktop, click System, Administration, services, unlock, and


For remarks about this page, click here email: philip@van.geens.nl