Wednesday, November 17, 2010

How To Make Pubic Hair Lighter

Ubuntu

Problem:
installing ubuntu 4.10 64bit alternate CD by rebooting your system after installation I was presented the following problem:
"ALERT! / Dev/disk/by-uuid/1323ce7f-5a88-44da-aeb5-93f7573b3871 does not exist . Dropping to a shell! " and of course the system would not start because grub could not find the second root partition and the boot (/ dev/md1 and / dev/md0). I seem to have realized that the problem has been resolved in Ubuntu 10.10, but need to establish and update I should install an LST so I had to find a solution.

After losing almost two days to figure out where it was wrong (and I was not wrong!) In the installation of ubuntu 4.10 64bit on 3rd hard drive in raid, I was able to solve due to information found naturally in the network.
The configuration of the 3 500-GB hard disk should be (and is) the following:
/ dev/sda1 - / dev/sdb1 - / dev/sdc1 = 300 MB (/ boot) in a raid
/ dev/sda2 - / dev/sdb2 - / dev/sdc2 = 20 GB (/) in raid 5
/ dev/sda5 - / dev/sdb5 - / dev/sdc5 = 2 GB (swap)
/ dev/sda6 - / dev/sdb6 - / = dev/sdc6 about 460 Gb (/ home) in raid 5

For the last partition was created using the free space created after subtracting the other 10 blocks. Creating partitions with fdisk has been made, since the problem presented itself to me after installation via alternate cd.

Here is the solution ... We start ubuntu 4.10 64bit (desktop version) "Try Ubuntu without installing it and just booted open a terminal (I assume that the hard disk is free of partitions, if not format it or adapt the procedure to your hard disk).
become administrators: sudo-s

We partitions at will using fdisk:
fdisk / dev / sda

not put all the steps in fdisk to create partitions (I have followed the pattern that is written previously), just look for that a little over a network or read the man page for fdisk.
Copy scheme partitioning on the other hard disk:
sfdisk-d / dev / sda
If you wish to use a different ext4 file system, the command mkfs tailored to your needs. Mdadm command options are fairly simple to understand (sort of level is the raid and raid-device is the number of hard disk), to know all the options as there are always pages manul.
Now that we have the hard disk partitioned and formatted raiddati (ugly term, but the first that came to my mind:)) we can install it using the icon on the desktop.
proceed normally until the disk partitioning, where we have to choose "Manually specify

the partitions
(advanced)
" and assign the various mount points to partitions (in my case md0, md1, md2) and swap areas. No need to format the partitions as we did previously.
continue to the next steps and complete the installation.
resume at the end of the terminal installation (if we re-open and become closed to new administrators "
sudo-s") and enter the system installed:
mount / dev/md1 / target /

mount / dev/md0 / target / boot mount
/ dev/md2 / target / home mount - bind / dev / / target / dev / mount - bind / sys / / target / sys / mount - bind / proc / / target / proc / chroot / target Now we can work with the operating system installed on the operating system. Install grub and mdadm:

apt-get update apt-get install mdadm
grub-install / dev / sda
grub-install / dev / sdb
grub-install / dev / sdc I


I installed grub on all hard drives because I have a boot partition on each one in a raid.
Now we can restart the system and make sure everything is working properly and maybe do some benchmarks on the raid;)