update latest kernel, So upgrade autometically from 3 to 5

On 3/5/09, Daniel Eggleston <[email protected]> wrote:
>
> gentoo's guide:
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml
>
> debian's guide:
> http://www.debian-administration.org/articles/426 -- a little less
> comprehensive
>
> Here's a quick rundown of the info
>
> Usual legal mumbo jumbo about me not accepting liability and such is here
> -- it's your own system, so don't do anything on it that you don't
> understand, or else deal with the repercussions.
>
>
> 1) format the target drive (i.e. mfks.ext3 /dev/hda2)
> 2) mount the drive (i.e. mount /dev/hda2 /mnt/newdistro)
> 3) copy in the initial target system (for gentoo: tar xf
> /some/place/local/stage3-lotsanumbers.tar.bz2 -C /mnt/newdistro
> for debian, debootstrap lenny /mnt/newdistro)
>
> 4) mount necessary filesystems
> mount -t proc proc /mnt/newdistro/proc
> mount -o bind /dev /mnt/newdistro/dev
> cp -L /etc/resolv.conf /mnt/newdistro/etc
> 5) chroot into the new environment (chroot /mnt/newdistro)
> 6) configure the new distro <<-- you're on your own here; this is described
> in great detail many other places.
> 7) add an entry to your bootloader to load the new distro (preferably also
> add a failsafe in case the new one doesn't boot... see man grub, man lilo,
> man syslinux, or whatever your loader of choice is)
> 8) reboot
> 9) enjoy!  (or proceed to bash your head on the table if you forgot IDE
> drivers to the kernel and didn't add a failsafe to the bootloader... who
> *does* that??)
>
> On Thu, Mar 5, 2009 at 2:58 AM, Jibz <[email protected]> wrote:
>
>> Can u gimme steps on how to do it with a chrooted env?
>>
>>
>> On Thu, Mar 5, 2009 at 6:40 AM, Daniel Eggleston <[email protected]>wrote:
>>
>>> well, the one with the spare drive you can install a chrooted environment
>>> and reboot into it.  If there's no spare space in the other server, it gets
>>> a lot more tricky.  If you were awfully clever you could boot into an
>>> initramfs system with network support & repartition the hard drive to make
>>> some space to do the same trick.
>>>
>>> I've installed linux remotely (strictly speaking, I had physical access),
>>> but I've never tried to upgrade a distro remotely with removable media.
>>>
>>> Maybe someone else has more experience?  Honestly, gentoo and debian are
>>> the only ones I could install easily in this situation (with a stage tarball
>>> or debootstrap).
>>>
>>>
>>> On Wed, Mar 4, 2009 at 1:15 PM, Jibz <[email protected]> wrote:
>>>
>>>> One server has and one doesnt...
>>>>
>>>>
>>>>  On Wed, Mar 4, 2009 at 10:48 PM, Daniel Eggleston <[email protected]>wrote:
>>>>
>>>>
>>>>> is there a spare hard drive in those machines?
>>>>>
>>>>>
>>>>> On Wed, Mar 4, 2009 at 9:35 AM, Jibz <[email protected]> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>  I'm trying to upgrade my remote server from RHEL 3 to RHEL 5. My
>>>>>> problem is that RHEL 5 DVD is with me and the servers are abroad. So i
>>>>>> cannot insert the media into the server. So i have to adapt another 
>>>>>> method.
>>>>>> Can i copy the contents of the DVD directly or as iso to the servers and 
>>>>>> do
>>>>>> an upgrade?? If so how???
>>>>>>
>>>>>> Urgent.
>>>>>>
>>>>>> Jibs
>>>>>>
>>>>>>
>>>>>> --
>>>>>> "The will of God will never take you where the Grace of God will not
>>>>>> protect you."
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>>           Daniel
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> "The will of God will never take you where the Grace of God will not
>>>> protect you."
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>           Daniel
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> "The will of God will never take you where the Grace of God will not
>> protect you."
>>
>>
>>
>>
>
>
>
> --
>
>           Daniel
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to