Installing SMGL using user contributed "chroots".

You can download prepared "chroot" of SMGL, then put it on your USB Flash, boot using some live-CD (ie. Ubuntu) - must be distro with recent kernel, so that it can detect at least your HDD drivers.

Partition new HDD (don't forget to mark active partition and make swap partition)

fdisk /dev/sda

Format selected partition and swap

mkfs.ext3 /dev/sda1
mkswap /dev/sda2

Mount HDD and Flash

mkdir /mnt/chroot
mkdir /mnt/flash

mount /dev/sda1 /mnt/chroot
mount /dev/uba1 /mnt/flash
cd /mnt/chroot

Unpack

tar xvfj /mnt/flash/chroot_xyz.tar.bz2

Prepare for chrooting and chroot

mount --bind /dev /mnt/chroot/dev
mount -t proc none /mnt/chroot/proc
chroot /mnt/chroot/

Now you're working in chrooted SMGL. You should recompile kernel (only if the one in "chroot" is too old for you, if you choose right "chroot" you dont need to do it)

get_kernel_source_somewhere, somehow
cp kernel_source.tar.gz /usr/src
cd /usr/src/
tar xvfz kernel_source.tar.gz
cd kernel_source
make menuconfig
make bzImage && make modules && make modules_install
cp arch/x86/boot/bzImage /boot/vmlinubz-2.6.26

Edit fstab (set swap partition etc.) and setup boot loader

vi /etc/fstab
vi /etc/lilo.conf
lilo

And you're done, remove boot-cd, reboot and pray for boot loader menu to show.

List of downloadable chroots:

WARNING: These chroots are really old. Some features will not work. Do not complain if used.

x86 0.9.6 chroot [2006-02-24] -download (SMGL 0.9.6 x86 chroot with some old kernel)

x86_64 chroot [2006-07-30] - download (SMGL x86_64 chroot, also very old)

k8_32 chroot [2008-09-27] - download (SMGL k8_32 chroot - with kernel 2.6.26, gcc 4.3.2, glibc 2.7, etc. lastest packages versions to date 2008-09-27 - warning!! - everything optimized for k8_32/AMD, may not work on Intel CPUs)

Custom_Chroots (last edited 2010-02-08 21:44:58 by ElisamuelResto)