right, got kubuntu running fine, want to run mandy alongside, my config hda1, kubuntu /, 8Gb hda2 /home 12Gb hda3, mandy /, 8Gb both kubuntu and mandy will share /home & swap (configured while installing kubuntu, and used esisting /home & swap during mandy install) i installed mandy (including bootloader, MBR) but kubuntu (grub) booted, now how do i access mandy ? tried looking on net, for edit kubuntu bootloader, or is there a better bootloader or another way to achive a dual boot
First find the name of your kernel, initrd image on the /boot directory of your mandriva installation. It will probably be something like linux-2.6.12-16mdk and initrd.img-2.6.12-16mdk etc etc. Just find the files that match in the versions and note their exact names down. If you're using the GRUB bootloader, you need to edit your /boot/grub/menu.lst file on your Kubuntu partition. Open it as root, and search for the bit of the file where the actual menu entries are (lines not beginning with #). Then add something like Code: title Mandriva 2006 root (hd0,2) (its hd0,2 because grub starts with 0, so hda1 is hd0,0, and hda2 is hd0,1 etc etc) kernel /boot/kernel-name-here initrd /boot/initrd-name-here That should do the trick, save and reboot.
Just a warning, you will likely have problems with Mandy and Kubuntu sharing the same /home, since there will be different versions of some of the same programs on each distro, and those user-specific settings are kept in your /home.
hi guys, just wondering, is there a way of mount mandriva's /, in kubuntu ? (in order to discover the name of the kernel & initrd image of the mandriva install) tried editing /boot/grub/menu.lst (as you'll see on attachments, but cant find kernel & initrd of mandy)
Yes you can mount Mandy's root partition in Kubuntu, but I don't really see much point. Basically you would have to create an empty folder somewhere in Kubuntu, then mount the Mandriva root partition into that. So you might choose something like /mandriva or /home/donkey/mandriva etc BTW, I've found Kubuntu's disk management to be awful! The KDE mounter is pretty poor so I ended up editing the FSTAB manually. Oh and Kubuntu has no partitioning tools whatsoever. They really need to sort this out. If you want a partitioner in Kubuntu you can do: sudo apt-get install gparted
Its very easy to do, as root make a new directory like /mnt/mandy then do this: Code: mount /dev/hda3 /mnt/mandy cd /mnt/mandy/boot/ ls -l You should see a symlink called vmlinuz which will point to the default mandriva kernel. ls -l will give you detailed file listings, and from there you can find which file vmlinuz points to.
sorry to act thick, but i'm doing my British Rail impresion, i'm getting there (that did used to be BR's motto) but just to be sure, check attachments, i just need to add highlighted text to fstab (and do some other crap) correct ?
Yes, but not fstab, the /boot/grub/menu.lst file. You'll need to scroll down a bit, until you see the menu entries and add a new one.
i don't know what i'm doing wrong, /boot/grub/menu.lst contains: Code: title Mandy 2006 root (hd0,4) kernel /boot/vmlinux-2.6.8.1-12mdksmp initrd /boot/initrd-2.6.8.1-12mdksmp.img savedefault boot HDD partitions: /dev/hda1 ext3 (says ext2fs when trying to boot) 8Gb / /dev/hda3 ext2 11Gb /home /dev/hda5 ext2 8Gb /mnt/mandy /dev/hda7 FAT16 2Gb /mnt/hda7 (win) /dev/hda8 FAT32 20Gb /mnt/spr /dev/hda9 FAT32 25Gb /mnt/hda9 (free space) don't know what else to do ? tried loads of menu.lst's any bright ideas ?
Looks like you've got a typo, vmlinux should be vmlinuz. Otherwise the bootloader won't find your kernel.
another prob on booting mandy, boot menu - no problem now (except /dev/hda7 win booting) about 3 screens full of text pass then mandy freezes - kernel panic, i think it could be the fact that /dev/hda1 is ext3 & /dev/hda3 /home is ext2 or is that ok, if not how do i change type of /dev/hda1 to ext2
What does the kernel panic about? Make sure that the initrd line correctly refers to the initrd image.
please check attatchments on post #9 dir listing is of /mnt/mandy/boot/ & menu.lst listing kernal panics because: Code: No init. try passing init= option to kernal what does that actually mean ?
It means it cannot find the kernel image where it expects to find it, so it can't go any further. init= explicitly tells the bootloader which kernel image to load.
should i boot mandy through kubuntu, e.g. should path to mandy kernel & initrd be: Code: title Mandy 2006 root (hd0,4) kernel /boot/vmlinux-2.6.8.1-12mdksmp initrd /boot/initrd-2.6.8.1-12mdksmp.img savedefault boot or Code: title Mandy 2006 root (hd0,4) kernel /mnt/mandy/boot/vmlinux-2.6.8.1-12mdksmp initrd /mnt/mandy/boot/initrd-2.6.8.1-12mdksmp.img savedefault boot please refer to post #9 for directory listing of mandy's /boot/ and menu.lst