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.
I have just added a linux install to my PC but am not sure hot to tell boot.ini to give me an option for dual boot.
Linux boot partition set up on same disk as Windows boots from. Some other partitions are set up on another disk. I set the RedHat option to dual boot with the grub loader but when I boot up, windows just comes straight up.
Not sure where I installed grub - just went through the graphical install screens. When it was time to set grub, the two O/S were listed and I ticked Windows to be default. I cannot recall being asked for a location to install grub.
I have 1 x IDE HDD and 2 x SATA II drives. Windows is on first sata drive - I thought that was where I put /boot but just checked - /boot partition is on disk 0 which is my IDE drive.
I think I'll get more practice and reinstall linux again - this time with /boot on same drive as WinXP is booting from.
Is there more to consider than just installing and going through the wizard?? I have read a few things regarding the boot.ini and the MBR needing adjusting. Is this a must or can I add Linux to my PC without editing these crucial files??
Default install sends grub to mbr. In that case, no editing is required. Windows does grumble about it occasionally, but that's not a big deal. Advanced bootloader options lets you pick MBR or /boot for grub.
If you like, you can try booting into rescue mode with your linux cd. chroot to /mnt/sysimage, then run grub-install /dev/hda (depends on your bios boot order here)
Speaking of bios boot orders - check your bios setup. Which disk are you booting from? (May be different from which disk your Win is on)
During a normal install, GRUB will be installed to the mbr of the drive that the installer believes is #1 This is not the first time I have read of confusion when mixing IDE and SATA drives.
One way that should work is to simply put Linux on the same drive as Windows (with the BIOS set to boot that drive).
If you install GRUB, then you do not need to be concerned about boot.ini---GRUB takes over the mbr and the stage1 Windows code is replaced.
If you still have problems, you can always put GRUB on a floppy. Then you can put it on the mbr later when you have everything else working.
When you turn on the computer, enter the bios setup. Look for an option that lets you choose which hard disk you're checking first, for bootable partitions. Make sure it's the hd with the dualboot setup installed. I suspect grub installed to the MBR of your first sata drive, but bios is using another hd's MBR to boot.
Does GRUB appear at all? What is likely happening is that it can't find its config file---which lives at /boot/grub.
The mbr is the first sector (512 bytes) of the drive. 446bytes boot code (eg grub stage1) 64 bytes partition tables, 2 byte signature.
Quote:
Am I correct to say the master boot record exists on the frst x amount of bytes on the first disk detected at the post stage????
Every drive has an mbr--the one that gets used is based on the BIOS settings--it makes no difference whcih drive the POST detects first.
One thing that might lessen the confusion would be to disconnect the IDE drive. Then, with the BIOS set to boot the Windows drive, the installer should clearly see that as #1.
If you would rather keep the xp ntldr as the boot loader, search these boards. That topic has been discussed before.
If that fails to turn up favourable results in re booting Linux using the xp bootloader, try the Linux help forum at the Micro$oft support website. They should have instructions on the setup.
If you would rather keep the xp ntldr as the boot loader, search these boards. That topic has been discussed before.
If that fails to turn up favourable results in re booting Linux using the xp bootloader, try the Linux help forum at the Micro$oft support website. They should have instructions on the setup.
Tried looking for this, but could only find linux topics by searching on "linux"
One cute thing: When you search on linux it asks you if you meant to say "uninstall linux"
I don't know whether to be happy that MS has Linux stuff on their site....;
I changed the order of hard drives in the BIOS as suggested and hey presto!
On a related issue, the grub option only appears for 2 seconds (or so it seems). Where is the setting to increase the time before default OS is loaded?
Also, (sorry for the laziness of not posting new threads)
creating a boot floppy....
1. Is a rescue floppy the same as a boot floppy in terms of what is on the disk? ie. Does rescue floppy include things that a regular bootable linux floppy does not? - I just want to clarify if the term 'rescue disk' is simply a boot floppy - or a bit more than that.
2. I have read that I can create a boot disk from the first RedHat CD by copying the bootdisk.img file to a floppy. This is not present on the CD and all the image files are greater than 1.4mb. Is RedHat moving away from creating a bootable floppy?? I want to practice booting from a floppy - with network support if possible so I can install Linux from an nfs server. Something I have done from installation CD successfully
How can I create the floppy?? There is a vmlinuz file but I don't know if this creates a boot disk.
Again, thanks for helping with grub.
Oh, and as for Microsoft site pointing to an uninstall... How rude! I would have thought a company as big as that would have some maturity! Personal message to Bill Gates - get over it! embrace linux, it is your friend!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.