LinuxQuestions.org
Visit Jeremy's Blog.
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 02-21-2006, 10:20 AM   #16
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738

The typical installer gives you a choice of where to put grub. mbr on the first drive is always one of the options.
You can also install it from a grub command-line

OR you can install it with dd:
find the stage1 file--typically in /boot/grub
then, do this:
dd if=stage1 of=/dev/hda bs=446 count=1 (replace hda with the correct id of your first drive)
This writes grub stage1 to the first 446 bytes of the first sector---ie the MBR
 
Old 02-21-2006, 10:44 AM   #17
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
I am really confused too.
As I know, you can install grub in MBR but its configuration file is stored in /boot/grub and that directory can be put anywhere on your disk.
 
Old 02-21-2006, 10:50 AM   #18
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Quote:
Originally Posted by pixellany
The typical installer gives you a choice of where to put grub. mbr on the first drive is always one of the options.
I had gone to shots.osdirs.com to find some screenshot about suse installer.
unfortunately, I canot see any steps where SUSE ask us where to install grub.
 
Old 02-21-2006, 11:02 AM   #19
DrEwMoNeY
Member
 
Registered: Jan 2006
Location: Vulcan
Distribution: *buntu - Slackware - Anything on USB
Posts: 254

Rep: Reputation: 30
Its been a while since I installed Suse, so forgive me if I am incorrect. I am fairly sure it puts the boot loader to MBR by default. Of course it might be different from version to version. I installed the open source and evaluation version 10.0, and one of the alpha or beta 10.1s. I am almost sure I just clicked next all the way through one of these installations, and it put the boot loader to MBR by default. I guess the only way to be sure, is run through the installer! Again, sorry if I am incorrect.
 
Old 03-15-2006, 09:02 AM   #20
MultiBooter
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 / SUSE 10.1
Posts: 56

Rep: Reputation: 15
Smile

I have also had a problem with installing SUSE 10.0 with GRUB. With previous versions of SUSE, Mandrake, and Debian I put the Linux Bootloader in /dev/hdb and it worked just fine. I booted into Linux using a boot floppy and used dd to copy the mbr of my second hard drive (/dev/hdb) to a file and then could boot that using XPs boot loader. With SUSE 10.0 that didn't work. When I tried to load the Linux boot loader into /dev/hdb SUSE wouldn't do it properly, and after the first CD installed and Linux rebooted the machine, Linux wouldn't boot, even after I copied /dev/hdb to a file while in XP and attempted to boot from it. I had to run setup in advanced mode and make sure that the boot sector went to /dev/hda before things would work. (I still used dd to make a file, but I am just keeping it in case my boot sector gets corrupted so I can restore it.) I don't know why SUSE 10.0 seems to have a problem with the boot loader being anywhere but /dev/hda, but it wouldn't work for me putting it anywhere else.

My advice would be to partition the hard drive as you described above, but make sure the Boot Loader location is selected to "Master Boot Record of /dev/hda" which is the first bullet in the boot loader section of setup. Please note that the Boot Loader and the /boot Partition aren't exactly the same thing. (e.g. you can put the /boot partition as /dev/hda2 when you do your disk partitioning as you described, but ensure that the boot loader is set to go to /dev/hda.)

Alternatively you could try the third bullet in the Boot Loader setup section, which is Floppy Disk /dev/fd0, as a temporary measure. Then you after you get XP booting from the hard drive and Linux booting from the floppy, you could dd your XP mbr to back it up to a file (See the LQ topic "Learn The DD Command Revised"), and move the Linux MBR to /dev/hda using YaST and see how it works. If it didn't work that way you could still boot off of the floppy and restore your XP boot sector to the mbr using dd. You could also copy the file to your XP boot drive and use the XP loader to boot SUSE.
 
  


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
WINXP SP2 / FC 4 dual boot ieduarte73 Linux - Newbie 3 08-26-2005 02:51 PM
Suse 9.2 Won't Detect Win XP Pro SP2... ram0135 SUSE / openSUSE 2 12-12-2004 11:51 PM
Win XP, SuSE Dual Boot Blunder Sandfury Linux - Newbie 24 09-17-2004 09:43 PM
Suse 9.0 dual boot WIN XP hotone10524 Linux - Newbie 3 03-04-2004 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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