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 just found this forum....looks absolutely great.
The problem I have is this. I just installed RH 8.0. Also have XP installed (which I'm not totally impressed with btw). I thought I installed GRUB and now when I start the box it goes directly into XP. Now, when I run GRUB from a terminal, and try to configure it, it tells me that I haven't installed a boot partition. Now I am new and before someone rips on me, let me admit I know nothing!!! So, if someone can steer me in the right direction, I'd appreciate it and a very large mug of beer goes to you! I know I can just re-install RH, but I'd rather learn something here.
first of wall a can give you some hints about lilo not grub(i don't like it)
so, let's say you have installed XP and you want to install RH as the second system.
what is the size of harddisk?
if the harddisk is bigger (`20G let's say ) you must creat the root partition (/)
before 1024 cylinder or create only /boot partition (50M) the same before
1024 cylinder
you must remember /dev/hdax partitions that you have created to set up the
the boot manager (lilo) and the /dev/hday where resides XP
You really don't need the /boot partition, since grub never need it to run (if you install the stage1 in the MBR) and newer versions of lilo don't need it too. It was necessary because the loader can't reach cyclinders above the 1024, like barbanero just said..
If you have access to your system with a boot disk, you can reinstall your bootloader, but before install hin it's a good idea to clean then first:
# dd if=/dev/zero of=/dev/hdx bs=512 count=1
With Grub you must to know the number of the partition that the data is, the first number is the number of the hd ( primary master -> 0 ), and the second is the number of the partition. Ex: hda1 => hd0,0; hdb2 => hd1,1
Both grub and lilo support having the /boot partition beyond the 1024 cylinder. You just have to turn on that option. Grub has this feature built in. Lilo requires the option. Check the lilo man page...
But then again, like vladkrack said, you do not even need the boot partition...
also note, if your going to create a patition use partition majic, do not use the fdisk that is on the win boot disk, (took me ahwile to fig that one out)
hang on, this might solve all my problems... I have RH8 and installed grub to mbr - does this mean I can just delete my /boot partition and everything will still be OK?
Only the stage1 it's in the MBR, then it points to stage2, that its's in disk. You can clean the MBR without the DOS bootdisk, using the dd like I posted earlier.
You can remove that partition, but first you will need the data, try to mount your /boot partition elsewhere:
You will have to remove from /etc/fstab the line that mounts the partition /boot, edit your /boot/grub/menu.lst in order to reflect your actual situation in partition scheme, then reinstall grub to make it work properly with the lines that I posted earlier too.
mechatron, there are three ways to set up your dual boot system. Here is a simple tech sheet from Red Hat that explains each and how to make them work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.