Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


fevoldj2

Linux and Multi-Boot

Recommended Posts

As far as I know, yes.

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.

Share this post


Link to post
Share on other sites

I tried this with Kubuntu, and apparently it has a problem mounting the filesystem on the ram drive. It also has a preseed step that your distributions did not have.

Share this post


Link to post
Share on other sites

I read somewhere in this forum about creating an .img file using the contents of the isolinux dir to boot with.

Problem is I didn't bookmark it and I can't bloody find it again :realmad: .

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).

Share this post


Link to post
Share on other sites

http://www.sadyc.net/anyCDintoUBCD.html This looks promising.

[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...

Edited by fevoldj2

Share this post


Link to post
Share on other sites

Basically we need to know if there's a file like txtsetup.sif for linux, that tells the installer where the the source files are.

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... :whistle: .

Share this post


Link to post
Share on other sites
Thanks for your reply.

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)?

You'd have to look at/find the cheatcodes for Ubuntu or their instructions for remastering. Essentially, I burned their CD, checked out the system for an hour, then put it away. I know it has to do w/ the "preseed/file" clause in isolinux/isolinux.cfg, but that's as far as I got. Having taken another look @ it, I can't wait til my new DVD burner arrives, as I'd like to update my disc to replace Mepis w/ Kubuntu ! I definitely didn't give it enuf attention when I was doing my distro eval during the summer....

If you make any progress w/ this PLEASE post your results. I won't be able to get back to this bef Wed the 22nd Nov. Good luck....

Share this post


Link to post
Share on other sites

I was able to use the alternate install disk and get into an installer, but it fails at some point. I can't remember the error exactly, but it has to do with the incorrect CD being in the drive. Either it doesn't like the md5sum or it can't find the files.

Share this post


Link to post
Share on other sites

I've been trying to script the isolinux commands in CDShell to boot Knoppix and (eventually) ubuntu.

This should get around the tight restrictions on isolinux folders and allow multiple Linux distros controlled by CDShell.

As of yet though I haven't managed to get anything to boot.

So, does anyone have any good experience with the isolinux module in CDShell that could help me solve this problem?

-kof94

Share this post


Link to post
Share on other sites
I've been trying to script the isolinux commands in CDShell to boot Knoppix and (eventually) ubuntu.

This should get around the tight restrictions on isolinux folders and allow multiple Linux distros controlled by CDShell.

As of yet though I haven't managed to get anything to boot.

So, does anyone have any good experience with the isolinux module in CDShell that could help me solve this problem?

-kof94

I've been trying to do the same thing (multiple Linux/Unix distros on one DVD) with no real success so far. I've managed to get SLAX in there, but that only needs a tiny amount of mangling so that it all lives under \SLAX on the DVD.

I can take a Debian ISO (business-card or net-install) and invoke that via CDshell's diskemu and it boots and runs quite happily but attempts to verify the integrity of the CD and obviously verifies the wrong thing (since it's not happy). There seems to be no easy way around this (but that's probably just because I don't know how the installer works).

I've also started to look at one of the install-Debian-from-USB pages as that seems to perform some jiggery-pokery that then loads up an ISO (from the USB) and installs. Sounds like exactly what I need, but I've not had time to play with it much yet.

Antonio

Share this post


Link to post
Share on other sites

I have Knoppix already on my disc, booting via BCDW on the boot sector. Obviously this just calls isolinux inside the boot folder.

I want to rename/move the isolinux folder and then call any commands from CDShell through it.

This way your still using the original boot info but you get around the restrictions of calling isolinux.bin (I tried to hex edit it without much luck), which in turn allows multiple distro's on one disc (an isolinux folder for each distro in any location under any name).

That's the plan anyway. I might have this all wrong as well but I'm determined to get Knoppix and ubuntu on one disc booting through CDShell.

The next task is to get ubuntu (or any other distro) in one folder instead of the root of the disc. There has to be a simple way to do this as well, without rebuilding the whole OS :blink: .

No wonder people use Windows over Linux when you have to p*** about like this!!!

Edited by kof94

Share this post


Link to post
Share on other sites
I have Knoppix already on my disc, booting via BCDW on the boot sector. Obviously this just calls isolinux inside the boot folder.

I want to rename/move the isolinux folder and then call any commands from CDShell through it.

This way your still using the original boot info but you get around the restrictions of calling isolinux.bin (I tried to hex edit it without much luck), which in turn allows multiple distro's on one disc (an isolinux folder for each distro in any location under any name).

That's the plan anyway. I might have this all wrong as well but I'm determined to get Knoppix and ubuntu on one disc booting through CDShell.

The next task is to get ubuntu (or any other distro) in one folder instead of the root of the disc. There has to be a simple way to do this as well, without rebuilding the whole OS :blink: .

No wonder people use Windows over Linux when you have to p*** about like this!!!

Your issue is with the tools you want to use to get the job done. The CDSHELL menus I've seen aren't especially impressive or unique, so what's the diff ? Maybe yours is really unique, but KUBUNTU's boot menu is as good as (if not better than) any CDSHELL menu I've seen. KUBUNTU uses ISOLINUX which does virtually everything CDSHELL does, exc when it comes to launching certain boot loaders. Similar to the KUBUNTU boot splash, I have a dithered photo as my ISOLINUX boot splash and an integrated text menu, for selecting menu items. ISOLINUX' config file syntax is very easy-to-understand. So, the bottom line is what's the diff bet CDSHELL or ISOLINUX ? Both work well for the menu task.

Finally, about putting KNOPPIX, KUBUNTU, whatever in their own sub-dirs on your CD: the answers are already in your hands. You're annnoyed not w/ the fact that this can't be done, but rather that you haven't been able to find a ready-made answer on a particular web page. It's not that the ans isn't out there, you can't find it. But, you've forgotten that these live CD are fully scripted (unlike Windows), so that you can (w/ some work on your own) uncover the variables that need to be changed, that will permit the core directories on a given live CD to be relocated. I'm sure it's only a matter of a couple of shell variables that need to be changed. Is it worth the effort ? I can't speak for you, but while I'd like to know (if you ever find out), but other than a few more GOOGLE queries, I'm prepared to let distro sub-dir relocation go by the wayside. Simply isn't worth much more effort on my part.

BTW, here's an article about a multi-distro live CD I found. Enjoy....

Share this post


Link to post
Share on other sites
You're annnoyed not w/ the fact that this can't be done, but rather that you haven't been able to find a ready-made answer on a particular web page.

Got it in one!

Seriously though, I'm not bothered about the work involved I just want more information. For me my boot disc is a continuing personal project!

I'm loathed to leave CDShell behind because it's so easy to use and because I enjoy using it!

However, if you could provide me with some more info about using isolinux may be I'll stop being a grumbling old git and embrace change :D .

Do you know of a syntax guide to isolinux?

How do you go about booting windows/PE and floppy images?

How would you go about adding CDShell to isolinux? (e.g. UBCD)

As you can see I have a lot of questions that need answers before I convert.

Help...

Share this post


Link to post
Share on other sites
You're annnoyed not w/ the fact that this can't be done, but rather that you haven't been able to find a ready-made answer on a particular web page.

Got it in one!

Seriously though, I'm not bothered about the work involved I just want more information. For me my boot disc is a continuing personal project!

I'm loathed to leave CDShell behind because it's so easy to use and because I enjoy using it!

However, if you could provide me with some more info about using isolinux may be I'll stop being a grumbling old git and embrace change :D .

Do you know of a syntax guide to isolinux?

How do you go about booting windows/PE and floppy images?

How would you go about adding CDShell to isolinux? (e.g. UBCD)

As you can see I have a lot of questions that need answers before I convert.

Help...

