LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-25-2006, 03:07 PM   #1
Jiraiya
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Rep: Reputation: 0
Booting Problem


I have two hard drives one is made by western digital and the other is made by seagate. My western digital is a 80GB IDE and my seagate is 250GB Serial ATA 150.I have my western digital HD set up as my Primary slave and my seagate as my fourth master. On my western digital hd I have SUSE installed and on my seagate hd I have FreeBSD 5.4-RELEASE installed.

In the past months i've been trying other distrobution just to see if there are other distro that I would like better than SUSE but in the end I like suse the best.

Before re-installing SUSE 9.3, I did a fresh install on my BSD hard drive and upgraded it to 6.0-RELEASE. When I installed BSD i didn't install any boot manager. FreeBSD 6.0-RELEASE installation went smoothly.

So now I go and install SUSE 9.3 and edited my grub menu so FreeBSD can boot from grub. Install SUSE and everything went smoothly.

My desktop rebooted and while it was going through POST check I took out the SUSE 9.3 disc. After I did this I expected to get a menu that allow me to boot into either SUSE or FreeBSD but instead it rebooted straight into FreeBSD.

I thought something went wrong during SUSE 9.3 so i re-installed again and the same thing happened. So, then I tried booting from the SUSE disc. this time instead of my desktop booting straight into FreeBSD i got a menu that let's me choose to boot to either SUSE or FreeBSD.

So the main problem here is that I have to use the SUSE disc to boot to either SUSE or FreeBSD. If I don't have the disc on my dvd drive, it will just boot straight into FreeBSD. My SUSE 9.3 system works just fine, it's just that I can't boot into it without having to use the CD.

My boot sequence are as follow.

1 - CD-ROM

2. Hard Disk

Here my grub menu.

Quote:
linux:/home/jiraiyai # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sat Jan 21 07:07:53 EST 2006

color white/blue black/light-gray
timeout 8
gfxmenu (hd0,1)/boot/message
default

title SUSE 10.0
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-Jiraiya root=/dev/hdb2 vga=0x317 selinux=0 resume=/dev/hdb1 splash=silent showopts
initrd /boot/initrd-2.6.15-Jiraiya

title FreeBSD 6.0
root (hd1,0,a)
kernel /boot/loader
Changing my boot sequence doesn't make a difference either. Anyone know what going on?
 
Old 01-26-2006, 09:33 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I infer that GRUB was installed during the SUSE install.

What options did the SUSE installer give you as to where to put grub? It needs to be in the boot sector of the first drive (or on a floppy)

You can verify where grub is by doing raw dump of the first sector as follows:
dd if=/dev/hda bs=512 count=1 | hexdump -C >bootsect

This writes a file containing the contents of the first sector on hda. You can compare this to GRUB stage 1--found in /boot/grub (you'll need to read stage1 using hexdump also.)

I had an issue with Ubuntu that was similar--I re-installer and told it to put grub on a floppy. (Too lazy to go back an figure out what the issue was... )
 
Old 01-26-2006, 12:30 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I think pixellany may have got it right by susepecting your MBR isn't Suse's Grub. That will explain why you boot straight into FreeBSD. In other word you may have inadvertently put FreeBSD boot loader into the MBR. The other possible explanation is the MBR has gone to the 250 Disk without you knowing the disk order has been swapped.

The test of the pudding is in the eating so boot back Suse and install its boot loader into the MBR again by
Code:
grub-install /dev/hdb
To test the disk order if (hd0)=hdb you can invokde a Grub shell and use the geometry statement to see the which one is hd0
Code:
grub
geometry (hd0)
geometry (hd1)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when booting...please help sagecss Slackware 5 01-21-2006 08:51 AM
Problem booting XP punx120 General 4 10-04-2005 04:35 AM
booting problem einstien Linux - Hardware 1 07-06-2005 07:20 AM
Booting Problem naveedpta Linux - General 1 11-20-2003 04:48 AM
booting problem Patrick Murphy Linux - Hardware 4 10-17-2002 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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