Question about using grub on disk image files (as opposed to discs)

2001-12-18 Thread John P. Looney
I'm trying to use grub to boot a flash image, which I'm making up as a normal file under linux, then creating partitions inside that file with fdisk, dding mkfs'd partitions into that file with offsets, then mounting those partitions, and populating them with an OS. It all works. Except for

Re: Question about using grub on disk image files (as opposed to discs)

2001-12-18 Thread Christoph Plattner
Interesting topic ! I play armound with this, with the further problem to have a cross build from Sparc (Solaris) to i386. One quite simple way is, you create a stage1 + stage1_5 on a device of your choise with an normal (online) install. The dd the MBR+nr_of_blocks of stage1.5 into a file,

Re: Question about using grub on disk image files (as opposed to discs)

2001-12-18 Thread John P. Looney
On Tue, Dec 18, 2001 at 12:32:55PM +0100, Christoph Plattner mentioned: Interesting topic ! I play armound with this, with the further problem to have a cross build from Sparc (Solaris) to i386. One quite simple way is, you create a stage1 + stage1_5 on a device of your choise with an

Re: Question about using grub on disk image files (as opposed to discs)

2001-12-18 Thread John P. Looney
On Tue, Dec 18, 2001 at 12:52:48PM +, John P. Looney mentioned: Looks good. But, on booting a box with this flash chip, I got a grub hard disk error of some description. I think it could be that grub is telling init that the root filesystem is on hd1 (which it no longer is, on the target