Jump to content











Photo
- - - - -

grub4dos booting ubuntu iso


  • Please log in to reply
33 replies to this topic

#26 xpt

xpt

    Frequent Member

  • Advanced user
  • 138 posts
  •  
    Canada

Posted 25 August 2010 - 02:10 PM

i found a way to boot Ubuntu 10.04 without an ISO. here is my configuration and works fantastic


Thank A LOT! works fantastic

#27 xpt

xpt

    Frequent Member

  • Advanced user
  • 138 posts
  •  
    Canada

Posted 25 August 2010 - 02:21 PM

i found a way to boot Ubuntu 10.04 without an ISO.


Just to make a complete story,

to boot without expanding CD into files, with grub2

add the following boot entry

menuentry "Ubuntu 10.04x LTS" {

	   loopback loop (hd0,3)/path/to/ISOs/ubuntu/lucid-desktop-i386.iso

	   linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/path/to/ISOs/ubuntu/lucid-desktop-i386.iso file=(loop)/preseed/ubuntu.seed quiet splash bootkbd=sg --

	   initrd (loop)/casper/initrd.lz

}

EDIT: Tested fine with grub1/grub4dos, having expanded /casper/vmlinuz, /casper/initrd.lz and /preseed from CD into HD, and minor tweak of the boot entry for grub1 syntax.

#28 xpt

xpt

    Frequent Member

  • Advanced user
  • 138 posts
  •  
    Canada

Posted 25 August 2010 - 05:44 PM

Just to make a complete story,


Details here:

Simple Ubuntu 10.04x LTS installation that allows multiboot
http://www.linuxques...multiboot-3118/

#29 nxmehta

nxmehta
  • Members
  • 2 posts

Posted 27 August 2010 - 09:00 AM

Has anyone figured out how to boot Ubuntu Server Edition? It appears to be different than Desktop. The closest I've gotten is:

title Ubuntu 10.04 Server x64

find --set-root /ubuntu-10.04-server-x64.iso

map /ubuntu-10.04-server-x64.iso (hd32) || map --mem /ubuntu-10.04-server-x64.iso (hd32)

map --hook

root (hd32)

kernel /install/vmlinuz boot=install file=/cdrom/preseed/ubuntu-server.seed iso-scan/filename=/ubuntu-10.04-server-x64.iso --

initrd /install/initrd.gz

Can any of you gurus come up with a solution?

#30 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 27 August 2010 - 10:27 AM

xpt
Sorry, I don't get it.

The menu entry you posted is about grub2 not about GRUB, nor about grub4dos.

If I get it right from the link you posted, with GRUB (and for grub4dos "flat" booting) you need to extract some files to HD/USBand the menu entry is:
title Ubuntu 10.04x LTS ISO

  kernel /casper/vmlinuz boot=casper iso-scan/filename=/iso/ubuntu-10.04.1-desktop-amd64.iso file=/preseed/ubuntu.seed quiet splash --

  initrd /casper/initrd.lz

With grub2 it is:
menuentry "Ubuntu 10.04x LTS" {

	   loopback loop (hd0,3)/path/to/ISOs/ubuntu/lucid-desktop-i386.iso

	   linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/path/to/ISOs/ubuntu/lucid-desktop-i386.iso file=(loop)/preseed/ubuntu.seed quiet splash bootkbd=sg --

	   initrd (loop)/casper/initrd.lz

}

With grub4dos does this work (or it does not)? :):

title Ubuntu 10.04x LTS ISO isomap
find --set-root /iso/ubuntu-10.04.1-desktop-amd64.iso
map /iso/ubuntu-10.04.1-desktop-amd64.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz boot=casper iso-scan/filename=/cdrom/iso/ubuntu-10.04.1-desktop-amd64.iso file=/preseed/ubuntu.seed quiet splash --
initrd /casper/initrd.lz


or have you found any other working set of commands that works with "unextracted" .iso?

@nxmehta
.... it seems to me like grub2 has this (loop) device, which probably somehow is compatible with Linux booting....

or maybe it's the mapping to (hd32) and NOT (0xff) that makes the difference:
http://www.boot-land...?...c=8797&st=6
Can you try with (0xff) and report?

:)
Wonko

#31 Lebenita

Lebenita
  • Members
  • 2 posts
  •  
    Germany

Posted 13 August 2013 - 02:51 PM

for ubuntu/kubuntu 9.04 see here : http://www.boot-land...?...=5041&st=20

for my set up i use only this neccesarry command

title Ubuntu LiveCD

find --set-root /ubuntu.iso

map /ubuntu.iso (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz boot=casper iso-scan/filename=/ubuntu.iso

initrd /casper/initrd.gz

boot

 

Works fine with Xubuntu too, many thanks! I only had to change initrd.gz to initrd.lz.


Edited by Lebenita, 13 August 2013 - 02:52 PM.


#32 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 13 August 2013 - 05:34 PM

tip: If you make an Easy2Boot USB drive, you just need to copy on all the ISOs.

If you want to boot from the Ubuntu ISO file directly with persistence, that is possible too (follow the instructions in the .mnu file in the \docs folder).



#33 Lebenita

Lebenita
  • Members
  • 2 posts
  •  
    Germany

Posted 14 August 2013 - 07:52 PM

Easy2Boot works wonders indeed! I had been struggling with booting Puppy Linux ISOs from USB, without success. Easy2Boot did it easily.

Thanks for your fabulous work, Dave.



#34 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 14 August 2013 - 08:54 PM

Easy2Boot works well for 99% of all linux ISOs due to the special partnew command in grub4dos first mentioned by cdob. :clap:






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users