Re: migrating Debian GNU/Linux Etch to second SATA drive
Paul Csanyi <email@example.com> writes:
> Paul Csanyi <firstname.lastname@example.org> writes:
>> NN_il_Confusionario <email@example.com> writes:
>>> On Thu, May 08, 2008 at 11:12:30PM +0200, Paul Csanyi wrote:
>>>> Error: /dev/scsi/host1/bus0/target0/lun0/disc does not have any
>>>> corresponding BIOS drive.
>>> is /etc/mtab correct ?
>>> is /boot/grub/device.map (which might be created by grub-install by
>>> reading /etc/mtab) correct ?
>> Yes, it is:
>> nano /etc/mtab
>> /dev/sdb1 / ext3 rw,error=remount-ro 0 0
>>> have you searched google
>>> Linkname: grub error does not have any corresponding BIOS drive\
>>> - Google Search
>> I checked /boot/grub/device.map:
>> (hd0) /dev/sda
>> (hd1) /dev/sdb
>> I edited menu.lst:
>> # kopt=root=/dev/sdb1 ro
>> # groot=(hd1,0)
>> I run grub-install with --recheck option.
>> Still I have no success.
>> I boot the Debian Etch system from the sda, and check the /boot/grub/
>> directory of the Debian Etch system from the sdb. There I find strange
>> situation. The /boot/grub/ directory contain another /boot directory
>> with grub/. I removed this second boot/grub/ directory.
>> This must be the case because when I tried to run grub-install I tried
>> also to reinstall grub with aptitude reinstall grub..
>> I shall reboot to see how it works the grub-install now.
> No success. :(
At last I have success! :D
I don't use grub-install command but run grub on the command line,
grub> root (hd1,0)
grub> setup (hd0)
Regards, Paul Csanyi