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?
yes, i tried to install it to hd1,0 too.
2010. 05. 21, péntek keltezéssel 12.43-kor Phil Schaffner ezt írta:
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? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
2010/5/22 Jozsi Vadkan jozsi.avadkan@gmail.com
yes, i tried to install it to hd1,0 too.
do you have /boot on both drives?
Greetings,
On Fri, May 21, 2010 at 9:59 PM, Jozsi Vadkan jozsi.avadkan@gmail.comwrote:
I've got two pendrives.
I dont know about pendrives. But I can relate my experiences with SATA
HDDs.
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