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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have just installed Fedora Core1 to my laptop Sony PCG-FX701.
Fedora works great, but will only work when booting from boot floppy.
Using Grub, "first sector of the boot partition" chosen on installation
for Grub and not the MBR so as not to overwrite the WinXP MBR.
WinXP loads each time and doesn't even look at Linux
Detailed below are the disk details and grub.conf.Looked around
the WWW for info on this one, main problem seems to be that WinXP
doesn't load, mine is the other way around, can anyone help me out?
Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1828 14683378+ 7 HPFS/NTFS
/dev/hda2 1829 2431 4843597+ f Win95 Ext'd (LBA)
/dev/hda5 1829 1841 104391 83 Linux
/dev/hda6 1842 2366 4217031 83 Linux
/dev/hda7 2367 2431 522081 82 Linux swap
grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
title Fedora Core (2.4.22-1.2115.nptl)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb
Or alternatively you can extract grub bootsector then use nt os loader to load it
boot into linux, su then do:
dd if=/dev/hda5 of=fedora.bin bs=512 count=1
copy fedora.bin to a floppy(gotta be FAT so windows can read it)
boot back in winxp, cop fedora.bin to your c:\ then add this to your c:\boot.ini(its hidden by default)
Most RH related documentation I have read so far has stated that
when dual booting with NT, 2000 or XP with Linux that the NT
Boot partition will be overwritten if you do not Configure
the 'advanced bootloader options' in doing so it confirms that
you should 'select the first sector of the Boot partition option'.
Your Windows Boot configuration will continue to operate as before.
Well it did, it missed out Linux and booted XP. When dual booting
W9x and Linux I understand that you install the boot loader in the
MBR. I had assumed that XP would be different to W9x.
Am I right in thinking that the only case you would install the
Grub boot loader on the first sector of the Linux boot partition
is when you are running a single Linux distro only.
If you're running a single linux distro then you should install lilo/grub in the MBR, unless you already have a MBR which boots the bootable partition(for example the standard MBR thats installed during windows(any version) installation). That said in your case you actually could've toggled your /boot partition bootable(active) and it'll boot linux instead of windows.
AFAIK Redhat does not offer an option to install such MBR(Debian does) when you choose to install lilo/grub into the partition bootsector. If you have GRUB/LILO in your MBR then the bootable flag is irrelevent, because GRUB/LILO can boot load them regardless(Except for some operating systems which expects its partition to have the bootable flag, in that case GRUB/LILO can toggle them on the fly)
I'm not exactly sure why the documentation suggests to install the bootloader into the partition bootsector when you're dual booting, does it mention anything about toggling your /boot partition active?