Creating FAT12 GRUB image from within Windows. [SOLVED]
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Creating FAT12 GRUB image from within Windows. [SOLVED]
How do I create a FAT12 GRUB image from within Windows? I have Cygwin installed, but after I have built GRUB, how do I get it to install to an image rather than to a drive?
Last edited by AndrewAPrice on Wed Oct 03, 2007 2:57 am, edited 2 times in total.
My OS is Perception.
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
I'm trying to build GRUB 0.97 (with VBE GRUB patch). I get the following error trying to run ./config in Cygwin:
I have the latest release if binutils installed.
Code: Select all
configure: error: GRUB requires a working absolute objcopy; upgrade your binutils
My OS is Perception.
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Screw this, I'm just going to boot Linux in an emulator, attach a blank floppy, and compile/install it into my floppy image in the virtual environment.
My OS is Perception.
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
That was a lot easier! I should have given the emulator more memory, because the took less than a few minutes to do, but trying to work my way around with each command causing the system to lock up for a few minutes made that take over an hour.
Anyway, I've now have a FAT12 VBE GRUB 0.97 bootdisk! I noticed it says "0.95" at the top of the menu, but I'm 100% positive this is 0.97. I downloaded the source from GNU's ftp, and I definitely downloaded "grub-0.97.tar.gz" because I can see the file on my desktop right now. The floppy image I installed it onto was freshly formatted too.
Anyway, I've now have a FAT12 VBE GRUB 0.97 bootdisk! I noticed it says "0.95" at the top of the menu, but I'm 100% positive this is 0.97. I downloaded the source from GNU's ftp, and I definitely downloaded "grub-0.97.tar.gz" because I can see the file on my desktop right now. The floppy image I installed it onto was freshly formatted too.
My OS is Perception.
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Man u should check out WinImage ....
Man use Winimage ... You can use the trail version as long as you
want .... The other tool u should check out is Virtual Floppy Drive
for Windows ... (requries winNT or higher)
Last but not the least u should have a real floppy drive ... Then
install grub and make use of partcopy to make the image .....
For my kernel .. I use the image provided in the brans kernel development tuorial and replaced the original kernal.bin with
my kernel .. This way you can avoid a lot of headache ....
Cheers .. Sandeep Mathew ..
want .... The other tool u should check out is Virtual Floppy Drive
for Windows ... (requries winNT or higher)
Last but not the least u should have a real floppy drive ... Then
install grub and make use of partcopy to make the image .....
For my kernel .. I use the image provided in the brans kernel development tuorial and replaced the original kernal.bin with
my kernel .. This way you can avoid a lot of headache ....
Cheers .. Sandeep Mathew ..
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Re: Man u should check out WinImage ....
I use to use Bran's, but it was an old version of GRUB that didn't like the memory position I was loading my kernel into. That's why I built 0.97. Anyway, all's well now .SandeepMathew wrote:For my kernel .. I use the image provided in the brans kernel development tuorial and replaced the original kernal.bin with
my kernel .. This way you can avoid a lot of headache ....
My OS is Perception.