[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Fri, 28 Mar 2008 14:40:05 +0100
- From: kgardas at objectsecurity.com (Karel Gardas)
- Subject: Grub QEMU
I think script is over complicated. IIRC few years ago while I've been
running RTEMS in Qemu I've used Linux grub installation tool to just put
Grub on floppy and then I've modified Grub menu manually before booting.
Now I see Solaris (my current OS) and Linux's Grub installation tools
differ a bit (so I'm not able to test it now), but anyway:
might help. What does it do if you supply just:
mount /dev/fd0 /floppy
grub-install --root-directory /floppy
as a root? Assuming your /dev/fd0 holds FAT formated floppy and your
Linux distro is also using Grub for booting. If I understand it well
this should create Grub boot floppy with your current Grub config, i.e.
suitable for rescue floppy if you override your disk masterboot record.
Joel Sherrill wrote:
> I don't think the script in the Wiki is from me.
> Besides I failed last time I tried to make a new
> grub boot floppy. :(
> Can someone give him a hand?
> surajkamal at quarkcybernetics.com wrote:
>> Hello Joel,
>> I am Suraj Kamal from Quark Cybernetics
>> and am trying to do some projects with RTEMS.
>> Also I am very new to RTEMS and Linux.
>> I just manged to install RTEMS binaries and
>> cross development tool set for PC386.
>> And 'make' "Hello World" example with success.
>> I have installed GRUB version 1.96.
>> My host PC is running on Fedora core 8 on x86_64 platform.
>> I have tried shell script for making a floppy image
>> provided by you, in the Wiki pages.
>> But it kicked out some errors....
>> cp: cannot stat `/tmp/g2/build/lib/grub/i386-pc/boot.img': No such
>> file or direc tory
>> cp: cannot stat `core.img': No such file or directory
>> cp: cannot stat `/tmp/g2/build/lib/grub/i386-pc/*.mod': No such file
>> or director y
>> everything else are ok,
>> I tried booting QEMU, but resulted in a screen
>> "Booting from hard disk...."
>> and no response after....
>> Could you please help me to get around the problem?
>> Suraj Kamal
>> Quark Cybernetics
Karel Gardas kgardas at objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
- Grub QEMU
- From: joel.sherrill at OARcorp.com (Joel Sherrill)