MSFN Forum: including ubuntu to a multiboot, how i did it... - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

including ubuntu to a multiboot, how i did it... there is probably a better way...

#1 User is offline   loopux 

  • Group: Members
  • Posts: 8
  • Joined: 01-October 08

Posted 02 October 2008 - 11:26 AM

so hello to forum..i am new to the world of usb multiboot and i should say i was shocked about all the difficulties...i am not particularly hi tech savy but i thought, seen how much spead this pendrives are, it would have been more easier to create such useful tools...

so i used the good program WinSetUpFromUsb found here:
http://www.msfn.org/board/How-to-install-f...SB-t120444.html

and built a multiboot win winxp install bartpe and Gparted...Gparted dooesnt work well but that's another story maybe for a new topic...

so i wanted to add ubuntu and installing from the program just didnt work...i changed isolinux into syslinux and isolinux.cfg into syslinux.cfg (found this info somewhere) but didnt work..off course i also edited menu.lst and changed kernel path...
was not working...

so in the end i started again and first of all i built an ubuntu 8.04 Usb bootable following these instructions:

http://www.pendrivelinux.com/2008/04/09/us...ndows/#more-370

then after i used WinSetUpFromUsb to add bartpe xp install and Gparted....

then after many tries i edited menu.lst like this...

title Ubuntu
root (hd0,0)
kernel /casper/vmlinuz root=/dev/rd/0 pmedia=usbflash boot=casper
DEFAULT vesamenu.c32
PROMPT 0
append file=/cdrom/preseed/ubuntu.seed
initrd /casper/initrd.gz
quiet splash

i am not really aware of what i am doing cause i am not very techy in linux and grub...anyway now it works...
the qemu (usb virtual pc) doesnt work with it , but trying on a real pc was ok...the strange thing was during boot of ubuntu i didnt see any graphics (the ubuntu splash) but verbose comments...

this install menu in try only way..i still have to edit the menu to add "install permanently" and failsafe...


#2 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 02 October 2008 - 11:56 AM

This is not a proper grub4dos syntax. Please copy- paste here or attach the original isolinux.cfg file and we will try to adapt it for grub4dos.

#3 User is offline   loopux 

  • Group: Members
  • Posts: 8
  • Joined: 01-October 08

Posted 02 October 2008 - 04:59 PM

yes i was aware it was not correct...
original isolinux.cfg

DEFAULT /casper/vmlinuz
GFXBOOT bootlogo
APPEND file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --
LABEL live
menu label ^Try Ubuntu without any change to your computer
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --
LABEL live-install
menu label ^Install Ubuntu
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.gz quiet splash --
LABEL check
menu label ^Check CD for defects
kernel /casper/vmlinuz
append boot=casper integrity-check initrd=/casper/initrd.gz quiet splash --
LABEL memtest
menu label Test ^memory
kernel /install/mt86plus
append -
LABEL hd
menu label ^Boot from first hard disk
localboot 0x80
append -
DISPLAY isolinux.txt
TIMEOUT 300
PROMPT 1
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt

#4 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 02 October 2008 - 09:22 PM

Try this:

title Ubuntu live
root (hd0,0)
kernel /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.gz


#5 User is offline   loopux 

  • Group: Members
  • Posts: 8
  • Joined: 01-October 08

Posted 03 October 2008 - 06:27 PM

ok thanks and for INSTALL ubuntu i should do like this?

title INSTALL ubuntu 
root (hd0,0)
kernel /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd=/casper/initrd.gz


or where i put the only-ubiquity?

This post has been edited by loopux: 03 October 2008 - 06:28 PM


#6 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 03 October 2008 - 07:39 PM

Just fix initrd=/casper/initrd.gz, t must be:

initrd /casper/initrd.gz


The part after kernel and initrd is the path to vmlinuz and initrd.gz, according to GRUB(grub4dos) syntax, thus no "=" is allowed.
"file=/preseed/ubuntu.seed" is part of the kernel parameters passed, so we leave the syntax as it is, as Ubuntu expects is.

Lets make another example:
LABEL check
menu label ^Check CD for defects
kernel /casper/vmlinuz
append boot=casper integrity-check initrd=/casper/initrd.gz quiet splash --


label-->title
menu label is the writing showing up if we select that item, so we may include part of it in our title.

initrd=/casper/initrd.gz -->initrd /casper/initrd.gz
rest goes as a kernel parameters, removing initrd part:
kernel /casper/vmlinuz boot=casper integrity-check quiet splash --

As a result we have:
menu Check CD for defects
kernel /casper/vmlinuz boot=casper integrity-check quiet splash --
initrd /casper/initrd.gz


If booting it from other partition, root (hdX,Y) should be added, or find --set-root /casper/initrd.gz.
An excellent grub4dos guide:
http://diddy.boot-la...os/Grub4dos.htm

This post has been edited by ilko_t: 03 October 2008 - 07:43 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy