> On Feb 8, 2015, at 11:19 AM, Ben Bullard <[email protected]> wrote: > > Like this? >
Documenting the manual procedure to generate a chroot is overly complex, error prone, and tedious. Underneath some version of ABF (I don’t know the current status) is a copy of some version of mock (I don’t know the current status) that performs all the operations of creating and populating a chroot. (aside) I do know that a version of mock+urpmi exists because I dir the port. I suggest you are better off with a simpler command like mock, rather than continuing to rely on stone age manual procedures and documentation. Otherwise your documentation is quite good, and none of what I have said above should be taken as a rejection or a criticism. hth 73 de Jeff > 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. > <Mail Attachment.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] <mailto:[email protected]> >>> http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org >>> <http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org> >> >> >> _______________________________________________ >> OM-Cooker mailing list >> [email protected] <mailto:[email protected]> >> http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org >> <http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org> > _______________________________________________ > OM-Cooker mailing list > [email protected] <mailto:[email protected]> > http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org > <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
