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

Re: migrating Debian GNU/Linux Etch to second SATA drive



Paul Csanyi <csanyipal@gmail.com> writes:

> Paul Csanyi <csanyipal@gmail.com> writes:
>
>> NN_il_Confusionario <pinkof.pallus@tiscalinet.it> 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
>>>         URL:
>>>
>> http://www.google.com/search?num=100&hl=en&ie=ISO-8859-1&q=grub+error+does+not\
>> +have+any+corresponding+BIOS+drive&btnG=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,
and:
grub> root (hd1,0)
grub> setup (hd0)
grub> quit

Success!!

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


Reply to: