Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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 had install Redhat 7.2 and 7.3 thrill boot with windows 98,
but it's shown only RHL 7.2 and DOS in GRUB boot lodar.(rhl 7.2 boot lodar)
(e.g)
Red Hat linux (2.4.7-10)
root (hd0,8)
kernel /vmlinuz-2.4.7-10 or root=/dev/hda10
initrd /initrd-2.4.7-10.img
DOS
----here it should show some thing like-----
Red Hat linux (2.4.18-3)
root (hd0,5)
kernel /vmlinuz-2.4.18-3 or root=/dev/hda7
initrd /initrd-2.4.18-10.img
I would suggest the first thing to try is to use the bootloader from the newer version of redhat (7.3), as using the old one may not detect the newer version.
Can you post the exact contents of your "grub.conf" file, it should be: /etc/grub.conf
# 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,8)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda
title Red Hat Linux (2.4.18-3)
root (hd0,8)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda10
initrd /initrd-2.4.18-3.img
title DOS
rootnoverify (hd0,0)
chainloader +1
here is setup have done,
1) first installed rhl 7.2
2) second installed rhl 7.3,
in this second installation when creating partition /,/boot and swap it is
showning this error message,
"The following pre-existing partition have been selected to be formated
and destorying all data.
/dev/hda8 swap.(RHL 7.2)"
ques: i need more then one operating system on one system,with different version of Red Hat (like 7.2,7.3)
but when ever i install RHL 7.2 or RHL 7.3 (any one of first), every time it's displaying error message.(metion up)
it asking to format SWAP partition of first OS(either 7.2 or 7.3)
Hi, im just a newbie, so i have a question about your partition-table...
have you got more than one drive?...
If not, and thats to the nerds, how can you have more then one partition in same cylinder arrea ?
*dazzled*
opal
just locked at it again, and thought bevor its sort of
<partition><start cy><end cy> but its even one more
number each line, so i dont understand that parttion table at all,
is that maybe, because i only used very old, very small HDs ?
opal
in my RH7.3 i dont locate a fstab.conf , just a fstab -file
but that just seems to reffer to label-mountpoint- partitiontype,
using "defaults" on about evreything (at the moment)
i dont see how that woüld help you?
Now i try to help, anyone reading this with TRUE understanding-
please do stop me if im wrong!
so when i lock at my partitiontable, with fdisk at prompt
(carefull, its not only to view, but to CHANGE your partition-table)
i see some primary partitions with start-end cylinders one after the other, the third (or fourth) of the primary is an extended partition, that starts next to the end of the one bevor, this extend partition contains several other partions, which, again, follow one on one.
shematic:
hda1 1 - 10
hda2 11 - 21
hda3 21 - 53
extended 54 -100
swap 55 - 60
var 61- 80
and again i have to correct myself - first partition in the extended partition starts with the SAME cylinder then extended, but i think it shoudnt hurt if one wastes space and it starts later.
It is ok to reformat you're swap partition, just make sure you specify that it is the exact same size as before and in the exact same spot. You can share one swap partition with all Linux systems on you're computer.
If you want to choose from all three you need to add a label for all of them, and it appears that you only have RH 7.3 and DOS labelled. So in your grub.conf add the title and info for RH 7.2 eg:
title Red Hat 7.2
root (hd0,8)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda10
initrd /initrd-2.4.18-3.img
but of course change these figures to where 7.2 really is. Save grub.conf, then run as root:
This is how I set up my win 98, RH7.3, SuSE 8.0 box. Someone may find this helpful.
I wanted to use RH's grub as the boot loader. I have 2 drives. /dev/hda is 40 gig with Win98 in the 1st partition (hda1) with 3 other vfat partitions and SuSE on the last. The 2nd hard drive is /dev/hdb with 20 gigs devoted to RH7.3. Both linux distros share /home on /dev/hdb. Could have shared swap, but chose not to. Chose NOT to share /boot - this was a wise choice.
1st install was RH on /dev/hdb. Painless. Grub loaded into mbr of /dev/hda (hd0,0 in grub-speak). I can now boot RH and Win from Grub screen. Used partition magic to create linux partition in last partition of /dev/hda. (SuSE wants to overwrite a linux partition and I needed to give it one besides my RedHat). Loaded SuSE which automatically installed lilo into the mbr of drive1 temporarily killing grub. I can now only boot SuSE or Windows, not RedHat.
Boot into SuSE as root. Create boot, module, and rescue floppies. Loaded the konsole and at the # prompt entered "lilo -u /dev/hda" -no quotes- which uninstalled lilo and returned the mbr to grub booting RedHat and Windows.
I now reboot into RedHat. I have boot disks for Suse if I screw up. I edit fstab so I can mount the SuSe /boot partition from within RedHat. In order to boot SuSE from Grub, I have to copy the kernel and the initrd file from the SuSE boot directory to the RedHat boot directory. Be sure to rename both files so they have different names than the kernel and initrd file that is already in the RedHat folder -before moving them.
Open grub.conf in a text editor. Copy the lines for the RedHat kernel and paste it to the end of the config file. Rename the kernel and the initrd reference to match the SuSE files. Change the root= line to the correct location of the SuSE / .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.