Littleguy Posted July 11, 2007 Report Share Posted July 11, 2007 (edited) Oddly enough, Mandriva added both my Windows XP and Vista to it's GRUB Boot menu, but didn't add Suse . I wonder if it's because I didn't mount Suse's root and home partition when I installed. I've tried to add Suse in mandriva control center Boot manager, but mandriva uses IMG and Suse does not. Mandriva: title linux kernel (hd0,7)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/sda8 resume=/dev/sda9 splash=silent vga=788 initrd (hd0,7)/boot/initrd.img OpenSuse gfxmenu (hd0,4)/boot/message ##YaST - activate ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 10.2 root (hd0,4) kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda5 vga=0x317 resume=/dev/sda6 splash=silent showopts initrd /boot/initrd-2.6.18.2-34-default Any ideas ? Edited July 21, 2007 by Littleguy Quote Link to comment Share on other sites More sharing options...
Reiver_Fluffi Posted July 11, 2007 Report Share Posted July 11, 2007 copy this part: title openSUSE 10.2 root (hd0,4) kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda5 vga=0x317 resume=/dev/sda6 splash=silent showopts initrd /boot/initrd-2.6.18.2-34-default and manually add it to grub, it should work. Don't let the fact that the Suse initrd isn't named *.img, that shouldn't be an issue. Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted July 11, 2007 Report Share Posted July 11, 2007 Open SuSE will work by the method described above. I have done it several times. ;) Quote Link to comment Share on other sites More sharing options...
Littleguy Posted July 11, 2007 Author Report Share Posted July 11, 2007 Thanks for the help guys :) I opened the menu.lst file from grub in mandriva with openoffice but it won't let be modifie it when I trie to Save. I know how to log on as root on the Root shell, but I don't know how to edit in command prompt. :( This is my first time playing with this kind of stuff :unsure: any advice with be appreciated :D Quote Link to comment Share on other sites More sharing options...
orts Posted July 11, 2007 Report Share Posted July 11, 2007 In the command prompt, you first log an root with the su command. $ su Click ENTER Password: type your root password here, click ENTER Now you type kwrite /boot/grub/menu.lst And now you can paste the SUSE entry into the menu.lst, and save it. :D Quote Link to comment Share on other sites More sharing options...
Reiver_Fluffi Posted July 11, 2007 Report Share Posted July 11, 2007 or alternatively: su -c "kwrite /boot/grub/menu.lst" and then enter your root password. With this your login to the root account is restricted editing the file in this one instance, this way you cannot do any damage anything other than to the grub file you are working on (and kwrite should create a back-up). IMO it is better to do this now, rather than get lazy and leave root logged in unnecessarily. Quote Link to comment Share on other sites More sharing options...
Jza Posted July 12, 2007 Report Share Posted July 12, 2007 Or completely graphically by going on to KDE's Run Command dialog: Star > Run Command Then clicking on Other Options and selecting on run as different user and typing: User: root Password: your_password and running kwrite or kate (depending on what you have) and editing the menu.lst Quote Link to comment Share on other sites More sharing options...
opvask Posted July 12, 2007 Report Share Posted July 12, 2007 (edited) I often use this approach after installing a new Linux OS with Grub on the new root partition. Example with new Suse OS on sda7 and Suse grub on sda7: # linux installation on /dev/sda7 title Suse configfile (hd0,6)/boot/grub/menu.lst This way every OS keeps it's grub menu and grub graphics. When choosing Suse on startup you'll be presented with the full Suse Grub menu and graphics. This is just an easy alternative. :) Edited July 12, 2007 by opvask Quote Link to comment Share on other sites More sharing options...
Reiver_Fluffi Posted July 12, 2007 Report Share Posted July 12, 2007 I often use this approach after installing a new Linux OS with Grub on the new root partition.... I never knew you could do that, thanks for the tip, I'm sure it will come in handy ;) Quote Link to comment Share on other sites More sharing options...
Littleguy Posted July 14, 2007 Author Report Share Posted July 14, 2007 It Worked Perfectly .. Thanks allot Reiver_Fluffi , opvask , Jza, orts ,Ixthusdan B) It was pretty easy with you guys help. :D ..didn't break my head 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.