disk space
Rick Stevens
rstevens at vitalstream.com
Tue Sep 7 22:43:51 UTC 2004
karlp at ourldsfamily.com wrote:
>>karlp at ourldsfamily.com wrote:
>>
>>>What, may I ask, is a sane method of moving rh v8.0 from an 8gb disk to
>>>say, a 30gb disk? Ghost? Mount and copy?
>>
>>Partition the new drive, then mount each filesystem and "cp -a" or use
>>ghost. Either will work.
>>
>>NOTE: Regardless of how you do it, you will need to install either grub
>>or lilo on the new drive for it to boot.
>
>
> I have no particular preference between the two. I use both currently on
> different systems. Do you have a preference and if so, why?
I prefer grub for several reasons: It's capable of dealing with more
operating systems than lilo can, you don't have to remember to run it if
you tweak the config file and it's a bit more flexible.
>>If you use lilo:
>>
>> # chroot /newdrive/boot
>> # lilo
>> # exit
>>
>>If you use grub:
>>
>> # grub-install /dev/whatever-the-new-drive-is
>
>
> This way, I could keep both drives in the machine so thanks. Do I need to
> change their jumpers so one is a master and the other a slave for them to
> behave correctly?
Well, yes and no. If you use filesystem labels rather than device names
in your /etc/fstabs or loader configs, you can have issues. I'd leave
the drives jumpered however you wish but make sure that your boot loader
doesn't use the "root=label=/" stuff, but rather uses "root=/dev/hdxn"
format. Also make sure you modify each system's /etc/fstab to use the
device names also. Nothing will confuse things more than having a
"/usr" filesystem label on two drives then specifying "LABEL=/usr" in
the /etc/fstab. Which "/usr" will you get? It's unpredictable.
> Oh, and this is a production system (email; web; ssh server). Does that
> change or modify your recommendations? (and thanks Rick; always good for
> sound advice.)
No, other than the device name versus filesystem label stuff either
would work. As I said, I prefer grub, although it's not as easy to
boot in single user mode with grub as it is with lilo.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Never eat anything larger than your head -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list