Re: Removing one of several HDDs

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

 



On November 28, 2003 07:29 am, Mark Neidorff wrote:
> Hi all,
>
> I have 2 disk drives on my system (RH 7.3)--sda and sdb.  Red Hat boots
> from sdb.  I used sda for an old version of Red Hat and I want to
> phyiscally remove sda from the system (due to noise).  Before I physically
> remove it, I know that I have to change references to in in:
>
> /etc/mtab
> /etc/grub.conf
> /etc/fstab
>
> are there any other places that I have missed?
>
> Thanks for the sanity check,
>
> Mark


Hi Mark,
when you umount the drive mtab is updated, it is not a static file so you 
don't need to worry about it. As long as you have no links or using any 
resources on sda you can remove it.

As well as editing grub.conf & fstab, you will need to install grub in the MBR 
of what will now become sda (was sdb).
Boot off the installl cd, select rescue, let it mount your existing 
filesystems (as /mnt/sysimage).
Now run grub-install on sda (old sdb):
chroot /mnt/sysimage
grub-install /dev/sda

That should be it.
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux