OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 3:35 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Filesystem when GRUB is used to create an ISO file
PostPosted: Thu Apr 06, 2017 3:23 pm 
Offline

Joined: Thu Apr 06, 2017 2:59 pm
Posts: 6
I have been using GRUB's mkrescue to create ISO images from my compiled source files. I'm now at the point of developing my OS where I want to move into looking at reading/writing to the hard disk, but I do not know what filesystem is created by GRUB's mkrescue on the ISO image.

To be specific, I am using the command:
Code:
grub-mkrescue -o os.iso sysrooot

Where os.iso is the name of the output ISO file and sysroot is the name of the root directory of my OS.

Any help would be appreciated.


Top
 Profile  
 
 Post subject: Re: Filesystem when GRUB is used to create an ISO file
PostPosted: Thu Apr 06, 2017 5:35 pm 
Offline
Member
Member

Joined: Sat Mar 28, 2015 11:23 am
Posts: 103
I think it uses ISO9660(not sure). Anyway, if you want to read from a hard disk, you can't read from an ISO(they're supposed to be CD-ROMs, not hard drives).

_________________
If some of you people keep insisting on having backwards compatibitity with the stone age, we'll have stone tools forever.
My Hobby OS: https://github.com/heatd/Onyx


Top
 Profile  
 
 Post subject: Re: Filesystem when GRUB is used to create an ISO file
PostPosted: Tue Apr 11, 2017 4:59 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 22, 2014 1:14 pm
Posts: 65
Location: /bin
As heat stated, the ISO file produced by mk-rescue is an image of a CD-ROM. Reading from the hard disk(s) is an entirely different topic. I suggest developing in an emulator/virtualization software, so that you can attach a "virtual" hard disk containing any (or even none) filesystem you want. Then you can start developing your driver.

_________________
"Programming is an art form that fights back."
-Kudzu


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Majestic-12 [Bot], nullpointer and 172 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