ilia_kr Posted March 22, 2006 Report Share Posted March 22, 2006 (edited) I've just finished installing Fedora on my PC as a second boot and i have a problem: 1. grub can't recognize previously installed MDK10.1' althouh it is installed on another partition. How can i fix this? (mind the fact that i don't know heck in lilo/grub) 2. how can i view the content of other partitions, when it is not in the file tree? Edited March 22, 2006 by ilia_kr Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 22, 2006 Report Share Posted March 22, 2006 What partition is Mandrake mounted on? It should be relatively easy enough to pick it up. Were you using grub with Mandrake? If so, you can check the /boot/grub/menu.lst file that is stored on the Mandrake partition, and then copy this information into the boot/grub/menu.lst file that you've got on your Fedora partition. If you want to mount the Mandrake partition within Fedora, you can do it manually with this: mkdir /mnt/mandrake mount /dev/hdax /mnt/mandrake replace hdax with the partition info for your Mandrake partition. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted March 22, 2006 Author Report Share Posted March 22, 2006 I don't know how to view the other partitions, that is the main problem. if it helps, this is my 'grub.conf' file after iscrewd up the mdk part : default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.11-1.1369_FC4) root (hd0,4) kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.11-1.1369_FC4.img title MDK 10.1 root (hd0,5) kernel /boot/vmlinuz initrd /boot/initrd.img Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 22, 2006 Report Share Posted March 22, 2006 OK, it's mostly OK, but try adding the the end of the "kernel /boot/vmlinuz" the following, so that it looks like this: kernel /boot/vmlinuz root=/dev/hda6 ro and see if that helps. There are probably other stuff, I would mount your partition MANUALLY as I suggested in my first post to check the config file on there for any other additional parameters you might need. Eg: mkdir /mnt/mandrake mount /dev/hda6 /mnt/mandrake then have a look at /mnt/mandrake/boot/grub/menu.lst or grub.conf Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted March 22, 2006 Author Report Share Posted March 22, 2006 (edited) loks like i missed you 'mount' tip on previous post :D I did what you said, but after reboot - the bootloader sais that it can't find the file i specified. - MDK is on hdc7 partition - content of mdk's /boot: is there difference between vmlinuz and vmlinuz-2.6.8.1-12mdk ? [root@FC4-p3 boot]# ls boot.1600 grub map System.map-2.6.8.1-12mdk config initrd-2.6.8.1-12mdk.img message us.klt config-2.6.8.1-12mdk initrd.img message-graphic vmlinuz diag1.img kernel.h message-text vmlinuz-2.6.8.1-12mdk diag2.img kernel.h-2.6.8.1-12mdk System.map - should i fix the grub.conf to this? : kernel vmlinuz-2.6.8.1-12mdk ro root=/dev/hdc7 initrd initrd-2.6.8.1-12mdk.img root=/dev/hdc7 Edited March 22, 2006 by ilia_kr Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted March 22, 2006 Author Report Share Posted March 22, 2006 please post here a copy of your grub.conf so i could copy it and modify to my need... Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 22, 2006 Report Share Posted March 22, 2006 I don't have a dual boot, but I thought your mandrake partition was on hda6? At least thats what info you gave before from the grub config. vmlinuz is just a symlink to the vmlinuz-2.6..... file. The same for the initrd.img as well. On your mandrake partition, go into the grub directory and look at the menu.lst file or grub.conf file so you can see more. Otherwise look in the /etc directory for lilo.conf and check compare and match what I posted above for grub to the settings you get in here. Quote Link to comment Share on other sites More sharing options...
arctic Posted March 22, 2006 Report Share Posted March 22, 2006 Please post where your swap file is. Then we can build it. It should look similar to this: default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.11-1.1369_FC4) root (hd0,4) kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.11-1.1369_FC4.img boot title MDK 10.1 root (hd0,6) kernel /boot/vmlinuz-2.6.8.1-12mdk resume=/hdc3 ro root=/dev/hdc7 initrd /boot/initrd-2.6.8.1-12mdk.img boot Resume ---> swap partition Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted March 22, 2006 Author Report Share Posted March 22, 2006 (edited) I don't have a dual boot, but I thought your mandrake partition was on hda6? At least thats what info you gave before from the grub config. vmlinuz is just a symlink to the vmlinuz-2.6..... file. The same for the initrd.img as well. On your mandrake partition, go into the grub directory and look at the menu.lst file or grub.conf file so you can see more. Otherwise look in the /etc directory for lilo.conf and check compare and match what I posted above for grub to the settings you get in here. I didn't find the menu.lst on mdk partition, and this is my lilo.conf # File generated by DrakX/drakboot # WARNING: do not forget to run lilo after modifying this file default="linux" boot=/dev/hdc map=/boot/map keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hdc7 initrd=/boot/initrd.img append="acpi=ht resume=/dev/hdc1" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hdc7 initrd=/boot/initrd.img append="failsafe acpi=ht resume=/dev/hdc1" read-only and 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 do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,4) # kernel /boot/vmlinuz-version ro root=/dev/hdc5 # initrd /boot/initrd-version.img #boot=/dev/hdc default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.11-1.1369_FC4) root (hd0,4) kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet ooitrd /boot/initrd-2.6.11-1.1369_FC4.img initrd initrd-2.6.8.1-12mdk.img root=/dev/hdc7 title MDK 10.1 roon (hd0,5) kernel /boot/vmlinuz-2.6.8.1-12mdk root=/dev/hdc7 ro initrd /boot/initrd.img when i try to load mandrake, i get this error message: 'Filename must be either anabsolute pathname or blocklist' Edited March 22, 2006 by ilia_kr Quote Link to comment Share on other sites More sharing options...
arctic Posted March 22, 2006 Report Share Posted March 22, 2006 Okay... I found your problem.... it is here... wait another post comes. ... title MDK 10.1 root (hd0,5) kernel /boot/vmlinuz-2.6.8.1-12mdk root=/dev/hdc7 ro initrd /boot/initrd.img root, not roon. :) Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted March 22, 2006 Author Report Share Posted March 22, 2006 my swap is 'hdc1' is hd0,6 similar to hdc7 ? Quote Link to comment Share on other sites More sharing options...
arctic Posted March 22, 2006 Report Share Posted March 22, 2006 grub counts from 0 to infinite. so partiton 1 one hdc will be hd0,0. hdc7 will be hd0,6. ;) Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted March 22, 2006 Author Report Share Posted March 22, 2006 well, finally it works, thank you ianw1974 and arctic Now i can play with fedora... Quote Link to comment Share on other sites More sharing options...
arctic Posted March 22, 2006 Report Share Posted March 22, 2006 No problem. :) Glad you got it solved. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 23, 2006 Report Share Posted March 23, 2006 Nice one dude :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.