LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 10-23-2005, 01:07 AM   #1
suma17
LQ Newbie
 
Registered: Oct 2005
Location: canberra, australia
Posts: 9

Rep: Reputation: 0
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
 
Old 10-23-2005, 03:36 AM   #2
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
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..

Last edited by mr_demilord; 10-23-2005 at 03:38 AM.
 
Old 10-23-2005, 04:04 AM   #3
suma17
LQ Newbie
 
Registered: Oct 2005
Location: canberra, australia
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 10-23-2005, 05:14 AM   #4
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
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.
 
Old 10-23-2005, 08:23 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
An idiot proof method is to ask Linux to find it for you by command

find / -name e2fs_stage1_5 file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Copy To The Boot/grub Directory Norab Linux - Software 3 08-27-2005 11:18 AM
How to copy grub onto floppy caesium5 Suse/Novell 2 08-24-2005 07:22 PM
dualboot grub chainloading copy and paste no success amarillo Linux - Distributions 4 02-23-2005 08:52 PM
how to copy and paste between files and within files Bheki Linux - General 1 02-05-2002 05:29 AM
Why can't I copy files? rdaves@earthlink.net Linux - General 1 05-28-2001 10:27 PM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration