Jump to content











- - - - -

Booting KNOPPIX with GRUB4DOS


  • Please log in to reply
8 replies to this topic

#1 Guest_P4G0_*

Guest_P4G0_*
  • Guests

Posted 13 May 2010 - 10:39 AM

Hey Guys,

I've been searching around for some hours how to boot KNOPPIX with GRUB4DOS. I found a working solution some time ago, but cannot find it anymore. Can someone tell me how to boot KNOPPIX with grub4dos?

I think there's no working solution for directly booting the iso-File but to boot with the three files linux, minirt.gz and KNOPPIX.

Thank You
Patrick

#2 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1,594 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 13 May 2010 - 02:54 PM

I get the impression that what you actually meant was, "boot Knoppix from an .ISO file." While you can certainly emulate an ODD (optical disc drive) with GRUB4DOS and an .ISO file, you'd have to be certain that your OS is capable of booting from an .ISO file. That is, the OS would have to support scanning your attached disks for the .ISO file, mounting it as a loop-back device, then continuing as though it had been booted from OD. I don't believe that Knoppix supports this, but could be mistaken. See Icecube's post, below!

GRUB4DOS hooks BIOS INT 13h services to emulate an ODD.

Operating systems that do not use INT 13h (such as Windows and Linux) will not have access to such an emulated ODD; they have to use some other means to find and use the .ISO file.

#3 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 8,802 posts
  • Location:The Outside of the Asylum
  •  
    Italy

Posted 13 May 2010 - 05:25 PM

AFAIK there is no known way for knoppix "inside" .iso, exception made for the isohybrided approach:
http://www.boot-land...?showtopic=9916
http://www.boot-land...?...=9916&st=31
Which is only "somehow inside" the .iso.

Booting with the "extracted" files Knoppix is something that has been repeatedly reported as working/not working, and then again working.
I presume the good guys at Knoppix often change the settings, we have a number of reports for DSL working (which is KNOPPIX based) but I don't seem to remember a "definite" way for KNOPPIX.

Try working your way from here :cheers::
http://www.boot-land...?showtopic=4707

:cheers:
Wonko

#4 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,030 posts
  •  
    Belgium

Posted 13 May 2010 - 06:26 PM

bootfrom cheat code

This allows you to use an iso image file stored on media. Insert the CD and start with the CD. At the boot prompt, type: “knoppix bootfrom=<path to where iso is stored>. After boot up, the CD can be removed.

http://www.knoppix.n...ki/Live_CD_Tips

#5 Guest_P4G0_*

Guest_P4G0_*
  • Guests

Posted 13 May 2010 - 06:36 PM

bootfrom cheat code

This allows you to use an iso image file stored on media. Insert the CD and start with the CD. At the boot prompt, type: “knoppix bootfrom=<path to where iso is stored>. After boot up, the CD can be removed.

That makes an USB-Bootstick useless :cheers:

Can somebody tell me how to start Knoppix from an USB-Drive without an iso-File? If possible, Knoppix should lie in a folder named Knoppix on the USB-Drive and I don't want to edit the initrd. I'm relative shure that I had such a running Stick, but that's some time ago :cheers:

#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 8,802 posts
  • Location:The Outside of the Asylum
  •  
    Italy

Posted 13 May 2010 - 06:43 PM

@Icecube

:cheers:

But can the cheat code be passed as a parameter (i.e. can it be added to the grub4dos entry in menu.lst)? :cheers:

Can you post a complete example of KNOPPIX booting from .iso or "mixed mode" (with the kenrnel and initrd and whatever else extracted) like it was done here?:
http://www.boot-land...?...c=11372&hl=
http://www.boot-land...?...=11372&st=7

:cheers:
Wonko

#7 yggdrasil

yggdrasil

    Frequent Member

  • Advanced user
  • 109 posts

Posted 13 May 2010 - 07:09 PM

@ P4G0

I tested integrating dsl-4.4.10-syslinux.iso to USB stick this way:

Open DSL.ISO and extract folder “knoppix” to the root of USB.
Note: I use FAT32 as file system on USB device :cheers:
Use this text in menu.lst on USB device:

title launch DSL (knoppix)
map --mem /Knoppix/boot.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot

yggdrasil

#8 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,030 posts
  •  
    Belgium

Posted 13 May 2010 - 09:46 PM

@ P4G0
Can you post the contents of the isolinux.cfg file of your KNOPPIX iso?

It isn't necessary to boot from CD. KNOPPIX just needs its kernel and initrd. After that it can find its ISO when you use bootfrom=.

Suppose your have named your iso "knoppix.iso" and you have put it in the root of your USB stick.
Use the following grub4dos code:
title KNOPPIX

map knoppix /knoppix.iso &#40;hd32&#41; || map --mem knoppix /knoppix.iso &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;
At the 'boot:' command that you see, type:
knoppix bootfrom=/dev/hda1/knoppix.iso
The /dev/??? part can be different for you:
/dev/hda, /dev/hdb, /dev/hdc, ...
or
/dev/sda, /dev/sdb, /dev/sdc, ...

or the number can be different:
/dev/hda1 ==> ISO on first primary partition
/dev/hda2 ==> ISO on second primary partition
/dev/hda3 ==> ISO on third primary partition
/dev/hda4 ==> ISO on fourth primary partition
/dev/hda5 ==> ISO on first logical partition
/dev/hda6 ==> ISO on second logical partition

#9 pokemon1

pokemon1

    Member

  • Members
  • 87 posts
  •  
    United Kingdom

Posted 28 October 2010 - 04:09 PM

Icecube,

With regard to the question that 'Wonko the sane' asked -

<But can the cheat code be passed as a parameter (i.e. can it be added to the grub4dos entry in menu.lst)?>

Do you have any answer yet? i.e. is there any way to pass this 'bootfrom=/dev/hda1' cheatcode as a parameter in G4D menu entry?

Thanks, sorry for opening an old thread.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users