LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 03-19-2007, 01:15 AM   #31
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
grub howto please help


Hello Also

I have succesfully installed all the modules and kernel of lfs-6.2.

When I am on preparation for the grub I am stuck with erros
I am installing lfs on hda5 on hda1 i have windows and on hda7 i am having redhat 9
and hda8 is my swap.
When I apply the comand from the grub menu as
root (hd0,3)
I am getting error
no such device
Then I changed it to root(hd0,6) to specify root to my lfs and again the same error.
please help me how to go through successfully and have my lfs-6.2 boot ready
thanks
 
Old 03-19-2007, 06:53 AM   #32
na5m
Member
 
Registered: Jan 2005
Location: california
Distribution: O.A.M. (Overmonitoring Address Matrix) Release 2.2 with 2120 Patch
Posts: 37

Rep: Reputation: 17
maybe this is what you want

if you don't want to mess with your MBR (and risk not being able to boot into Window$), then simply install grub into your Linux partition's MBR like so:

A) enter the grub shell.
B) type "root (hdx,y)" (without the quotes, of course) and hit enter (replace x and y with the partition that your grub files are installed upon).
C) type "setup (hdm,n)" (without the quotes, of course) and hit enter (replace m and n with the root partition your Linux system).
D) quit the grub shell.
E) type "dd if=/dev/hdhk of=~/linux.bin bs=512 count=1" (without the quotes, of course) and hit enter (replace hk with the root partition of your Linux system). You will now have a 512-kilobyte file in your home directory named "linux.bin".
F) copy "linux.bin" to somewhere where Window$ can read it upon boot (the c: might be a popular choice).
H) edit the Window$ file, "boot.ini", and add a line that says something like <c:\linux.bin="Linux"> (without the braces, of course).
I) reboot and enjoy.
 
  


Reply

Tags
floppy, grub, install, post



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 6.2: made mistake when going from lfs to root setup oldgeek Linux From Scratch 4 11-12-2006 09:00 PM
LFS question - lack of activity in LFS Forum nykey Slackware 4 06-05-2006 05:54 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
cannot login as user 'lfs' [su - lfs] mayasedai Linux From Scratch 2 07-26-2005 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration