[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: root only sound?



On Tue, 2006-03-28 at 07:57 -0700, Craig White wrote:
> just an untested thought...
> 
> bb if=/dev/sda of=/tmp/sda-bootblock.bin bs=512 count=1
> bb if=/dev/sdb of=/tmp/sdb-bootblock.bin bs=512 count=1
> 
> diff /tmp/sda-bootblock.bin /tmp/sdb-bootblock.bin
> 
> Thinking...
> 
> - substitute different values for sda/sdb as fits
> - the first 512 bytes on each drive are the boot (perhaps less,
> someone
> will surely correct me...it might just be the first 256 or 384 bytes)
> - if they are the same (i.e. grub has been installed on both), there
> will be no diff
> 
> otherwise...
> 
> grub-install /dev/sdb
> 
> Of course, the only way that you'll ever KNOW for sure that it's going
> to work is to do a real simulation, i.e. disconnecting one drive, then
> the other drive...
----
oops - reply to wrong thread...I am really losing it.

sorry for the noise

Craig


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]