LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fedora 6/ xp xp boot automatically (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-6-xp-xp-boot-automatically-521861/)

Nateman 01-22-2007 07:40 PM

fedora 6/ xp xp boot automatically
 
Hey I'm new to linux and I am attempting to place an installation of fedora core 6 linux on my windows pc. I did a fresh windows install on my raid 0 setup. I gave windows the first 8gb in ntfs. I then attempted to make a linux install on top of that and dual boot. I configured the first partition after windows as /boot. I made this partition ext 3 and gave it 100mb. I then took 4096mb and made it a swap drive and configured it as swap. I then configured 33792mb as ext 3 and named it /. I then installed and configured the grub which I installed in the master boot record. I finished installing linux and then rebooted only to find windows popping up to greet me. Have I done something wrong or not done something? Please help. This is killing me, I want my main desktop to be able to boot to a stable operating system for its first time. oh yeah I also read whole thread about booting from two different disks, but this seems to be a fairly different type of install.

Nathan

wahming 01-22-2007 10:00 PM

Seems like grub did not install into the MBR, for whatever reason. I'd recommend just using the Windows bootloader to load Linux. There's plenty of tutorials out there, the gist of it is - boot into Linux using a bootdisk, or use your install cd to access Linux rescue mode. Copy your linux boot sector, "dd if=/dev/hda2 of=/linux.bin bs=512 count=1". hda2 should be your boot partition, change it if necessary. Move linux.bin to your C: directory via a shared FAT partition, a floppy disk, or any other way. You'll need to reboot into Windows to finish the operation. In Windows, edit your C:\boot.ini file. Add the string

C:\linux.bin="Linux"

on a new line. You will need to change your settings to view hidden files and system-protected operating files to edit it. Once it's done, save, reboot and see if it works.

Nateman 01-22-2007 11:03 PM

Thank you so much I'll try it out asap. Really looking forward to getting this handled. everything I seem to find is on fedora core 2. would this be relevant? I'm really kinda confused on what I have to do exactly. very new to linux.

wahming 01-22-2007 11:30 PM

Doesnt really matter what distro you use, bootloaders operate on a far more basic level. The instructions I gave you would work for almost all distros with grub.

Nateman 01-22-2007 11:57 PM

so I could boot into a knoppix live cd and then copy that file over to a floppy or something and place it on my c drive? what is adding a string? I knew this was going to be complicated. Gotta get it done so I have room to install my apps needed for school on my windows partition. seems as if I have linux installed though. Just gotta get it to pop up. looked at a program called grub4dos and wingrub. Still very confused about how to do it. ok getting somewhere with this wingrub. any help would be greatly appreciated. I got it installed. I modified boot.ini and now I need to modify menu.lst so I can boot. Says it needs advanced editing.

wahming 01-23-2007 01:35 AM

You could boot form a livecd, but it's not practical to do that for every startup. I have no experience with other bootloaders besides grub and ntldr, however. Still, best of luck


All times are GMT -5. The time now is 11:29 AM.