LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2003, 10:21 AM   #1
lexx_t
LQ Newbie
 
Registered: Jan 2003
Posts: 1

Rep: Reputation: 0
Grub installation Help


Hi, I'm new to linux and to this forum..

I've just installed RedHat 8, I'm dual booting it with windows xp.
During installation I choose not to install a boot loader, but I made a boot disk.

I tried to make the NTLoader load linux by doing the following:
- copying the linux boot sector to a floppy:
- dd if=/dev/hda2 bs=512 count=1 of=linux_bs.bin
- mcopy linux_bs.bin a:

Copied the linux_bs.bin to the NT directory..
I then added the following line to boot.ini (xp system)
- c:\linux_bs.bin="Red Hat Linux"
and made linux_bs.bin Read Only.

When I rebooted and choose Red hat from the nt loader, it did'nt work. I dont know why, but I assume its because I never installed a linux boot loader at all.

So now I need help on how to install Grub to /boot. I you guys think/know that that wont solve the problem, please give me some other suggestions to my dilemma

The HDD

dev/hda
/dev/hda2 --> /boot
/hda3 --> /
/hda1 --> NTFS (XP)
/dev/hda4 --> Extended
/hda 5 --> SWAP

thanx

Lexx__
 
Old 01-12-2003, 06:33 PM   #2
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
Don't get so quick to bail on what you've done. I've been there several times with NTLDR and they always worked out.

Your dd command is a little different than what I've seen (and used). Probably legit, but let's retry it with the one I know. Actually, I'd recommend trying it twice. You see, the problems I've had with NTLDR were grabbing the wrong disk image. In Mandrake it was / (and I grabbed /boot first) and in Red Hat, it was /boot (and I started with /).

Right about now your telling you screen that you have Red Hat and you grabbed the image from /boot. Again, I want to regrab that. And, just for grins, get a second of your / partition. In Linux, (boot there with a floppy if you have to), mount the floppy drive (on the desktop, right click, select disk, then floppy) and open a terminal window. Type these dd commands:

dd if=/dev/hda2 of=/dev/fd0/linux_bs.bin bs=512 count=1
dd if=/dev/hda3 of=/dev/fd0/linux_bs.opt bs=512 count=1

This should copy both images to your floppy. Now logout and boot up Windows.

Change the attributes of your current c:\linux_bs.bin to allow us to overwrite it. Copy a:\linux_bs.bin to c:\ and see if that fixes it. If it doesn't, copy a:\linux_bs.opt to c:\linux_bs.bin (note the name change) and see if that works.

Get back to us with results.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Win XP installation and Grub AndreiCiprian Linux - Software 11 11-23-2005 08:16 PM
grub installation surejaj Linux - Laptop and Netbook 3 03-24-2005 02:30 AM
grub installation jxn Slackware 2 04-22-2004 05:08 AM
Grub Installation MAsKrA Slackware 6 06-09-2003 05:59 PM
grub installation masand Linux - General 3 05-14-2003 01:35 AM


All times are GMT -5. The time now is 06:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration