Linux and Multi-Boot
#1
Posted 11 November 2006 - 07:32 AM
#2
Posted 11 November 2006 - 10:22 AM
I tried using isolinux for this, but I cannot load into Linux. I am using the following:
LABEL live
menu label ^Start or install Kubuntu
kernel /kubuntu/casper/vmlinuz
append file=/cdrom/kubuntu/preseed/kubuntu.seed boot=casper initrd=/kubuntu/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
This is in isolinux.cfg in the boot/isolinux/ folder. I got this information from isolinux in the kubuntu isolinux folder, and modified it to reflect the new file locations. Is there something wrong with this approach?
This post has been edited by fevoldj2: 11 November 2006 - 10:40 AM
#3
Posted 11 November 2006 - 10:44 AM
First : For Adding a menu in boot.ini to boot ubuntu/kubuntu linux, here is the steps
1) Here is the contents of boot.ini
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Professional" /noexecute=optin /fastdetect
C:\GRLDR="Ubuntu Linux 6.06"
2) Put the GRLDR from the GRUB in the root
3) Create a file with the name : menu.lst and fill it with the following contents
color black/cyan yellow/cyan
timeout 0
default 0
title Ubuntu 6.06
kernel (hd0,10)/boot/vmlinuz-2.6.15-23-386 root=/dev/sda11 -ro quiet splash
initrd (hd0,10)/boot/initrd.img-2.6.15-23-386
Here make the necessary changes for kernel (hd0,10) for the correct partition number and also root=/dev/sda11
4) Reboot, u will get a menu "Ubuntu Linux 6.06" anext to Windows XP Professional, choose it, then see it
will boot into linux
5) Finished!!
will be posting how to add Norton Ghost, BartPE Live CD RAM Version...
#4
Posted 11 November 2006 - 10:46 AM
It seems like diskemu Kubuntu.iso could also do the trick here. I'm going to test another version of Kubuntu, though, just to be sure this isn't a problem with this version. I get the same problem.
This post has been edited by fevoldj2: 11 November 2006 - 10:48 AM
#5
Posted 11 November 2006 - 10:49 AM
This post has been edited by Manju: 11 November 2006 - 10:52 AM
#6
Posted 11 November 2006 - 10:52 AM
#7
Posted 11 November 2006 - 10:56 AM
fevoldj2, on Nov 11 2006, 10:22 PM, said:
ya i got it, u wanna have a single boot menu, so that u can choose either to install windows xp or kubuntu linux, ok will be posting a easy method for it... soon
#9
Posted 11 November 2006 - 05:08 PM
#10
Posted 12 November 2006 - 01:32 PM
I have a very modular disc and I hate having various folders for each component across the disc, one at the root is enough.
Knoppix was easy enough because of this reason and I managed to get that working using BCDW on the boot sector (I use CDShell by-the-way).
If you find an answer please post it here as I know there are people in this forum (besides me) that would be interested as well.
#11
Posted 12 November 2006 - 03:43 PM
#12
Posted 12 November 2006 - 04:21 PM
Just add the contents of the "boot" folder to your own and add a line in CDShell to BCDW your boot sector.
if $lastKey == key[f2]; then bcdw boot /KNOPPIX/KNPXBOOT.DAT
as you can see my boot sector is KNPXBOOT.DAT in the KNOPPIX folder.
I know this doesn't help much though if you end up with two isolinux folders in that location.
I'm presently looking into how isolinux actually works, something I've taken for granted up until now.
Apparently one way to have more than one Linux distro on one disc is to rewrite the isolinux.cfg file and have one isolinux folder on your disc to boot all of them.
I'm looking for a tutorial at the mo.
#13
Posted 17 November 2006 - 09:19 PM
kof94, on Nov 12 2006, 05:21 PM, said:
I'm looking for a tutorial at the mo.
More than one Linux distro using ISOLINUX is cake.
Quote
LABEL bartpe
KERNEL /BOOTSECT.BIN
APPEND -
#
LABEL chntpw
KERNEL memdisk
APPEND initrd=/FLPYS/chntpw.bin
LABEL slax
KERNEL /boot/slax/vmlinuz
APPEND vga=769 max_loop=255 initrd=/boot/slax/initrd.gz from=/slax init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw nopcmcia
#
LABEL slaxltop
KERNEL /boot/slax/vmlinuz
APPEND vga=769 max_loop=255 initrd=/boot/slax/initrd.gz from=/slax init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw
#
LABEL server
KERNEL /boot/server/vmlinuz
APPEND vga=769 max_loop=255 initrd=/boot/server/initrd.gz from=/server init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw nopcmcia
#
LABEL mepis
KERNEL /boot/mepis/vmlinuz init=/etc/init apm=power-off vga=791 quiet
APPEND initrd=/boot/mepis/initrd.gz
Typically, ISOLINUX is found in /boot/isolinux. Put the kernel+ramdisk files for each distro in a sub-dir
under /boot, as in /boot/mepis for SimplyMEPIS, /boot/slax for Slax KillBill Ed, and /boot/server for
Slax Server Ed. The statements shown above work that way.
The files in the root of each distro go into the root of the ISO, exc for Slax Server+KillBill Eds, bec each of those distros have a cmd-line param (from=/) which permit their support files to be placed in their own sub-dirs. Distros based on Knoppix (Knoppix, DSL, et al) are problematic bec they each rely on a /KNOPPIX sub-dir which can't be relocated, otherwise ISOLINUX makes a multi-distro CD/DVD easy. BTW, I would point out that I also integrated BartPE and the CHNTPW P/2K password cracker gizmo into the same ISOLINUX menu with a nice splash screen.
HTH....
#14
Posted 18 November 2006 - 03:21 PM
Do you have any ideas of how to get all the source files from ubuntu in one folder (instead of disc root) and successfully boot it (for live and install)?
This post has been edited by kof94: 18 November 2006 - 05:44 PM
#15
Posted 19 November 2006 - 11:48 AM
#16
Posted 19 November 2006 - 12:25 PM
The commands just need to be adapted a bit!
I havn't got time right now to explain, I'll post a proper answer later.
#17
Posted 19 November 2006 - 01:28 PM
#18
Posted 19 November 2006 - 01:53 PM
Problem is I didn't bookmark it and I can't bloody find it again
The benifits of this are obvious but I'd still like to know how to mod the distro's so you don't have loads of folders/files at the root of the disc (a pet hate of mine).
#19
Posted 19 November 2006 - 03:03 PM
[Edit] Nevermind... it requires putting the entire Linux disk in the root of the DVD
Putting all the files onto the root of the DVD works, but it's not ideal if you want more than one Linux distro. I wonder if you can burn the CD in such a way that a folder will act like root...
This post has been edited by fevoldj2: 19 November 2006 - 03:12 PM
#20
Posted 19 November 2006 - 03:45 PM
I have seen this question asked on the ubuntu forums but nobody replied to it.
I might register on it just to bump the topic...



Help

Back to top









