How to avoid GRUB error 21 when I remove external hard drive
Hi, I have a laptop with Windows XP on the internal hard drive and Fedora Core 6 on an external hard drive. I use the Grub boot loader. It works great as long as the external hard drive is attached.
However, if the external hard drive is not connected then Grub gives Error 21. I understand that this is because Grub was expecting both hard drives to be available. I am looking for a way to allow booting Windows XP, when the external hard drive is not attached.
I tried this:
I booted off my Fedora Core 6 CD and did linux rescue.
I edited grub.conf by commenting out all the lines for booting fedora and all lines referring to (hd1,0) the external hard drive. I then edited device.map to comment out the line for (hd1).
Unfortunately, I would still get Error 21 if the external drive is not attached.
I appreciate any help. Thanks!