OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 8:17 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Installing Grub on FAT32
PostPosted: Sun Aug 08, 2004 10:39 am 
Hi

Whenever I try to install Grub to the bootsector or a FAT16 partition with the normal stage1 and stage2 it works okay. When I try this with a FAT32 partition is corrupts it. Do I have to use one of the stage 1.5's?

thanks
srg


Top
  
 
 Post subject: Re:Installing Grub on FAT32
PostPosted: Mon Aug 09, 2004 2:01 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
i can't tell for sure, but i'd rather suggest that you install grub on your Master Boot Record rather than on a FAT32 partition. Iirc, grub itself cannot boot DOS or windows. Instead it use a chain-loading technique to execute the MS bootloader (located in the partition boot sector) if it is said so :)

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:Installing Grub on FAT32
PostPosted: Mon Aug 09, 2004 2:14 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7614
Location: Germany
Pype is correct. The stage1 (512 bytes) traditionally goes into the MBR and gets patched with the sector number of the stage2 (several blocks in size), which is "deposited" somewhere in the file system.

The concatenated stage1 / stage2 install is only for to create a boot media (floppy disk) which launches you into the GRUB shell you can actually do the installation from. Writing stage1 and stage2 to a file system has an excellent chance of corrupting the file system if it holds any significant information in the first few blocks.

See the FAQ entry on GRUB for a step-by-step tutorial that guides you through this two-step process.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re:Installing Grub on FAT32
PostPosted: Wed Aug 11, 2004 12:19 pm 
That FAQ has has some heavy changed sice the last time I looked at it.

srg


Top
  
 
 Post subject: Re:Installing Grub on FAT32
PostPosted: Wed Aug 11, 2004 11:50 pm 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7614
Location: Germany
Thanks. *bow* ;D

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher and 220 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group