I've got two pendrives. I want to install a Debian on them. RAID1. Ok... ... After I installed it in RAID1, it works perfectly, ok! :) When I pull out one of the pendrive [good pendrive], it still boots up, hurrah :) But: ... When I pull out the other pendrive [i plug in the first one i tried] it say's: GRUB hard disk error What can I do? I already tried: grub-install /dev/sdc <-that's the pendrive name [bios -> hard drive emulation=hard drive, not auto] or: # grub find /boot/grub/stage1 hd0,0 hd1,0 root (hd0,0) setup (hd0,0) etc. What's the solution? Please help me:\ I can't just dd the first 512 Byte of the "good pendrive", because the uuid is stored there. [needed for the sraid..] It gets to the grub, so it's not a ""boot-order problem"" How can I install grub to these two pendrives, so that if one of the pendrives die, it would still be a bootable system?
Jozsi Vadkan wrote on 05/21/2010 12:29 PM:> I've got two pendrives. > > I want to install a Debian on them. RAID1.This is the CentOS list. ...> I already tried: > grub-install /dev/sdc <-that's the pendrive name [bios -> hard drive > emulation=hard drive, not auto] > > or: > # grub > find /boot/grub/stage1 > hd0,0 > hd1,0 > > root (hd0,0) > setup (hd0,0) > > etc.Does "etc." mean you installed GRUB on (hd1) as well? Did you do that before you started yanking devices?
Greetings, On Fri, May 21, 2010 at 9:59 PM, Jozsi Vadkan <jozsi.avadkan at gmail.com>wrote:> I've got two pendrives. > > I dont know about pendrives. But I can relate my experiences with SATAHDDs.> > When I pull out the other pendrive [i plug in the first one i tried] it > say's: > >Of Course. You didn't install grub in that drive. What I did was after installing OS, I did a grub-install /dev/sdb And things went off fine even after I yanked the /dev/sda cable. YMMV Regards, Rajagopal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100522/56f3bb93/attachment.html>