You're not a grumbling old git. :) Quik confession: I have my own "obsession" w/ GRUB. I decided I wanted a better boot splash than ISOLINUX and GRUB will deliver that, *underneath* a nice menu. Last month, I spent over twenty hours, trying at least forty diff ISOs, but no joy. :angry: It hasn't beaten me, but I gave it a break so I could do some paying work. I will get it !

I haven't figured out booting CDSHELL, however I would like to add either UBCD or Hiren's Boot CD to my SuperDVD. My guess was to use its bootsector. This looks like a job for GOOGLE, altho I'd start by GOOGLEing MSFN.

Feed

+ISOLINUX +"home page"
to GOOGLE and something serendipitous may happen.... One of the links is the home page of ISOLINUX. Inside the SYSLINUX-311.ZIP (where all three boot loaders live), is a file called SYSLINUX.DOC, w/ the specs on the ISOLINUX/SYSLINUX/PXELINUX.CFG menu format.

Finally, here's something live that boots BartPE, multiple Linux distros, *and* a couple of odd floppy images:

#### Boot the WinPE/BartPE system by default....

DEFAULT /BOOTSECT.BIN

PROMPT 1

DISPLAY boot.msg

F1 boot.msg

F2 f2

F3 f3

TIMEOUT 300

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 bartpe

KERNEL /BOOTSECT.BIN

APPEND -

####

LABEL chntpw

KERNEL memdisk

APPEND initrd=/FLPYS/chntpw.bin

####

LABEL ksink

KERNEL memdisk

APPEND initrd=/FLPYS/KTCHNSINK.ima

####

LABEL pmagic

KERNEL memdisk

APPEND initrd=/FLPYS/PQPM8.IMA

####

LABEL mepis

KERNEL /boot/mepis/vmlinuz init=/etc/init apm=power-off vga=791 quiet

APPEND initrd=/boot/mepis/initrd.gz

####

LABEL mepisvesa

KERNEL /boot/mepis/vmlinuz init=/etc/init apm=power-off vga=normal quiet xdrvr=vesa

APPEND initrd=/boot/mepis/initrd.gz

####

LABEL knoppix

KERNEL /boot/knoppix/linux

APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=/boot/knoppix/minirt.gz nomce quiet BOOT_IMAGE=knoppix

The broken APPEND stmts shown above are supposed to be one single line when reconstituted.

Here are a couple of undoc'd things about ISOLINUX:

1) To use the ISOLINUX.BIN boot loader, you *must* use an ISO program like MKISOFS, which has -boot-info-table capability. No NERO or EZ CD Creator to create the bootable ISO image. You can burn the ISO image w/ anything, but the ISO must be created w/ a -boot-info-table. For MKISOFS, just use that cmd-line opt and you're done.

2) ISOLINUX.CFG (the boot loader's menu spec) can be in the root, in /isolinux, or in /boot/isolinux. Consistent w/ your need for "order", I put the all of the ISOLINUX files (help files, memdisk, boot splashes) into /boot/isolinux, the kernel/ramdisk images for ea distro in a sub-dir under /boot (/boot/slax, /boot/knoppix, /boot/mepis, etc), and the floppy images in /FLPYS.

3) An ISOLINUX boot splash is pretty straight-fwd (now that I know how !) Get GIMPSHOP for Windows (freebie) to convert JPEGs/BMPs into PPMs. There's a webpage out there [CHALLENGE !] that explains the precise proc for using the PPM2LSS script (under Linux) that comes in the SYSLINUX kit. That is, once you have some PPMs that you want to finalize, boot your fav Linux live CD to convert them using PPM2LSS. I made my boot splashes 640x420, allowing up to three lines of text for the menu and a sgl line for the 'boot:' prompt from ISOLINUX.

I've already done virtually everything you're trying to do. Relocating core files for certain distros is where I drew the line, mainly bec this effort isn't commercial. If it were, I'd have done that too.

Chew on this for a while. Good luck.... B)

Share this post


Link to post
Share on other sites

I'm gonna finalise my current uber disc tonight using CDShell (everythings done bar afew tweaks) then I'm gonna start on this.

Thanks.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...