Posts: 51
wayne128
Joined: 05 Sep 2010
#1
hi,
some of my computers are already with WinXP, Win7, some with multiple boot with various type of Linux OS.

while i was trying other Linux OS installation, some did not allow dual booting, or they would wipe out existing OS.

what i want to do is dual boot or multi-boot those machine with antiX , without distroying existing installated OSes.

can someone teach me how to?
thanks
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Have a look in the MEPIS manual included in antiX in Menu-> Help-> antiX-> Mepis menu.
On-line you can find it here;


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepislovers.org/forums/user_manual8.5/"
linktext was:"http://www.mepislovers.org/forums/user_manual8.5/"
====================================


As well as showing how to set up multi-boot, there is a lot of useful information there and links to more if needed.
Posts: 3
dobbs
Joined: 17 Aug 2010
#3
I just recently dual-booted AntiX with another linux distro and I let grub (during Anti install) install to MBR. AntiX recognized the other distro and listed it on the grub boot without any intervention from me. I was very impressed... __{{emoticon}}__
Edit... OK, yes my other distro also uses Grub legacy. So it was easier because of that... __{{emoticon}}__
Last edited by dobbs on 10 Sep 2010, 19:07, edited 1 time in total.
Posts: 51
wayne128
Joined: 05 Sep 2010
#4
I wish i had that success.
i tried three time installing antiX, it did not let the existing OS appear in boot selection __{{emoticon}}__

when i multi boot with linuxmint, all the old OS appear in the boot menu. __{{emoticon}}__

still need to read manual and learn how to amend grub/lilo
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#5
antiX uses legacy GRUB and it's not so good in finding the other operating systems as the new GRUB.
As you said, better read the documentation on how to edit /boot/grub/menu.lst.
Also if you have any system that uses the new GRUB (also known as GRUB2) in the same machine, boot into it, run grub-install /dev/sda as root and it will pick up the antiX installation.
Posts: 51
wayne128
Joined: 05 Sep 2010
#6
hi secipolla and anti
thanks for your tips and link.
after some struggling and trial and errors, i manage to learn just a bit and get hand dirty to try install 4 Linux OSes onto my old laptop.
the four are
1. antiX 8.5 July version, using legacy grub
2. PCLinux OS, 2010 LXDE, using legacy grub
3. Salix 13.1, using Lilo
4. LinuxMint Debian Edition, LMDE using Grub2, 1.98+20100710-1

my sequence of installation
PClinux OS, which gave me sda1, sda5 ( swap) and sda 6
next i create partitions using gparted and have sda3, 7,8,9,10,11
next, install Salix at sda11
next, install LMDE at sda9
next, install antiX at sda 7, 8 with swap at sda5.

now boot selection on grub had all four, antiX,pclos, LMDE all ok to boot and run alright.
the issue now is Salix, kernel panic. so i check grub's menu.lst and copy and paste here

could you please help me out on how to make amendment to menu.lst to get Salix booted?
thanks a lot
wayne


timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title antiX at hda7, kernel 2.6.32-1-mepis-smp
root (hd0,6)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=/dev/hda7 nomce quiet nosplash vga=791
initrd /boot/initrd.img-2.6.32-1-mepis-smp
boot

title linux
root (hd0,0)
kernel /boot/vmlinuz BOOT_IMAGE=linux root=UUID=e43805dc-ede7-475f-970a-93b671ea4134 vmalloc=256M resume=UUID=a82f03e9-dc1d-449a-8dde-a29821103831 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title
root (hd0,10)
kernel /boot/vmlinuz-huge-smp-2.6.33.4-smp root=/dev/hda11

title LinuxMint GNU/Linux, with Linux 2.6.32-5-686
root (hd0,8)
kernel /boot/vmlinuz-2.6.32-5-686 root=UUID=4a2089a4-670d-453c-8283-41648af5c24b ro quiet
initrd /boot/initrd.img-2.6.32-5-686

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=8917545f-fe99-43d3-b93a-bf65f4133e3a ro
# kopt_2_6=root=UUID=8917545f-fe99-43d3-b93a-bf65f4133e3a ro nosplash quiet

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(init-3) 3

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title antiX-M8.5, kernel 2.6.32-1-mepis-smp Default
root (hd0,6)
kernel /boot/vmlinuz root=UUID=8917545f-fe99-43d3-b93a-bf65f4133e3a ro nosplash quiet
initrd /boot/initrd.img

title antiX-M8.5, kernel 2.6.32-1-mepis-smp Default (init-3)
root (hd0,6)
kernel /boot/vmlinuz root=UUID=8917545f-fe99-43d3-b93a-bf65f4133e3a ro nosplash quiet 3
initrd /boot/initrd.img

title antiX-M8.5, kernel 2.6.32-1-mepis-smp
root (hd0,6)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=UUID=8917545f-fe99-43d3-b93a-bf65f4133e3a ro nosplash quiet
initrd /boot/initrd.img-2.6.32-1-mepis-smp

title antiX-M8.5, kernel 2.6.32-1-mepis-smp (init-3)
root (hd0,6)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=UUID=8917545f-fe99-43d3-b93a-bf65f4133e3a ro nosplash quiet 3
initrd /boot/initrd.img-2.6.32-1-mepis-smp

title antiX-M8.5, kernel memtest86+
root (hd0,6)
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST
Posts: 117
buttcoffee
Joined: 20 Aug 2010
#7
I believe you can just type in as root

Code: Select all

update-grub
and it should find the other OS's installed on your computer.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#8
Hi wayne.
I don't know how you could edit you menu.lst file.

One try would be booting into LMDE and running as root

Code: Select all

grub-install /dev/sda
so it installs GRUB2 to the MBR and hopefully it detects your LILO better.

Other (just a guess) would be maybe trying to change root=/dev/hda11 for root=/dev/sda11 in Salix's line.
Posts: 51
wayne128
Joined: 05 Sep 2010
#9
Hi secipolla,

finally, learnt how chainloading works and got Lilo installed Salix to boot.
The stanza is really simple as below:

title salix 13.1 install at sda7 by chainloading
root (hd0,6)
chainloader +1


at the same time, also got a new Salix kde beta to do a boot from iso, stanza is below

title This is boot from iso : salix kde virtual liveCD at hda11
kernel (hd0,10)/kernels/hugesmp.s/bzImage livecd=livecd initrd=initrd.img root=/dev/sda11 vga=791
initrd (hd0,10)/isolinux/initrd.img


this makes my future testing on distros without burning the DVD/CD. __{{emoticon}}__