bug-grub
[Top][All Lists]
Advanced

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

Re: installing grub into a file


From: Thierry Laronde
Subject: Re: installing grub into a file
Date: Thu, 10 Apr 2003 20:31:41 +0200
User-agent: Mutt/1.2.5i

On Thu, Apr 10, 2003 at 05:33:03PM +0100, address@hidden wrote:
> Hi,

Hello,

> 
> I would like to install grub into a file rather than a disk.
> I've already created 2 partitions in the file and ext2
> filesystems, and the appropriate grub files are in the /boot/grub dir
> of the first partition.
> 
> I want to install stage 1 to the mbr and 1.5(ext2) to the
> boot sector (I think).
> 
> So question is can I get the grub shell to do it
> (it was giving an error that it couldn't probe the device),
> or should I just dd the appropriate grub bits to the file?
> 
> btw I was able to get lilo installed by doing some fancy
> losetup stuff, but grub should be much easier I think
> since it doesn't need to write block locations.

Use `mkbimage' (MaKe a Bootable IMAGE) to be found here:

http://corpus.polynum.org/admin/mkbimage

This script allows one to create a virtual hd or floppy. 

Cheers
-- 
Thierry Laronde (Alceste) <address@hidden>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C




reply via email to

[Prev in Thread] Current Thread [Next in Thread]