LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2006, 06:31 PM   #1
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Rep: Reputation: 31
mbr


i've got 2 hard drives, one windows, and one that i'm gana put linux on as soon as i can get more cds(which may be in a few weeks). i wanted to dual boot from the windows hdd, but when i tried installing grub, i didn't do something right and i can't figure out what. now in order to boot i have to use a grub 0.97 floppy, and type:

root (hd1,0)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
boot

it gets anoying. but i can't get grub installed on here, and i can't fix my mbr. is there some program that i can run and it will install grub on here by itself? or at least something that'll install grub on here fully? right now i'm getting error 22 after it says stage 1.5.
 
Old 12-15-2006, 08:23 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
If I read your post correctly, you have windows on the slave drive (hdb), and nothing on the master drive (yet). You have grub on floppy.

This is what tells me windows is on the slave drive:
Quote:
root (hd1,0)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
boot
The grub erro 22 is what tell me you have nothing installed on the master drive:
Quote:
22 : No such partition
This error is returned if a partition is requested in the device
part of a device- or full file name which isn't on the selected
disk.
The only way to get grub to boot is from the floppy, because grubs files are normally part of the Linux installation, specifically in the /boot directory.

Switch the jumpers on the drives, and make the windows drive master, and the other drive slave. It's possible you have not changed the MBR of that drive, and windows should boot.

When you do install Linux, no need to change the jumpers again. Just install to the empty drive, and write grub to the MBR of the master drive to setup dual boot.
 
Old 12-15-2006, 10:04 PM   #3
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Original Poster
Rep: Reputation: 31
grub is on both drives, but it gives me error 17 on the master drive. I'm assuming it's something to do with my incomplete linux install. I boot from the slave drive just by setting it in the bios.

options i've got to boot from is:

master: linux(incomplete install), with grub(error 17)
slave: windows, with grub(error 22)
floppy: pain in the neck, but i can boot anything from it.
 
  


Reply



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
Restoring MBR :partitions are detected only after the reboot after MBR restoration? sharathksin Linux - Newbie 2 04-14-2006 07:48 AM
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 05:28 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
why won't my mbr fdisk /mbr? jamessp007 Mandriva 13 01-03-2004 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 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