Page 1 of 1
GRUB error: unknown filesystem when loading from USB flash d
Posted: Sat Jun 20, 2015 2:45 am
by osdever
May, 31th my HDD was broken, and i'm lost all my OS srcs. But i haved backups, but no compiler is been with me. I'm downloaded i686-elf-gcc, but it doesn't contained C++ compiler. So, i'm started rewriting my OS from scratch. But i'm don't have grub-mkrescue and xorriso. I'm compiled and linked my OS and put os365.bin to ISO file, replacing old file. I'm copied iso file to USB flash drive using dd, but when i booting from USB flash, it shows me that:
Code: Select all
GRUB error: unknown filesystem.
Entering rescue mode...
grub rescue>
Is copying os365.bin to iso file caused that?
Re: GRUB error: unknown filesystem when loading from USB fla
Posted: Sun Jun 21, 2015 4:33 am
by Combuster
An ISO file contains a filesystem that is read-only by design. The same filesystem is also designed exclusively for CDs by design. Therefore, both trying to modify an existing one and trying to put one on something that is not a CD are wrong by default.
You also seem to be incapable of explaining how and why you are trying this, and therefore I can't grant you any exceptions to the above rule. Start from the beginning, drop anything ISO-related, and treat your flash drive as any other harddisk that's (supposed to) have partitions.
Re: GRUB error: unknown filesystem when loading from USB fla
Posted: Sun Jun 21, 2015 12:14 pm
by osdever
OK, thank you. But please give me grub-mkrescue & xorriso binaries (with all libraries) for x86. I can't install them from any packet system, because my internet is very bad (i'm in a village now).
Re: GRUB error: unknown filesystem when loading from USB fla
Posted: Mon Jun 22, 2015 1:15 am
by Combuster
drop anything ISO-related
please give me (...) xorriso
Re: GRUB error: unknown filesystem when loading from USB fla
Posted: Mon Jun 22, 2015 2:02 am
by Octocontrabass
Combuster wrote:
catnikita255 wrote:grub-mkrescue
A hybrid ISO is one situation where putting an ISO-9660 filesystem on a flash drive makes sense.
catnikita255 wrote:I can't install them from any packet system, because my internet is very bad (i'm in a village now).
You can manually download the packages and use your package manager to install them offline. For example, if you are using Ubuntu, you can find the packages you need
here.
Re: GRUB error: unknown filesystem when loading from USB fla
Posted: Mon Jun 22, 2015 5:13 am
by osdever
Combuster wrote:drop anything ISO-related
please give me (...) xorriso
Ok, but is i need to copy all contents of my iso to USB flash drive and just do grub-install /dev/sxx on it?