you should use "setup" in the grub shell, you can use install although
it requires more info:
root (hd0,0)
setup (hd0)
the shell also supports tab completion which may help:
so type
root (
then hit tab to see a list of available options
grub comes with a script grub-install which has a function to convert
device names into grub syntax. you can also use this script to do the
install as the name suggests.
On Mon, Aug 27, 2001 at 02:27:15PM +0300, Yaroslav Popovitch wrote:
> When I tried to install grub under linux(linux shell version of grub).I
> could not do it.
>
> Grub detected my disk.But during installing I got error.
>
> install (hd0,0)/boot/grub/stage1 d (hd0) (hd0,0)/boot/grub/stage2 p
> (hd0,0)/etc/grub.conf
>
> ERROR 22: NO SUCH PARTITION
>
> (when I do the same booting from diskette,it works properly)
>
> grub --version (GNU GRUB 0.5.97)
> (but really it 0.5.98)
>
>
>
> PS. There is another problem not bug:
>
> Is there mechanizm of proper conversion of device name into grub names in
> system with some different controllers and disks.
> (for ex. /dev/ida/c0d0 -> (hd0)).
> We require it for installation.
>
>
> Thanks!
>
> Cheers,YP
>
>
> _______________________________________________
> Bug-grub mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/bug-grub
> _______________________________________________
> Bug-grub mailing list
> [EMAIL PROTECTED]
> http://mail.topic.com.au/cgi-bin/mailman/listinfo/bug-grub
--
Jason Thomas Phone: +61 2 6257 7111
System Administrator - UID 0 Fax: +61 2 6257 7311
tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81
1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/
PGP signature