LinuxQuestions.org
Visit Jeremy's Blog.
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 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: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Boot flag is irrelavant to grub.
 
Old 02-04-2009, 08:16 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
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



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

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

All times are GMT -5. The time now is 03:09 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
Open Source Consulting | Domain Registration