LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2003, 04:52 PM   #1
assaflavie
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9
Posts: 20

Rep: Reputation: 0
Howto: change boot loader


When I originaly set up RH I set it up to boot from a floppy (I didn't want it to alter the MBR) with Windows as the default.
Now I changed my mind and I want RH's boot loader to take over but still have the option to go into Windows. How is this done? Through the installation disc?
Thanks.
 
Old 07-02-2003, 02:31 AM   #2
KDE4me
Member
 
Registered: Apr 2003
Location: Australia
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90

Rep: Reputation: 15
Boot off the CD's select the upgrade option. Once it checks out that you have nothing to upgrade select install the bootloader(GRUB). W2K should be written on the MBR so GRUB should detect it automatically.
 
Old 07-02-2003, 04:13 AM   #3
assaflavie
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9
Posts: 20

Original Poster
Rep: Reputation: 0
Great. Will try. Thanks.
 
Old 07-02-2003, 05:02 AM   #4
assaflavie
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9
Posts: 20

Original Poster
Rep: Reputation: 0
Well, I tried it.
It does detect Windows XP on the MBR (although it lists it as DOS...), but then when setup finishes it says that no updates to the boot loader were made and indeed nothing changes.
I tried the Update option and I tried the Create New Configuration option but both do nothing. It's like the setup thinks that GRUB is already on the MBR and decides not to do anything else when in fact it's not...
Should I consider using another bootloader or did I miss something?
 
Old 07-02-2003, 05:06 AM   #5
assaflavie
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9
Posts: 20

Original Poster
Rep: Reputation: 0
BTW, I found this help page which warns not to install GRUB on the MBR if running XP.
http://www.geocities.com/epark/linux...w2k-HOWTO.html
Now I'm totally confused.
 
Old 07-02-2003, 09:14 PM   #6
KDE4me
Member
 
Registered: Apr 2003
Location: Australia
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90

Rep: Reputation: 15
Did you create a /boot partition before the first 1024 cylinders? that is vital otherwise your hardware won't be able to install GRUB or if it does get it to work. Presumably you haven't if XP was on your system before. You'll either have to reinstall both OSes or keep booting off the floppy.
 
Old 07-02-2003, 09:17 PM   #7
assaflavie
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9
Posts: 20

Original Poster
Rep: Reputation: 0
wow, that's a shame. Are you positive that no amount of partition magic can fix this situation?
 
Old 07-02-2003, 09:35 PM   #8
assaflavie
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9
Posts: 20

Original Poster
Rep: Reputation: 0
Come to think of it, the size of the HD that has linux is only 3GB! So it can't really be a 1024 cylinder problem, can it?
 
Old 07-03-2003, 06:02 AM   #9
KDE4me
Member
 
Registered: Apr 2003
Location: Australia
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90

Rep: Reputation: 15
How many hard disks have you got in there? If you have two then you can just change the jumper so the Linux disk is the bus master and the other to cable select or slave then you just install the boot loader, I *think* then GRUB can boot off the second HD but don't quote me on that
 
Old 07-03-2003, 06:25 AM   #10
assaflavie
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9
Posts: 20

Original Poster
Rep: Reputation: 0
Actually I'm worried about that configuration. It seems that windows NTLDR only wants to sit on the MBR and doesn't work from a secondary partition.
Is it possible you think to somehow _move_ the NTLDR to the other HD after switching and making it primary?
That, I think, would solve my problem.
I have about 4 MBs (yes mega) of unprationed space on the linux HD, could I partition that space as FAT and let Windows dump it's loader on that?
 
Old 07-03-2003, 07:02 AM   #11
KDE4me
Member
 
Registered: Apr 2003
Location: Australia
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90

Rep: Reputation: 15
Yeah, I suppose you could give that a go but you'd be advised to try the XP upgrade option with the linux drive as master but upgrade over your existing XP installation on slave then try and get GRUB to work (just reinstall the bootloader from RH cd). I believe the first 524bytes is reserved for the MBR so you should be alright, even if the 4mb is at the end cylinder.
 
Old 07-24-2003, 01:08 AM   #12
sashhoney
Member
 
Registered: Jul 2003
Distribution: Red Hat, Fedora, Debian
Posts: 85

Rep: Reputation: 15
Smile

hey
u can change the boot loader by using foll method
first check whether the lba is enabled in the setup
<if not then u have to repartition>

then try to figure out ur partition ids using
#fdisk -l
note down the partitionid for windows, linux boot and root

then run the foll command to modify lilo.conf
#vim /etc/lilo.conf

boot=/dev/hda6 #ur boot partition-id, 6 in my case
map=/boot/map
install=/boot/boot.b
lba32
vga=788
image=/boot/vmlinuz-2.4.7-10 #ur kernel no., this is in my case
label=linux
read-only
root=/dev/hda7 #ur /root partition id, 7 in my case

other=/dev/hda1 # ur windows partition id, 1 in my case
optional
label=Windows

save the changes and then run foll commands
#/sbin/lilo -v
#reboot

ur boot loader willbe changed to lilo

-Sidd
 
Old 08-23-2003, 11:08 AM   #13
scapermoya
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
Uh, The RH bootloader calls it DOS, but it boots to windows, just rename the entry as "Windows" if you care aboue what it says
 
Old 08-23-2003, 02:13 PM   #14
Shantesh
Member
 
Registered: Aug 2003
Location: Mumbai , INDIA
Distribution: Ubuntu 5.10 | Windows XP Professional
Posts: 82

Rep: Reputation: 15
When u boot into linux....go in main menu>>system sumthin >> Kick Start...there insert ur CD 1 of RH....n upgrade ur bootloaders...
 
Old 08-23-2003, 02:14 PM   #15
Shantesh
Member
 
Registered: Aug 2003
Location: Mumbai , INDIA
Distribution: Ubuntu 5.10 | Windows XP Professional
Posts: 82

Rep: Reputation: 15
When u boot into linux....go in main menu>>system settings or system tools >> Kick Start...there insert ur CD 1 of RH....n check da option for installing whichever bootloader u want
 
  


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
Cannot change boot loader the1wraith Fedora 2 10-30-2005 10:52 AM
Howto change boot-up options to launch KDE or gnome? flipwils11 Linux - Software 3 01-13-2005 11:42 AM
Can't change boot loader from GRUB to LILO ikeTightPants Linux - Software 3 05-21-2004 09:30 AM
Change boot loader meeshka Linux - Software 2 09-27-2003 06:42 AM
Howto: remove lilo & put win2k boot loader back? hugodog Linux - General 2 05-10-2002 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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