[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



On 10/10/05, Jeff Hubbs <hbbs at comcast.net> wrote:
>
> Except I don't think he's going to have an env-update, is he? I never
> saw that or source /etc/profile outside of Gentoo.
>
> Barlow, Jim D wrote:
>
> >We Gentoo buffs do this all of the time as a routine part of
> >instalation. I've done it with knoppix...
> >
> >Stolen from the Gentoo install documentation, you can mount your
> >filesystems, chroot into position, and then run your profiles to make
> >sure your environment variables are set:
> >
> >
> > Mount the /proc file system first, copy over the /etc/resolv.conf
> >file and then chroot into your environment.
> >
> > Code Listing 1.1: Preparing and chrooting
> >
> > mount -t proc none /mnt/gentoo/proc
> > cp /etc/resolv.conf /mnt/gentoo/etc/
> > chroot /mnt/gentoo /bin/bash
> > env-update && source /etc/profile
> >
> >I always mount /mnt/boot too...
> >
> >Then configure and compile your kernel & modules and install, making
> >sure your grub is ok.
> >
&gt; &gt;<a  rel="nofollow" href="http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml";>http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml</a>
&gt; &gt;
&gt; &gt;Good luck. - Jim
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;-----Original Message-----
&gt; &gt;From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org] On Behalf Of
&gt; &gt;Scott Denlinger
&gt; &gt;Sent: Monday, October 10, 2005 9:13 AM
&gt; &gt;To: ale at ale.org
&gt; &gt;Subject: [ale] Is this a brain transplant or a heart transplant?
&gt; &gt;
&gt; &gt;Hi all,
&gt; &gt;
&gt; &gt;I'm running Debian testing, and my processor recently died. I used this
&gt; &gt;as an
&gt; &gt;opportunity to upgrade my processor and system board, and now I need to
&gt; &gt;figure
&gt; &gt;out how to use my old hard drives, which contain a perfectly functional
&gt; &gt;Debian
&gt; &gt;system, with my new board and processor. Basically, my question is
&gt; &gt;whether I
&gt; &gt;can use my current partititions and data, and just compile a new kernel
&gt; &gt;to
&gt; &gt;match my new system board configuration. The system board, processor,
&gt; &gt;and
&gt; &gt;several peripherals no longer match exactly, so I definitely need a new
&gt; &gt;kernel.
&gt; &gt;
&gt; &gt;I thought I might be able to boot into something like Knoppix, let
&gt; &gt;Knoppix tell
&gt; &gt;me what *it's* using for modules, then use that info. to compile my new
&gt; &gt;kernel,
&gt; &gt;but I'm not sure how I can do that from Knoppix, and I've not come
&gt; &gt;across
&gt; &gt;anything on the web which describes how this would work. Can I recompile
&gt; &gt;a
&gt; &gt;kernel just by mounting the root and boot partitions Knoppix recognizes
&gt; &gt;and
&gt; &gt;then compile a new kernel using sudo? Would anything I compile in this
&gt; &gt;scenario
&gt; &gt;boot properly when I'm done and no longer want to boot Knoppix?
&gt; &gt;
&gt; &gt;Or, are there some basic parameters I can pass on the command line as my
&gt; &gt;OLD
&gt; &gt;kernel (2.6.4) starts to boot that would drop me into a basic root shell
&gt; &gt;from
&gt; &gt;which I could recompile? I would have to pass in enough info. to get it
&gt; &gt;to deal
&gt; &gt;with my new Pentium 4 processor--the old one was a K7 Athlon.
&gt; &gt;
&gt; &gt;The worst-case scenario is that I could just wipe out my current disk
&gt; &gt;configuration and reinstall completely, since I've got my critical data
&gt; &gt;backed
&gt; &gt;up, but I'd intriqued by the challenge of getting a new kernel to work
&gt; &gt;with the
&gt; &gt;setup I have.
&gt; &gt;
&gt; &gt;Thanks in advance for any advice.
&gt; &gt;
&gt; &gt;Scott Denlinger
&gt; &gt;
&gt; &gt;_______________________________________________
&gt; &gt;Ale mailing list
&gt; &gt;Ale at ale.org
&gt; &gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt;_______________________________________________
&gt; &gt;Ale mailing list
&gt; &gt;Ale at ale.org
&gt; &gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;
-------------- next part --------------
An HTML attachment was scrubbed...



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00185" href="msg00185.html">[ale] Is this a brain transplant or a heart transplant?</a></strong>
<ul><li><em>From:</em> jim.d.barlow at intel.com (Barlow, Jim D)</li></ul></li>
<li><strong><a name="00186" href="msg00186.html">[ale] Is this a brain transplant or a heart transplant?</a></strong>
<ul><li><em>From:</em> hbbs at comcast.net (Jeff Hubbs)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00225.html">[ale] Enterprise Linux's</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00227.html">[ale] Enterprise Linux's</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00186.html">[ale] Is this a brain transplant or a heart transplant?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00192.html">[ale] Custom Linux Distro and Consulting wanted</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00226"><strong>Date</strong></a></li>
<li><a href="threads.html#00226"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>