[KLUG Members] how do I do this?

Peter Buxton members@kalamazoolinux.org
Wed, 3 Sep 2003 19:18:26 -0400


On Wed, Sep 03, 2003 at 04:33:17PM -0400, Mike Williams was only escaped
   alone to tell thee:

> I have a Redhat 8.0 machine, from which I want to remove a small hard 
> drive.  Here's the partitioning setup as it is now:
> 
> hda:  2.5 gig
>    200 meg /boot
>    256 meg swap
>    2 gig scratch (easily moved to  hdc)
> 
> hdb:  60 gig
>    60 gig md RAID 1
> 
> hdc:  80 gig
>    60 gig md RAID 1
>    512 meg /tmp
>    256 meg swap
> 
> md0:  60 gig LVM
>    /usr, /var, /home, /.  space available at the end
> 
> Now, I would like to remove hda, but I'll need to put /boot on hdb and 
> there's no space left.  I can't put /boot on the 80 gig because this 
> machine's BIOS hangs if it tries to detect a drive that large.  So, I 
> need to shrink the physical partion (the 60 gig LVM mirror) by about 100 
> megs from the front so I can put /boot on hdb.  How the heck do I do 
> something like this?

mkdir /mnt/scratch
umount /boot
mount /mnt/scratch hda$NUMBER_OF_BOOT_PART
tar cp /mnt/scratch | ( cd /boot ; tar x )

As for GRUB on a md/RAID1 setup:

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55484

You may have to switch to LILO :-( but it will work.

-- 
-16
Delenda est Lutetia.