LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-29-2008, 03:34 AM   #1
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
Question Bootloader (Grub) configuration question


hi I have just install Fedora 10. I have 160gig SATA on /dev/sda and 80 gig IDE on /dev/sdb on which fedora is installed. and on 'sda' i have installed XP and Vista. Bootloader for XP and Vista is configured by Vista on 'sda' on its MBR. And Grub has been configured on 'sdb' MBR. I am able to boot from 'sdb' and hence i get GRUB loader screen with Fedora and "Other" OS listed. So selecting "Other" should take me to Vista's Bootloader ie, to the MBR of 'sda'. But its not taking me there. I could see only the cursor blinking. However I could boot directly from 'sda' by changing the settings in the BIOS. but that would be tedious. So can somebody tell me how do i link the Vista's bootloader or MBR of 'sda' to the "Other" listed on the GRUB? Please help me...

My grub.conf info is as follows

# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sdb1
# initrd /boot/initrd-version.img
#boot=/dev/sdb
default=1
timeout=15
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=40703cb0-1635-4c6e-8d6c-f15eda2328fb rhgb quiet
initrd /boot/initrd-2.6.27.5-117.fc10.i686.img
title Microsoft Windows
rootnoverify (hd1,0)
chainloader +1


My FDISK info is as follows

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc69bc69b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3187 25599546 c W95 FAT32 (LBA)
/dev/sda2 3188 19456 130680742+ f W95 Ext'd (LBA)
/dev/sda5 3188 6374 25599546 7 HPFS/NTFS
/dev/sda6 6375 9644 26266243+ b W95 FAT32
/dev/sda7 9645 12914 26266243+ b W95 FAT32
/dev/sda8 12915 16184 26266243+ b W95 FAT32
/dev/sda9 16185 19456 26282308+ b W95 FAT32

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9dd2d54e

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2550 20482843+ 83 Linux
/dev/sdb2 2551 3060 4096575 82 Linux swap / Solaris


Thanks...
 
Old 11-29-2008, 03:40 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I don't know about Vista, but XP likes to think it's on the primary boot device.
It needs something like
Code:
title Windows
    rootnoverify (hd1,0)
    map (hd1) (hd0)
    map (hd0) (hd1)
    makeactive
    chainloader (hd1,0)+1
in grub.
 
Old 11-29-2008, 03:47 AM   #3
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
Thanks for the reply... Can you please explain what that does?

Also i agree that XP is in the first partition of 'sda' but the bootloader on the MBR of 'sda' is Vista's bootloader.
 
Old 11-29-2008, 04:34 AM   #4
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
I don't know about Vista, but XP likes to think it's on the primary boot device.
It needs something like
Code:
title Windows
    rootnoverify (hd1,0)
    map (hd1) (hd0)
    map (hd0) (hd1)
    makeactive
    chainloader (hd1,0)+1
in grub.
Hey it worked... Thanks.. Can you pls explain what happened?
 
Old 11-29-2008, 04:45 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Basically it's telling Windows that we've swapped the drive order after booting, and that it's drive is the primary (swapping dh0 and hd1 effectively).
 
Old 11-29-2008, 11:50 AM   #6
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
And how do i get the verbose boot?? I mean how do i get to know what are the services being loaded during the bootup.. because I could see only the progress bar appearing on the screen. I reomved "quiet" from the being passed to the kernel. But no luck yet...
 
  


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
Question about Suse 10.1 Bootloader (GRUB) entz SUSE / openSUSE 2 03-26-2007 03:40 PM
quick question about grub bootloader & installing another distro Ay-Karamba! Linux - Newbie 12 10-14-2005 10:00 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
GRUB Bootloader Question raevin Linux - General 6 07-17-2004 01:37 PM
grub bootloader : saving a new configuration file? lynnsbomb Mandriva 3 02-03-2004 05:10 PM

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

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