LinuxQuestions.org
Help answer threads with 0 replies.
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 02-04-2009, 12:36 AM   #1
Udhayakrishnan
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Rep: Reputation: 0
Question Grub booting issue....


Hi,

I'm using suse 10 and ubuntu 8.10 in my Laptop. Just before a day, I updated suse which changed the Kernel file names. Now I get file not found in the grub while loading suse. However, when i mention the path (hdd0,2) to Kernel file, it loads without any issue.

Part info:

sda1 - Suse (/,root)
sda2 - Suse (/Home)
sda3 - Suse (/boot) -- *** Boot flag is here***
sda4 - Extended
sda5 - Swap
sda6 - FAT 32
sda7 - Ubuntu (/, root, /boot)
sda8 - Ubuntu (/Home)

The issue is here as follows:

The boot flag is with sda3. But, when the computer starts, it directly goes to sda7 and reads the menu.lst available in sda7 (ubuntu). If I make any changes in the sda7, it reflects in the booting time. but the changes made to the /boot/grub/menu.lst available in sda3 is not working.

Can anybody explain how the grub skips sda3 and moves to sda7 when the boot flag is with sda3...


Regards,
Udhaya Krishnan
 
Old 02-04-2009, 12:41 AM   #2
Undeadzz
LQ Newbie
 
Registered: Apr 2008
Posts: 28

Rep: Reputation: 16
show the config file for menu.lst of the sda3 partition.
 
Old 02-04-2009, 05:35 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,140

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Boot flag is irrelavant to grub.
 
Old 02-04-2009, 08:16 AM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,551

Rep: Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710
I expect that you installed Ubuntu after Opensuse and the Ubuntu Grub installed its stage1 file to the master boot record pointing to the remaining Grub bootloader files on the Ubuntu partition (sda7). As syg00 said, boot flag is irrelevant for Grub.
 
Old 02-04-2009, 01:05 PM   #5
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
If you want Grub to use the menu.lst in your sda3 partition, you have to reinstall Grub to the MBR so that it points to that partition; you can do that with (as root user):
Code:
grub
grub> root (hd0,2)
grub> setup (hd0)
grub> quit
And then Grub will go to sda3 for its boot files on start up.
 
Old 02-04-2009, 11:36 PM   #6
Udhayakrishnan
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Original Poster
Rep: Reputation: 0
You people are exactly right. The boot flag is irrelevant for the grub. I confirmed by moving the complete /boot (sda3) files to another folder and checked. The computer restarted and entered in to ubuntu /boot (sda7). Therefore, I concluded that the changes are in MBR and not in the /sda3 partition.

Thanks for every ones effort in replying. have a great day.
 
  


Reply

Tags
boot, grub


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
Dual Booting (2 Linux from Separate Drives) GRUB issue. RensoreK Linux - Desktop 1 08-22-2008 12:01 AM
booting issue with GRUB threeptxstance Linux - Newbie 3 03-31-2008 02:38 PM
Booting Win2k from Grub SATA issue davnetuk Fedora 2 08-01-2004 08:25 AM
grub booting issue amoulton Linux - Software 5 04-01-2004 06:08 PM
booting issue...error 15 (grub). please help if you can =( bjozsa Linux - General 1 02-17-2004 02:58 PM


All times are GMT -5. The time now is 12:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration