Linux - NewbieThis 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
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.
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.
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.
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90
Rep:
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.
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?
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90
Rep:
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.
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90
Rep:
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
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?
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90
Rep:
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.
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
Distribution: Ubuntu 5.10 | Windows XP Professional
Posts: 82
Rep:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.