Hello, the problem is definitelly a bug in GRUB installer, which doesn't handle installing GRUB with /boot on MD correctly. I filed a bug into SuSE bugzilla - see bug 48938 if you have access, and assigned to project manager to decide if it should be fixed for SP1. Dne pátek 03 prosinec 2004 14:56 jste napsal(a):
Attached are log files. BTW, these are logs from a good install, which I changed the "(null)" to "(hd0,0)".
Thanks for looking into this, and please let me know if you need anything else.
Regards, Ben
-----Original Message----- From: Jiri Srain [mailto:jsrain@suse.cz] Sent: Friday, December 03, 2004 2:05 AM To: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] Grub and autoyast (getting null for device?)
Hello!
Dne pátek 03 prosinec 2004 00:07 Benjamin Shi napsal(a):
In /usr/share/YaST2/include/bootloader/grub/misc.ycp,
string dev = select ( select ( filter (`l, device_map, ``(l[1]:"" == o_dev)), 0, [] ), 0, "" ); if (dev == "") dev = "(null)"; else if (num != 0 && num != "") { num = num - 1; string number = sformat ("%1", num); dev = substring (dev, 0, size (dev) - 1) + "," + number + ")"; } return dev;
It is setting dev to (null) which almost certainly break grub. Don't know why dev is "" to beging with, but setting it to a more sensible default value, ((hd0,0) maybe?) fix the problem.
Yes, the (null) is incorrect, but the reason is in empty dev (as you wrote).
Could you send me the logs (/var/log/YaST2/*) to examine what is wrong?
-- Regards,
Jiri Srain YaST2 developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: jsrain@suse.cz Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz
-- Regards, Jiri Srain YaST2 developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: jsrain@suse.cz Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz