LinuxQuestions.org
Review your favorite Linux distribution.
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 05-05-2006, 11:25 AM   #1
vlatko
LQ Newbie
 
Registered: May 2006
Posts: 25

Rep: Reputation: 15
Need Help With suse Instalaltion! bootloader question


i have the following disks set up:
wd sata 250gb, 2 partitions, one 40gb with windows and the other 200gb with some stuff and games installed
seagate ide 120gb, the most important disk, contains no os's and only stuff important
seagate ide 20gb, empty, i seleceted this disk to be installed for linux

i am on the installation summary part, bootloader installation. i have selected bootloader grub. the disks in bios are set in the following way:
1. wd sata 250gb with windows
2. seagate ide 120gb with stuff
3. seagate ide 20gb soon to be linux

i have made sure in the bootloader options the hard disks are listed in the correct order.
i am a complete newbie to linux. the installer has predefined the bootloader location to be on the seagate 120gb that has all my most important stuff on. i don't think that is correct...

please help me. where should i install the bootloader? masterboot record of the sata disk where windows are or to the boot sector of of boot partition /dev/hdb2?

PLEASE HELP!

this step seems important to me as i mjust leave my windows drive intact and ready to return to windows if necessary. i don't want to screw them up.
 
Old 05-05-2006, 12:22 PM   #2
vlatko
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
please anyone? i thought this would be a piece of cake question for you guys. i'm really eager to install suse...
 
Old 05-05-2006, 12:22 PM   #3
Freestone
Member
 
Registered: Jan 2003
Location: Brighton, Michigan
Distribution: FC5
Posts: 114

Rep: Reputation: 15
vlatko,

I believe you can install it to the MBR where windows resides. It should recognize another OS thats listed in the existing MBR
and give you the option of making it the default OS, if you want to rename it, etc. If it doesn't give you those options, come back in here
and let us know what it says and we'll figure it out.

I've installed various distros of Linux with an existing version of windows (but by the grace of God, I'm now windows free!) and it always gave me the options that I listed above. If you install it to the MBR on the drive that windows is on, it won't wipe it out---they can live on the MBR together.

Let us know.
 
Old 05-05-2006, 12:25 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
You can install bootloader in the Windows disk or better yet, you can install it on the MBR of the linux disk. Then you can configure your other disc to boot from grub. You would have to change the boot order in Bios and put the Linux disk first. Once you do that, your PC will boot linux disc first, which will have grub or lilo, and then you can boot windows from there.

Advantage of this is that your windows MBR is intact. If in case you mess up something or windows doesn't boot, all you do is change the boot order in bios and put windows disk first.

Tux,
 
Old 05-05-2006, 12:28 PM   #5
vlatko
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
thnx so much for the reply.
in the installer when i click booting it opens the "boot loader settings" and under section managment it has the following:
type Image/device
suse linux 10.0 image /boot/vmlinuz (/dev/hdb2, root=/dev/hdb2)
windows other /dev/sda1
failsafe suse.... image /boot/vmlinuz (/dev/hdb2, root=/dev/hdb2)

all i want is to be able to boot to windows after the installation from grub. then afterwards to be able to remove the third drive with linux and still be able to boot back to windows.
 
Old 05-05-2006, 12:31 PM   #6
vlatko
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tuxrules
You can install bootloader in the Windows disk or better yet, you can install it on the MBR of the linux disk. Then you can configure your other disc to boot from grub. You would have to change the boot order in Bios and put the Linux disk first. Once you do that, your PC will boot linux disc first, which will have grub or lilo, and then you can boot windows from there.

Advantage of this is that your windows MBR is intact. If in case you mess up something or windows doesn't boot, all you do is change the boot order in bios and put windows disk first.

Tux,
this seems like a winner.
so i select "boot loader location" to be "boot sector of boot partition /dev/hdb2? then i change the irder in bios for the linux one to be first? and then grub will start and i will be able too boot bot xp and linux?
 
