LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-22-2007, 12:46 PM   #1
willrs2
Member
 
Registered: Jul 2007
Location: USA!!!
Distribution: Backtrack 2
Posts: 40

Rep: Reputation: 15
Dual-boot not working


I have installed Backtrack 2 on a partition on my harddrive. I had vista installed a while ago, and I decided I wanted Backtrack. So I installed Backtrack and went to boot up, and it just went directly to vista. How can I use Lilo to manage my boot options?
 
Old 11-22-2007, 01:41 PM   #2
ajaygautam
LQ Newbie
 
Registered: Aug 2007
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by willrs2 View Post
How can I use Lilo to manage my boot options?
You could setup a /etc/lilo.conf to do what you want, but I would highly recommend that you use grub. Almost everyone else has moved to grub.

man grub

Ajay
 
Old 11-22-2007, 02:00 PM   #3
manwyddan
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
dual boot problems

I've recently installed fedora core 8 on a separate hard disk in my windows xp machine. Stupidly, I installed the boot loader on the MBR which is great for loading into linux, but I've lost the ability to log onto XP Is there any way of instructing the boot loader (presumably grub) to give me the option of booting into XP or do I have to 'repair' XP and then re-install Fedora?

Help and a fix would be much appreciated

thanks
manwydan
 
Old 11-23-2007, 06:53 AM   #4
away
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Rep: Reputation: 0
Don`t reinstall it`s a great thing

GRUB is well able to boot xp. you have just to write in /etc/grub.conf where you windows partition is. run fdisk -l if you dont know the partition number (note that fdisk starts numbering at 1, while grub starts at 0, that is hda1 in fdisk output will be hd0,0 in GRUB). then you must edit grub.conf. for example, here`s my grub.conf

default=1
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title RHEL5
root (hd0,5)
kernel /boot/vmlinuz-2.6.18-8.el5 ro root=LABEL=rhel rhgb quiet
initrd /boot/initrd-2.6.18-8.el5.img
title fedora
root (hd0,6)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title windows
rootnoverify (hd0,0)
chainloader +1

the first stanza boots RHEL5, second one fedora, and tha last stanza refers to windows
the line default=1 refers which OS will be booted by default (here it will be 2 stanza, or fedora)
timeout=5 line means you have 5 seconds to press a key in order to select a desirable OS other than which is launched by default
 
Old 11-23-2007, 07:16 AM   #5
willrs2
Member
 
Registered: Jul 2007
Location: USA!!!
Distribution: Backtrack 2
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ajaygautam View Post
You could setup a /etc/lilo.conf to do what you want, but I would highly recommend that you use grub. Almost everyone else has moved to grub.

man grub

Ajay
I was going to use grub, I just said Lilo for some reason...

The problem is that I cannot boot onto linux. I can boot onto the live cd, though.

P.S. I case you didn't notice, I'm somewhat of a noob.
 
Old 11-24-2007, 11:50 AM   #6
ajaygautam
LQ Newbie
 
Registered: Aug 2007
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by willrs2 View Post
I was going to use grub, I just said Lilo for some reason...

The problem is that I cannot boot onto linux. I can boot onto the live cd, though.

P.S. I case you didn't notice, I'm somewhat of a noob.
Here are the rough steps that you would follow:

boot using the boot cd
mount your linux partition
create a grub conf file (as away said)
install grub on your boot loader
reboot.

Grub's website has excellent documentation and step by step processes. That should be helpful to you, give your noob-ie status.
 
Old 11-26-2007, 11:42 AM   #7
manwyddan
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Dual-boot now working :)

Thanks for the posts - I'd forgotten about grub.conf - found it, extended the delay to 10 seconds, set the default to XP and all is well. It would seem that it had been dual booting all along, but fedora had set the default to itself (unsurprisingly) and the option to access XP only appeared if you hit a key during the boot process. c'est la vie.
 
Old 11-26-2007, 02:39 PM   #8
willrs2
Member
 
Registered: Jul 2007
Location: USA!!!
Distribution: Backtrack 2
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ajaygautam View Post
Here are the rough steps that you would follow:

boot using the boot cd
mount your linux partition
create a grub conf file (as away said)
install grub on your boot loader
reboot.

Grub's website has excellent documentation and step by step processes. That should be helpful to you, give your noob-ie status.
How do I install grub on my boot loader?
 
Old 11-28-2007, 06:24 PM   #9
ajaygautam
LQ Newbie
 
Registered: Aug 2007
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by willrs2 View Post
How do I install grub on my boot loader?
That is very dependent on your specific configuration.
I would highly recommend the Grub manual: http://www.gnu.org/software/grub/manual/grub.html

Or go through your distribution specific documentation.

Ajay
 
Old 11-29-2007, 05:43 PM   #10
willrs2
Member
 
Registered: Jul 2007
Location: USA!!!
Distribution: Backtrack 2
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks ajaygautam

I'll check it out.
 
  


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
Cant get dual boot working... please help trancekid Fedora 8 06-25-2006 10:10 AM
Dual boot option not working Perquisitor Linux - General 1 04-13-2006 03:51 PM
Dual boot setup not working 357mag Fedora 18 09-23-2005 07:52 AM
Trying to dual boot, Windows isn't working. SonicGT Linux - Software 2 10-18-2004 02:45 PM
grub/dual boot not working? pcdebb Fedora 6 12-03-2003 11:17 AM


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