|
From: | P |
Subject: | Re: impossible to install off-system ? |
Date: | Fri, 23 May 2003 16:15:35 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210 |
Oskar Schirmer wrote:
Hello, we are developing an embedded system, trying to use grub. the system has no floppy, no hd, but a compact flash as main storage. this compact flash is available as IDE0 slave device (/dev/hdb for linux). Now, to get the system onto the flash, we stick it into a "dazzle*" flash reader/writer, which comes up as first scsi device (/dev/sda for linux), do the fdisk/mke2fs/tar sequence and then try to install grub 0.93 onto it, while chroot'd into the target subtree: address@hidden:/ # grub-install /dev/sda which fails, it sais: /dev/sda does not have any corresponding BIOS drive.
you could set your device map, but how I did it was to just install the whole os + grub into an ordinary file. just losetup file /dev/loop0 initially and use /dev/loop0 instead of /dev/sda This is very flexible as I was able to install the file onto compact flash embedded systems and also straight onto a dell poweredge (scsi) system. Pádraig.
[Prev in Thread] | Current Thread | [Next in Thread] |