Old 05-05-2006, 12:40 PM   #7
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Quote:
Originally Posted by vlatko
thnx so much for the reply.
in the installer when i click booting it opens the "boot loader settings" and under section managment it has the following:
type Image/device
suse linux 10.0 image /boot/vmlinuz (/dev/hdb2, root=/dev/hdb2)
windows other /dev/sda1
failsafe suse.... image /boot/vmlinuz (/dev/hdb2, root=/dev/hdb2)

all i want is to be able to boot to windows after the installation from grub. then afterwards to be able to remove the third drive with linux and still be able to boot back to windows.
Suse does an excellent job of installing grub. The main grub configuration file is located in /boot/grub directory and it is called menu.lst (or grub.conf). This is a plain text file which is read to generate selectable menus at boot up. You mentioned third drive above but I don't see a third drive there. I only see that grub is putting out two drives, Linux and Windows. The last one, Failsafe is there to atleast boot your system to Linux if, for some reason, nothing works.

If you have windows installation disk handy, don't worry about screwing up grub. It is easily fixable via windows install disk. You can also use a live-cd to repair your grub file or for any other config problems. Take a plunge...even if you mess up your MBR, it is not going to affect the data.

Tux,
 
Old 05-05-2006, 12:49 PM   #8
vlatko
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
in this link a user had troubles launching windows from grub, he was getting a chainloader error. he fixed it by reinstalling grub on the windows disk.
http://www.suseforums.net/index.php?showtopic=23554

i really don't know where. you tell where and i will do it. i have a xp cd handy and suse install cd, no live cd.

about the third drive, the installer did recognize it but it isn't mentioned in the boot loader settings cause it has only music and movies on, no os whatsoever. the installer recognized my disks as following:
create swap partition /dev/hdb1 (1.0gb)
create root partition /dev/hdb2 (17.6gb) with reiserfs
set mount point of /dev/hda1 to /windows/c this is where my stuff is
set mount point of /dev/sda1 to /windows/d this is where windows is
set mount point of /dev/sda2 to /windows/e this is where programmes and games and other stuff are

Last edited by vlatko; 05-05-2006 at 12:51 PM.
 
Old 05-05-2006, 01:01 PM   #9
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Quote:
Originally Posted by vlatko
in this link a user had troubles launching windows from grub, he was getting a chainloader error. he fixed it by reinstalling grub on the windows disk.
http://www.suseforums.net/index.php?showtopic=23554

i really don't know where. you tell where and i will do it. i have a xp cd handy and suse install cd, no live cd.

about the third drive, the installer did recognize it but it isn't mentioned in the boot loader settings cause it has only music and movies on, no os whatsoever. the installer recognized my disks as following:
create swap partition /dev/hdb1 (1.0gb)
create root partition /dev/hdb2 (17.6gb) with reiserfs
set mount point of /dev/hda1 to /windows/c this is where my stuff is
set mount point of /dev/sda1 to /windows/d this is where windows is
set mount point of /dev/sda2 to /windows/e this is where programmes and games and other stuff are
Here's your solution, you would have to map the drives in grub like this at the link below.

http://www.gnu.org/software/grub/man..._node/map.html

I have done it successfully using that option. I am at work and don't have my grub file handy. But I'll post it for you in the evening. I have three disc, sata with Windows, IDE drive with slackware and IDE drive with Arch Linux, Gentoo and Debian. My slackware drive is hdb2 and windows is sda1. I've installed grub on slackware disk's MBR and i can boot just fine.

Try and add the lines mentioned in that link to the menu.lst (grub config file) at the end of windows section. If you can wait, I'll post my file in the evening. Try it it is not going to hurt it.

If you think this is too overwhelming, you can install grub to windows disk's MBR.

Tux,
 
Old 05-05-2006, 01:13 PM   #10
vlatko
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tuxrules
Here's your solution, you would have to map the drives in grub like this at the link below.

http://www.gnu.org/software/grub/man..._node/map.html

