Dear Friends,
I tried out the EduMorphix live CD and after that I installed it in my HDD as it is a Debian GNU distro and I want to try it out. Everything went OK but for safety, I did not install the LILO and planned to setup dual boot in the RHEL grub loader. I even visited the site for instructions on dual booting multiple linux distris. Below is the details of my system. As per the site's instructions, I copied 3 files from /boot of debian to /boot of RHEL. There is no initrd-xxxx.img file though.
These are the 3 files in /boot of the debian in /dev/hda12 config-2.4.25-lck1 vmlinuz ....This is an executable file vmlinuz-2.4.25-lck1
This is my grub.conf in RHEL in /dev/hda8
# 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,7) # kernel /vmlinuz-version ro root=/dev/hda9 # initrd /initrd-version.img #boot=/dev/hda default=1 timeout=10 splashimage=(hd0,7)/grub/splash.xpm.gz title Red Hat Enterprise Linux WS (2.4.21-4.EL) root (hd0,7) kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/ hdc=ide-scsi initrd /initrd-2.4.21-4.EL.img title EduMorphix GNU Debian .....This I added root (hd0,11) kernel /vmlinuz-2.4.25-lck1 ro root=LABEL=/ title DOS rootnoverify (hd0,0) chainloader +1
Still I get an error of file not found and no booting takes place. I would like to know, my RHEL's /boot is on /dev/hda8 but it is shown as hd0,7 not hd0,8 in grub.conf. My Debian is on /dev/hda12 (from fdisk), so using the same analogy, I made (hd0,11) but it detects it as an 82 partition and cannot mount it. I don't have any ext2 partitions in my system. Whats going on? All tips and tricks welcome.
Thanks and Regards,
Rony.
Sometime on Thu, Mar 10, 2005 at 12:59:53AM +0530, Rony Bill said:
Dear Friends,
I tried out the EduMorphix live CD and after that I installed it in my HDD as it is a Debian GNU distro and I want to try it out. Everything went OK but for safety, I did not install the LILO and planned to setup dual boot in the RHEL grub loader. I even visited the site for instructions on dual booting multiple linux distris. Below is the details of my system. As per the site's instructions, I copied 3 files from /boot of debian to /boot of RHEL. There is no initrd-xxxx.img file though.
No need to copy files anywhere. Just install EduMorphix's LILO bootloader on the root partition and add the following entry to RHEL's grub. This will point to Morphix's LILO and it will take over from there.
## new grub entry title Debian GNU/Linux (with lilo) root (hd1,12) savedefault chainloader +1 ## entry ends
These are the 3 files in /boot of the debian in /dev/hda12 config-2.4.25-lck1 vmlinuz ....This is an executable file
^^^^^ No its not. It is a symlink.
Anurag
Anurag wrote:
No need to copy files anywhere. Just install EduMorphix's LILO bootloader on the root partition and add the following entry to RHEL's grub. This will point to Morphix's LILO and it will take over from there.
## new grub entry title Debian GNU/Linux (with lilo) root (hd1,12) savedefault chainloader +1 ## entry ends
Thanks for the help but unfortunately it is still not detecting the lilo partition. I tried (hd0,12) and (hd0,11) too but still not result. I have done a clean install of RedHat and the Edumorphix but no result still. I also find that this Debian linux is more like a toy than a serious os. Anyway my hdd partition for the lilo in fdisk is /dev/hda12. Any other ideas?
Regards,
Rony.
On Fri, 2005-03-11 at 17:52, Rony Bill wrote:
Thanks for the help but unfortunately it is still not detecting the lilo partition. I tried (hd0,12) and (hd0,11) too but still not result. I have done a clean install of RedHat and the Edumorphix but no result still. I also find that this Debian linux is more like a toy than a serious os. Anyway my hdd partition for the lilo in fdisk is /dev/hda12. Any other ideas?
(hd0,12) under grub means /dev/hda13 (grub starts in numbering from 0)
your options: 1. try using the grub command line. and see what " root (hd0,11) " shows up. If it detects the FS it will print out a useful msg.
2. what FS is this hdd partition, grub detects ext2, reiserfs... not sure of any of the other ones..
3. perhaps the stage2 files of grub are corrupt?
4. ok.. this is a novice mistake, but sometimes common. are you editing the right conf file ? the easiest way to figure this out,is to try booting your sys from the grub command line you get at the boot prompt. (see point 1)
Erle
Sometime on Fri, Mar 11, 2005 at 05:52:57PM +0530, Rony Bill said:
Thanks for the help but unfortunately it is still not detecting the lilo partition. I tried (hd0,12) and (hd0,11) too but still not result. I have done a clean install of RedHat and the Edumorphix but no result still. I also find that this Debian linux is more like a toy than a serious os. Anyway my hdd partition for the lilo in fdisk is /dev/hda12. Any other ideas?
Does your /etc/lilo.conf in morphix have this line in it?
boot=/dev/hda12
if not then edit it to this. and run "lilo" command.
Anurag
Anurag wrote:
Does your /etc/lilo.conf in morphix have this line in it?
boot=/dev/hda12
if not then edit it to this. and run "lilo" command.
Something funny is going on. When I mount the hda12 partition in my redhat, then amongst lilo files, I can see only lilo.conf.anaconda in its /etc folder. There are no other lilo files. However when I used the live cd to boot into edumorphix, its etc folder has no lilo related files, not even the lilo.conf.anaconda.
Edumorphix has 3 options during HDD install. 1. Install lilo on the MBR. 2 Install lilo on the root partition. 3. Do not install lilo.
My system has xp and redhat in dual boot with grub loader and the edumorphix is installed with lilo in its own root partition hda12. I visited some sites and they give usefull information but none of the combinations seem to work. I am beginning to doubt the edumorphix CD's option 2. Maybe its buggy.
Option 1 works but it removes my redhat entry. I had edited the /etc/lilo.conf then but somehow the changes didn't appear in the lilo boot screen, even after I had run lilo command after edit. There is also a gui utility to add other boot partitions but nothing got reflected in the boot screen. This CD is available with this month's LFY. Its website pages are still under development and knoppix or debian site instructions don't seem to work. Anyway, this was a good experience in backing up softwares, emails and docs and reinstalling linux, just like windows. All my linux data is intact.
This is a usefull link on the concept of grub
http://freeos.com/articles/3482/
Thanks, bye and good night,
Rony.
On Thu, Mar 10, 2005 at 12:59:53AM +0530, Rony Bill wrote:
These are the 3 files in /boot of the debian in /dev/hda12 config-2.4.25-lck1 vmlinuz ....This is an executable file vmlinuz-2.4.25-lck1
This is my grub.conf in RHEL in /dev/hda8
kernel /vmlinuz-2.4.25-lck1 ro root=LABEL=/
Surely that should be /boot/vmlinuz?