• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
loopux

including ubuntu to a multiboot, how i did it...

6 posts in this topic

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

Try this:

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

0

Share this post


Link to post
Share on other sites

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?

Edited by loopux
0

Share this post


Link to post
Share on other sites

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-land.net/grub4dos/Grub4dos.htm

Edited by ilko_t
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.