I have done it successfully using that option. I am at work and don't have my grub file handy. But I'll post it for you in the evening. I have three disc, sata with Windows, IDE drive with slackware and IDE drive with Arch Linux, Gentoo and Debian. My slackware drive is hdb2 and windows is sda1. I've installed grub on slackware disk's MBR and i can boot just fine.

Try and add the lines mentioned in that link to the menu.lst (grub config file) at the end of windows section. If you can wait, I'll post my file in the evening. Try it it is not going to hurt it.

If you think this is too overwhelming, you can install grub to windows disk's MBR.

Tux,
i'm not sure i follow you. i am still at the installation, i haven't installed suse yet. can that be done in the installer?
 
Old 05-05-2006, 02:33 PM   #11
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Quote:
Originally Posted by vlatko
i'm not sure i follow you. i am still at the installation, i haven't installed suse yet. can that be done in the installer?
Well, you would have to let Suse install everything and then change the bootloader config file. You would not need the map option until you change the boot order in bios.

Tux,
 
Old 05-05-2006, 02:38 PM   #12
vlatko
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
i have just installed suse with the boot loader set to "boot sector of boot partition /dev/hdb2" end it didn't work. after the installation asks me for a reboot, the grub doesn't start i get the "ntldr is missing, insert system disk and press enter error"!

i have to go to sleepnow. thanks for the help be back tomorrow.
 
Old 05-05-2006, 03:20 PM   #13
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Quote:
Originally Posted by vlatko
i have just installed suse with the boot loader set to "boot sector of boot partition /dev/hdb2" end it didn't work. after the installation asks me for a reboot, the grub doesn't start i get the "ntldr is missing, insert system disk and press enter error"!

i have to go to sleepnow. thanks for the help be back tomorrow.
Well the boot loader should be not be installed to the "boot partition of /dev/hdb2" but on MBR of hdb. Boot partition of /dev/hdb2 and MBR of hdb are two completely different things.

Tux,
 
Old 05-05-2006, 03:40 PM   #14
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
So having read the thread, I presume that you're refering to Windows XP ???

If so, why bother with all this hard work?

Install the SuSE wherever you want it to go, but when the installer gets to the bootloader section, tell it to go to the first section of the MBR on the first hard drive - yes, of course it will overwrite the windows mbr, but that shouldn't be a problem i.e. if it does screw up (unlikely, unless you do some big meddling with the /boot files etc), you can just bung in the windows disc, follow the repair option and do
Code:
fixmbr
Oh, and as real arse covering, if the installer gives you the option, make a boot floppy/CD so if you did have to re-install the windows bootloader, you can still just boot into the SuSE and make any changes/repairs etc.

It saves a lot of effort and over complications!

SuSE is an excellent distro (no always as n00b friendly as it might be, but pretty damn good) - it should (alledgedly) offer you all the necessary options.

Just my worth

Good luck

regards

John
 
Old 05-06-2006, 10:42 AM   #15
vlatko
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
i have succesfully installed suse, bootloader installed on the windows disk. i can boot in both suse and linux. however since the isntallation my xp startup time is a lot longer. i have noticed troubles with my ethernet controller, i use pppoe to connect to the internet. i have to wait about 2 minutes for it to get loaded or whatever and untill that i can't do anything. if i disable my ethernet windows starts up normally. can the suse installation somehow mess that up? cause it's strange i never had such problems before...
 
  


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
Linux Instalaltion with SCSI ron4ld Linux - General 2 09-07-2004 01:37 AM
bootloader question buehler Linux - General 3 06-11-2004 10:20 AM
multiboot instalaltion pbm nedian Linux - General 0 03-10-2004 10:56 AM
BootLoader QUestion Goblin Linux - Newbie 3 08-25-2003 02:55 PM
Bootloader Question h1tman Linux - General 1 07-23-2003 01:01 PM


All times are GMT -5. The time now is 06:43 PM.

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