LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   GRUB -> *stage1_5 files --- Which to copy? (http://www.linuxquestions.org/questions/linux-from-scratch-13/grub-%2Astage1_5-files-which-to-copy-375955/)

suma17 10-23-2005 01:07 AM

GRUB -> *stage1_5 files --- Which to copy?
 
Hi there. I am having trouble deciding which stage files to copy across, during my GRUB installation.



I have two partition types on my system:

ext1 - boot partition
ext3 - root partition

From the LFS book:
Quote:

The i386-pc directory contains a number of *stage1_5 files, different ones for different file systems. Review the files available and copy the appropriate ones to the /boot/grub directory. Most users will copy the e2fs_stage1_5 and/or reiserfs_stage1_5 files.
So do I need to just copy the e2fs_stage1_5 file? How come there is no e3fs file?

A friend advised that I copy all files in the directory, but as my goal is to build a minimal system, I only want to do this if there is a definite advantage.


Can anyone make a recommendation? I would also like to know what others have done in this situation.


Many thanks,
suma17

mr_demilord 10-23-2005 03:36 AM

You can also copy the e2fs to the boot directory.

What I heard is that the extended filesystem is backwards compatible with older ones, Most probably e2fs will work on the e1fs directory only it doesn't use the e2fs functions.

For the normal root partition it isn't needed because the kernel has the support for the ext 3 partition.

Those files is only needed for grub.

Hope you understand..

suma17 10-23-2005 04:04 AM

Oh lol I didn't see the typo until you replied.

It's:

Ext2: boot (this is hda1, that's what caused the typo )
Ext3: root


But I think I got the answer to my question anyway:

Quote:

For the normal root partition it isn't needed because the kernel has the support for the ext 3 partition.
So because I am only booting off Ext2, I will copy only e2fs_stage1_5.



Thanks for the help :)

mr_demilord 10-23-2005 05:14 AM

Quote:

Originally posted by suma17
Oh lol I didn't see the typo until you replied.

It's:

Ext2: boot (this is hda1, that's what caused the typo )
Ext3: root


But I think I got the answer to my question anyway:



So because I am only booting off Ext2, I will copy only e2fs_stage1_5.



Thanks for the help :)

Your welcome. :)

saikee 10-23-2005 08:23 AM

An idiot proof method is to ask Linux to find it for you by command

find / -name e2fs_stage1_5 file


All times are GMT -5. The time now is 04:37 AM.