DualBoot RedHat9 and RedHat 7.3 How to?
Hi
I have one IDE hard disk (160GB) .so I installed RedHat 7.3 on the first partition and then installed Redhat 9 on the other partition ... but unfortunatly the Grub only shows Radhat 9 partition .. so how can I adjust GRUB so I can boot either RH9 or RH7.3. with all thanx |
checkout this grub manual, it will help you a bunch.
http://www.gnu.org/software/grub/manual/grub.html umm... so, simply put, you need to modify your menu.lst - adding another item that points to RH7.3 post back if you have trouble. titanium_geek EDIT: grub is wierd in this regard: it doesn't name the harddrives the way linux does. Therefore, hda1 is hd0, 0 and hda2 is hd0, 1 |
Read about editing grub.conf in the manual. It will be useful here.
|
not working :(
Hi
this is me again ... I read the Grub manual .. I tried to fix some things and here is my grub that does not work :( # 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 #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,4)/grub/splash.xpm.gz title Red Hat Linux (2.4.20-8smp) root (hd0,4) kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/1 hdc=ide-scsi initrd /initrd-2.4.20-8smp.img title Red Hat Linux-up (2.4.20-8) root (hd0,4) kernel /vmlinuz-2.4.20-8 ro root=LABEL=/1 hdc=ide-scsi initrd /initrd-2.4.20-8.img #this bit I have added but it does not seem working :( title Red Hat Linux 7.3 root (hd0,1) kernal /vmlinuz ro root=LABEL=/1 hdc=ide-scsi # and this is my fdisk -l Disk /dev/hda: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 6 48163+ 83 Linux /dev/hda2 7 8929 71673997+ 83 Linux /dev/hda3 8930 9059 1044225 82 Linux swap /dev/hda4 9060 19929 87313275 f Win95 Ext'd (LBA) /dev/hda5 9060 9072 104391 83 Linux /dev/hda6 9073 19799 86164596 83 Linux /dev/hda7 19800 19929 1044193+ 82 Linux swap # and this is my df -h Filesystem Size Used Avail Use% Mounted on /dev/hda6 81G 1.8G 76G 3% / /dev/hda5 99M 15M 80M 16% /boot none 251M 0 251M 0% /dev/shm ...So any help pleeeeeeeeeeeeeeeeeese .. Thanx :confused: |
Code:
title Red Hat Linux 7.3 Tux, |
my suggestion would be to remove that stuff you added to the grub.conf and mess with the menu.lst . The menu is what you are going to see.
Code:
##Grub menu conf! titanium_geek |
Hi titanium_geek
now it doesn't work .. I am STUCK :( HELLLLLLLLLLLLLLLLLLLLLLLLLLLP:eek: |
Ok, deep breath, tell us what you have done so far.
as a side note- why are you running such old distros? titanium_geek |
Hi
I managed to overcome Grub disapper as follows: When the grub menu appeard I pressed 'c' then I got the grub command prompt grub> I typed the following grub>root (hd0,0) grub> setup (hd0) then it says sucess ..and I reboot the system RH 7.3 now is the active OS but no more RH9 .... So back to the drawing board .. how can I setup GRUB?? Thanks |
as aside note -- I need the old distbo for a project of mine :)
|
Hope this helps
Code:
title Red Hat Linux (2.4.20-8smp) Code:
|
Hi
unfortunatly the Grub for RH9 is not accessibale anymore ... I have the Grub for RH7.3 which is as follows: # 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,0) # kernel /vmlinuz-version ro root=/dev/hda2 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux 7 root (hd0,0) kernel /vmlinuz-2.4.18-3smp ro root=/dev/hda2 hdc=ide-scsi title Red Hat Linux 9 root (hd0,4) kernel /vmlinuz ro root=/dev/hda2 hdc=ide-scsi notice that I tried to change redhat 9 boot to root (hd0,4) but while booting it says something about initrd and memory I realy don't remmber the error... so any suggestions thanx |
Quote:
Quote:
Edit: obviously, you are not suppose to include "-------> initrd image" in the config file...its just a pointer :D Tux, |
Cooool :cool:
the following tweak has really worked ...But how could it ..any explination for what happinging? # 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,0) # kernel /vmlinuz-version ro root=/dev/hda2 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux 7 root (hd0,0) kernel /vmlinuz-2.4.18-3smp ro root=/dev/hda2 hdc=ide-scsi title Red Hat Linux 9 root (hd0,4) kernel /vmlinuz-2.4.20-8 ro root=LABEL=/1 hdc=ide-scsi initrd /initrd-2.4.20-8.img -------------------------------- I mean how does Grub found vmlinuz-2.4.20-8 and the img file ... I am sure I have mounted RH9 parition inside RH7.3 but I didnt' found them .. I search for them in the /boot but without any hope ... so How come it can now load RH9 while there is no img nor vmlinuz files realy exists ...so any expliantion to the GRub file please.. Thanks all for ur fruitfull contrbitions :) |
Here's a tutorial for you. That can clear up some air.
|
All times are GMT -5. The time now is 05:39 PM. |