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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-29-2008, 03:34 AM
|
#1
|
Member
Registered: Apr 2003
Location: india
Posts: 144
Rep:
|
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...
|
|
|
11-29-2008, 03:40 AM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
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.
|
|
|
11-29-2008, 03:47 AM
|
#3
|
Member
Registered: Apr 2003
Location: india
Posts: 144
Original Poster
Rep:
|
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.
|
|
|
11-29-2008, 04:34 AM
|
#4
|
Member
Registered: Apr 2003
Location: india
Posts: 144
Original Poster
Rep:
|
Quote:
Originally Posted by billymayday
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?
|
|
|
11-29-2008, 04:45 AM
|
#5
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
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).
|
|
|
11-29-2008, 11:50 AM
|
#6
|
Member
Registered: Apr 2003
Location: india
Posts: 144
Original Poster
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 04:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|