OT 2nd posting pci ata card ??

Dave S ubuntu at pusspaws.net
Sun Apr 2 07:39:56 UTC 2006


> > I have spent a lot of time setting up my system just as I want it, samba,
> > apps, furry dice :) Has anyone any idea how easy / hard it would be to
> > move a software raid from hda,hdc to hde,hdg (I assume that's where they
> > will pop up?)
>
> Don't assume.  Some PCI IDE cards manage to grab hda etc or perhaps it's
> a BIOS issue.  Disclaimer: this advice may hose your system.  It's what
> I would do.  I have backup and you should too.

I have learnt the hard way, hosed a few systems, backup is good :)

> Plug the devices in and try to boot.  It's possible that magic may
> happen.  If not:
> o Boot from a live CD.
> o Note what hd* the drives are (dmesg | grep ^[hm]d) and what md* the
> array is (cat /proc/mdstat).
> o If the array wasn't detected, assemble it (e.g. mdadm --assemble
> /dev/md1 /dev/hde1 /dev/hdg1).
> o Mount and chroot to the array (e.g. mount /dev/md1 /mnt && chroot /mnt).
> o Fix the bootloader and fstab if necessary.  I'm hazy on bootloaders
> but it's something like the drive will now be hde, grub loads, and tries
> to boot from hda which of course have nothing connected.  You will need
> to edit /boot/grub/menu.lst.  I'm not sure if you need to re-run
> grub-install as drive allocations have changed in the BIOS etc.
> o Exit the chroot (Ctrl-D).  Unmount the array (umount /mnt).
> o Reboot without the CD.
> o Note the errors, fix them, and try again.  ;)

Thanks for your input, your advice makes sense to me I will give it a go with 
fingers and toes crossed :)

Dave







More information about the ubuntu-users mailing list