A 09:17 17/04/02 -0700, vous avez écrit :
>that sounds like the way to go
>but i don't have a lilo.conf
>i believe i'm using grub
>what should be different?

i don't know about grub

the changes in lilo.conf just tell the boot manager where to write the mbr
and the lilo command actually writes it. this makes your new disk bootable
so that when you put it in place of the old one (from hdc to hda) you just
have to power the machine on to get the os up and running

so read about grub and tell it what it has to do...


>
>_________________________________
>daniel a. g. quinn
>starving programmer
>
>there are more worlds
>than the one you can hold in your hand
> - unknown
>
>----- Original Message -----
>From: "Thierry ITTY" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, April 16, 2002 9:25 AM
>Subject: Re: disc images?
>
>
>> if you don't want (or can't) use non-free software (ghost, partition magic
>> (which i'd recommend for this), ...), you could try the following :
>> - install the new disk (say /dev/hdc)
>> - boot the old system
>> - create partitions on the new disk
>> - mount them on temporary mount points
>> - copy from old disk (cp -a)
>> - chroot to the new root fs
>> - edit lilo.conf change boot parameter to new disk (still /dev/hdc)
>> - lilo
>> - edit lilo.conf again revert boot parameter to new disk future dev (say
>> /dev/hda)
>> - shutdown
>> - remove old disk and put the new in place (now /dev/hda)
>> - boot
>> - it should work, if it doesn't, you would just have to boot on a rescue
>> diskette or install cd, mount the new root fs, chroot to it and lilo again
>>
>> let us know...
>>
>>
>> A 14:30 15/04/02 -0700, vous avez écrit :
>> >hello all
>> >
>> >i've got a old box here with a 6gig hd inside that i want to completely
>> >replace with a new shiny 30gb drive.  the problem is though that i've
>speant
>> >a lot of time getting this thing to work, setting up a name server,
>apache,
>> >proftpd, afpd etc. etc. and i'd rather not have to start from scratch.  a
>> >suggestion was made to me that i just make a disc image of what i've got,
>> >but i don't know how to do that...  what's involved?
>> >
>> >here's my current drive partition info:
>> >
>> >filesystem   1k-blocks       used    available   mounted on
>> >/dev/hdb1      5945404    4990916       652468            /
>> >/dev/hda1        49743       8272        38903        /boot
>> >none             63176          0        63176     /dev/shm
>> >
>> >what're my options here?
>> >
>> >
>> >
>> >_______________________________________________
>> >Redhat-list mailing list
>> >[EMAIL PROTECTED]
>> >https://listman.redhat.com/mailman/listinfo/redhat-list
>> >
>> >
>> - * - * - * - * - * - * -
>> Bien sûr que je suis perfectionniste !
>> Mais ne pourrais-je pas l'être mieux ?
>> Thierry ITTY
>> eMail : [EMAIL PROTECTED] FRANCE
>>
>>
>>
>> _______________________________________________
>> Redhat-list mailing list
>> [EMAIL PROTECTED]
>> https://listman.redhat.com/mailman/listinfo/redhat-list
>>
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
                        - * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
        Thierry ITTY
eMail : [EMAIL PROTECTED]               FRANCE



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to