ext2 boot loader? oO

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
skwee
Member
Member
Posts: 73
Joined: Mon Jan 12, 2009 3:11 am

ext2 boot loader? oO

Post by skwee »

Hey all!
I have few questions and first one will be: Can I use EXT2 file system either in my OS or in boot loader without getting some license or something? (I couldn't find the license its released under this why I ask).
Now I want to use ext2 as my main FS for bootloader and OS (at least for now, maybe Ill invent something better/easier later). I do have a basic kernel and bootloader however my boot loader is hard coded and uses sectors to load stage 2 and kernel (I mean if stage 2 becomes bigger than it now I will need to change the bootloader and recompile it). So I decided to use FS. I did saw a tutorial with using FAT12 as main FS but I don't like fat and I use Linux as my development machine so I prefer some native FS, so I picked EXT2 (not enough info on ext1, and don't need journaling of ext3 yet). However the net is lack of boot loaders written with ext2 (except of GRUB maybe, but its too massive that it will take me weeks to understand it), so I ask you you help! I need some tutorial, or point to start with, so I could develop my bootloader with ext2.
Thanks a lot!
TCP/IP: Connecting people...
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: ext2 boot loader? oO

Post by JohnnyTheDon »

Can I use EXT2 file system either in my OS or in boot loader without getting some license or something?
AFAIK yes. I can't imagine Linux using a closed file system by default.
However the net is lack of boot loaders written with ext2 (except of GRUB maybe, but its too massive that it will take me weeks to understand it), so I ask you you help! I need some tutorial, or point to start with, so I could develop my bootloader with ext2.
http://www.nondot.org/sabre/os/articles/FileSystems/

A couple of articles on ext2 there.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: ext2 boot loader? oO

Post by JamesM »

Look at the ext2 specification - that's where I developed my code from.
User avatar
skwee
Member
Member
Posts: 73
Joined: Mon Jan 12, 2009 3:11 am

Re: ext2 boot loader? oO

Post by skwee »

Well I decided to use grub, since at least for now I want to concentrate on kernel and not bootloader.
But thanks for ext2 specification, Ill need it when Ill want to implant FS on my OS :)
TCP/IP: Connecting people...
Post Reply