Like this?

     By chroot (quick & safe)

Another way to accomplish this is to use the capabilities offered by chroot and urpmi.

 * It is certainly the fastest method of installing cooker, using
   simply urpmi.
 * It is also the easiest method, as it does not bind you to using any
   specific package medium, and it allows you to install the basic
   packages first, after which you can choose to install any other
   packages you want.
 * It is the longest method to describe, but the fastest to use.

Notepad.png <http://archive.openmandriva.org/wiki/en/index.php?title=File:Notepad.png>
*Please note!*
You should already have another version of Mandriva installed with its own /boot

These are the steps you need to perform:

 * Boot your Mandriva system.
 * Change your software media sources to point to the Cooker
   repositories only (they must remain like this during the entire
   installation process). For details see
   Cooker#By_modifying_the_sources_.28quick.29
   
<http://archive.openmandriva.org/wiki/en/index.php?title=Cooker#By_modifying_the_sources_.28quick.29>.

 * Using Drakdisk, format the partition on which you wish to install
   Cooker. Then mount the new root partition (which is going to become
   / for the new system) to a folder, for example /chroot.

 * Create and mount the special filesystems in /chroot:

mkdir /chroot/dev
mkdir /chroot/sys
mkdir /chroot/proc
mount -o bind /dev /chroot/dev
mount -o bind /sys /chroot/sys
mount -o bind /proc /chroot/proc

 * Install basesystem in /chroot.

urpmi basesystem --root /chroot

You will be asked to choose the basic packages. The choices are between:

 * different kernel versions (kernel manbo, old mdv kernel, vanilla
   kernel, Thomas' kernel, rt kernel)
 * iputils or arping
 * log system (syslog-ng, rsyslog or sysklogd)
 * the Mandriva release (free, one, powerpack)
 * your flavor of VI :) (vim-enhanced, minimal, or x11-vim)
 * the bootloader (grub or lilo).

Validate your choices and launch the process. In case you are not familiar with the options, it may be helpful to find out which package is currently used on your system. For example, to see if you currently have sysklogd installed, you can run from another shell:

rpm -qa | grep sysklogd

Some errors will most likely be displayed regarding your locales (language, keyboard etc). For now, you can ignore them, they will be fixed later. Wait until the base system installation finishes. After the installation is finished, copy the DNS configuration from your system to Cooker:

cp -L /etc/resolv.conf /chroot/etc/resolv.conf

Make sure URPMI is installed in chroot:

urpmi --root /chroot urpmi

 * Copy vmlinuz and its initrd from /chroot/boot/ to /boot.
 * Modify menu.lst from /boot/grub by adding a new entry for cooker,
   and make it point to the partition on which cooker is installed.

To finalize the installation you have to chroot into the new system:

 * Start a shell in the new system through chroot:

chroot /chroot /bin/bash

 * Create a coherent /chroot/etc/fstab file (in your chrooted shell, it
   is seen as /etc/fstab). For finding the UUIDs of your partitions you
   can use:

ls -lh /dev/disk/by-uuid

 * Set the cooker media sources for the Main, Contrib and Non-Free
   repositories (# urpmi.addmedia main ....)
 * Install all the other packages you need, for example:

urpmi locales-en drakxtools drakconf task-x11 task-kde gpm dhcp-client

 * Finally, change your locale with draklocale, and install the
   language packages you need (firefox-fr for example). Other basic
   configurations you might need to perform are setting up the X server
   (run drakx11) and networking (run drakconnect).


Ben Bullard
ben79
--------------------
OpenMandriva-QA Team

On 02/05/2015 09:50 PM, Ben Bullard wrote:
On 02/05/2015 09:36 PM, Ben Bullard wrote:
Ok you download and burn a minimal .iso. Then you boot it and it boots to a login prompt. At that point what am I supposed to do to get something to install? I know that entering live or root gets one in to a shell. But then what? It appears that urpmi will work but what should I urpmi? basesystem, draklive-install? And anyway mirrors don't work. What to do about that?

If one could get mirrors to work would this work:

urpmi basesystem locales-en drakxtools drakconf task-x11 icewm task-lxqt sddm 
dhcp-client

--
Ben Bullard
ben79
--------------------
OpenMandriva-QA Team



_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org



_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to