On Sunday 20 April 2003 10:57 pm, Glen Tyler wrote:
wanting to try a new configurable linux I have been sent a gentoo x86 1.4 rc3 CD. At the top level there is one file livecd.cloop and two directories gentoo - (containing the three level tarballs) and isolinux (with initrd and gentoo.lss files in it among others). I'm guessing that the livecd.cloop file should be a boot.img or something like it as I don't think that gentoo can be installed unless you can boot from the CD. Normally (i.e. never before) I have no problem booting from CD's. Can anyone give any pointers?
basically the cd contains ISOLINUX, which gives you a nice linux environment, and the you make your partitions, format them ('mkfs.ext2 -j' for instance) mount them (gentoo advises a separate boot partition, as then its harder to break it!) just unzip the chosen tarball to the root of your new system partitons.
example: mkfs.ext2 -j /dev/hda1 mkfs.ext2 -j /dev/hda2 mkdir /mnt/gentoo mount /dev/hda2 /mnt/gentoo -t ext3 mkdir /mnt/gentoo/boot mount /dev/hda1 /mnt/gentoo/boot -t ext3 cd /mnt/gentoo tar -xvjpf /mnt/cdrom/gentoo/stage?-*.tbz2 # untars the entire filesystem for a basic tree. get the flags right, and be in /mnt/gentoo, or you'll destroy the system you're hosting on. mkdir /mnt/gentoo/dev mount -o bind /dev /mnt/gentoo/dev # not vital,but makes installing a bootloader possible mkdir /mnt/gentoo/proc mount -o bind /proc /mnt/gentoo/proc # inportant if you want to emerge stuff (like lilo) cd /mnt/gentoo chroot . env-update source /etc/profile # you are now in, yay... emerge rsync # builds portage tree
think thats it. the only really agravating thing, is that if you boot off the cd it builds the filesystem from somewhere, and the install instructions are in /usr/doc/install.txt (i think). you dont seem to have them within the stage tarballs. ill send you the instructions if required, however its probably easier to boot the cd and put them on a partition/floppy/other computer whatever, or get them off the gentoo site.
ive been building gentoo for years, got 5 systems running it at the moment...
Glen
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!