
mindstormmaster at gmail
Sep 5, 2004, 11:40 PM
Post #14 of 20
(221 views)
Permalink
|
Just a note and disclaimer. I don't know what success you'll have with your particular hardware configurations, but it's a good idea to poke around for a while to make sure you know what you need. Also, you might try running through the process on a spare computer to know what to expect. I did it about three times until I didn't run into any random problems along the way. And another note, you might want to compile the network drivers into the kernel instead of as modules. This guarantees it'll load up on boot. I've lost the system a couple times because of bad network settings or missing network modules. On Sun, 5 Sep 2004 22:47:01 -0700, Jeffrey Wong <mindstormmaster [at] gmail> wrote: > Quickly this is how it goes. (I'll post again with more complete > details when I get more time.) > > Turn off swap. (swapoff -a) > Convert the swap partition to a useable ext3 partition. (use fdisk's > "t" command to change it from Linux Swap to Linux, then use mke2fs) > Mount the new "temporary" partition and run a stage 3 gentoo install > on this partition as normal. Stage 3 should only run you about 1.2 to > 1.5 GB. Use gentoo-sources for the kernel (2.4). > Add sshd to the default runlevel (rc-update add sshd default). I also > used Lilo for my boot loader (replacing grub), because it has the > special -R option that will revert back to the default after one boot. > Good for times when you forget something in your new kernel. > Double check your network configuration. Triple check if you're not > sure. Also make sure Lilo (or grub if you wanted) is set to revert > back to Red Hat's kernel if you mess up. > > Reboot and pray hard. > > If all went well, you should be booted into your new temporary gentoo > system. Now re-create the main partition to whatever file system you > like (reiserfs in my case) and do a complete install on the main > partition. (I chose a stage 1 for the fun of it.) Also, emerge > screen if you don't want to have a ssh session open all the time. > You'll have to install Lilo again, but keep around the temporary > gentoo install for your potential mess up. Use the -R option to your > advantage. > > Reboot again and pray. > > With any luck, you'll be in your new Gentoo install (the real one). > Go ahead and change Lilo's config to boot only to this system. You > can also delete all the stray files from /boot. Redo your swap > (mkswap /dev/hda?, swapon /dev/hda?). Enjoy your new Gentoo system. > > Good luck! > -jeff > > > > > On Mon, 6 Sep 2004 01:32:57 -0400 (EDT), Ajai Khattri <ajai [at] bway> wrote: > > On Sun, 5 Sep 2004, Jeffrey Wong wrote: > > > > > I took advantage of Red Hat's typical 2 gig swap partition to create a > > > temporary install of gentoo, then used that system to install Gentoo > > > onto the primary partition for real. It was all done via SSH, without > > > any intervention on the other end. I'll post a more detailed record > > > of what I did if you'd like. > > > > I was thinking about this today and realized the swap partition might be > > key in all this. Yes, I would very much like to read the details. > > > > > > > > > > -- > > Aj. > > Sys. Admin / Developer > > > > -- > > gentoo-user [at] gentoo mailing list > > > > > -- gentoo-user [at] gentoo mailing list
|