Removing software RAID1

My system runs the latest version of Debian on the 2.4.27 kernel with two identical hard drives in a software RAID1 configuration.  I want to remove RAID1 so that the system is as if I had never installed it.  I know how to remove one drive from /dev/md0, but I want to get rid of /dev/md0 completely.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

the /dev/md0 have two partitions within (cat /proc/mdstat)
just use 'fdisk /dev/sdX) and change those partition types from (fd  Linux raid autodetect) to (83 linux)
Next, check if /etc/mdadm.conf exists, if so, then remove line concerning md0 array.

After reboot the raid will not be created, and single partitions are ready to use(no reformat needed).
But, before You reboot You have to make sure that grub.conf and fstab are not pointing to /dev/md0 anymore.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cwh02140Author Commented:
The attached file contains output of "cat /proc/mdstat" and "fdisk -l /dev/hda /dev/hdb /dev/md0".
Note that the partition types are already 83.

/boot/grub/menu.lst and /etc/fstab already point to /dev/hda1.
I can't find any file named grub.conf.

Any further ideas?

> I can't find any file named grub.conf.
I missed that it's debian. menu.lst is the same, usually theres symlink grub.conf -> menu.lst (or V-V)

What about /etc/mdadm.conf or /etc/raidtab? Since You have full drives binded into array (not partitions), it should be configured in one of those files.
Forced accept.

EE Admin
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.