Adding Mandrake 10.0 Community to Red Hat Grub boot loader
Hey guys I jsut recently got into Linux (I knwo what took me so long)
I have Windows 2003, RedHat 8.0 and Mandrake 10.0 Community all installed on my puter and they were installed in that order. I can boot Win2k3 and RedHat but not Mandrake. I knwo I got to edit the Grub config but I don't know the paramaters to put or anythign like that. I can figure out what partition my mandrake is on but I don't know what to exactly put into the config file. I reade something about the kernel version and what not but I can not find that page again. I looked at it when I was thinking aobut trying different distros. ANy help would greaty be appreciiated after I get this working I plan on installing SuSE 9.0 as well so that I will have Windos 2003, RedHat, Mandrake and SuSE I would have RedHat 9 or Fedora but don't feel like downloading it right now lol Any help will greatly be appreiciated and I will be constatly checking the forums in the next few hours to see if any solutions. Thank you for any help in advanced Here is my drive setup incase it helps lol Disk /dev/hdc: 16 heads, 63 sectors, 77557 cylinders Units = cylinders of 1008 * 512 bytes Device Boot Start End Blocks Id System /dev/hdc1 * 1 204 102784+ 83 Linux /dev/hdc2 205 2237 1024632 82 Linux swap /dev/hdc3 2238 22556 10240776 83 Linux /dev/hdc4 22557 42873 10239768 5 Extended /dev/hdc5 22557 42873 10239736+ 83 Linux Disk /dev/hda: 255 heads, 63 sectors, 19929 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 5099 40957686 7 HPFS/NTFS /dev/hda2 5100 6374 10241437+ c Win95 FAT32 (LBA) /dev/hda3 6375 19929 108880537+ f Win95 Ext'd (LBA) /dev/hda5 6375 7649 10241406 7 HPFS/NTFS /dev/hda6 7650 8924 10241406 7 HPFS/NTFS /dev/hda7 8925 10837 15366141 7 HPFS/NTFS /dev/hda8 10838 11475 5124703+ 7 HPFS/NTFS /dev/hda9 11476 19929 67906723+ 7 HPFS/NTFS ----------------------------------------------------------------------------------------- and here is wht is in my 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 (hd1,0) # kernel /vmlinuz-version ro root=/dev/hdc3 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd1,0)/grub/splash.xpm.gz title Red Hat Linux (2.4.18-14) root (hd1,0) kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdd=ide-scsi initrd /initrd-2.4.18-14.img title Windows 2003 rootnoverify (hd0,0) chainloader +1 |
WOW all these relpies and not one smidge of help comeon guys please lol ?
okay what kernel version is mandrake 10 THese are the only lines that I need help with so if someone that has mdk 10 could go into their boot folder and tell me what the number sequence is for the vmlinuz and initrd that should be all I need then thank you kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdd=ide-scsi initrd /initrd-2.4.18-14.img |
I assume your boot loader is installed from the RedHat 8.0 system.
If that is the case, you need to add a record to /etc/grub.conf for the Mandrake 10.0 system. You can find what to add by mounting the Mandrake partition in RedHat 8.0 and then loading /boot/grub/menu.lst from that partition into an editor and copying the record that looks like title linux-enterprise kernel (hd0,9)/boot/vmlinuz-enterprise root=/dev/hde10 noapic devfs=mount acpi=ht resume=/dev/hde9 splash=silent initrd (hd0,9)/boot/initrd-enterprise.img to the end of your RedHat 8.0 grub.conf file. Your hdx.y and hd parameters will be different than mine. Then boot and choose that line to boot into Mandrake 10.0. You can change the "linux-enterprise" title to anything you want, such as "Mandrake 10.0" for example. Hope this is what you need. Gerry Tool |
oooookkkaayyy lol well thank you for your input lol but I am noobtacular with linux I have only had gotten into it like 3 days lol how do I mount a partition? Now with that question you know that I am a total noob lol
I think I have tried to mount liek my windows partitions but nothing was there and the only thing I saw was my cdrom okay in terminal I think this is how your supposed to mount anyways this is what I got [root@localhost root]# mount /dev/hdc5 mount: can't find /dev/hdc5 in /etc/fstab or /etc/mtab [root@localhost root]# |
Ok, try this
At the root prompt, mkdir /mnt/mandrake This creates a mount point for the partition. Now, mount -t ext3 /dev/hdc5 /mnt/mandrake It should now be mounted. Then, kate /mnt/mandrake/boot/grub/menu.lst & should open the mandrake grub configuration file in kate for you copy the record from. kate /etc/grub.conf & should open the editor for your RedHat 8.0 grub.conf file so you can paste the record there. Gerry |
Okay well I did what you posted and I was able to mount my mandrake, but there was no grub.conf there. That might be because I read that when you install another linux when you ahve one already on your system to not install the boot loader from the second linux so I didn't install a boot loader with Mandrake.
I got it to kinda start up but this is what I got ext3-fs: unable to read superblock mount: error 22 mounting ext3 pivot root: pivot_root (.sysroot, /sysroot/initrd) failed 2 Remounting devfs at correct place if necessary mounted devfs on /dev Freeing unused kernel memory: 272 freed Kernel Panic: No init found. Try passing init=option to kernel what is wrong? or what do I have to change? |
I'm sorry I didn't make myself clear.
You need to make the changes to the *RedHat* /etc/grub.conf file. The information you need to add to the end of the RedHat /etc/grub.conf is the information for the linux-enterprise entry in your Mandrake /boot/grub/menu.lst file. That information should look *similar to* title linux-enterprise kernel (hd0,9)/boot/vmlinuz-enterprise root=/dev/hde10 noapic devfs=mount acpi=ht resume=/dev/hde9 splash=silent initrd (hd0,9)/boot/initrd-enterprise.img that I posted from my Mandrake /boot/grub/menu.lst file earlier. Gerry |
All times are GMT -5. The time now is 10:27 AM. |