Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

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


  • Please log in to reply
5 replies to this topic

#1
loopux

loopux
  • Member
  • 8 posts
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/...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.pendrivel...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...


How to remove advertisement from MSFN

#2
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,718 posts
  • OS:none specified
  • Country: Country Flag
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.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#3
loopux

loopux
  • Member
  • 8 posts
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
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,718 posts
  • OS:none specified
  • Country: Country Flag
Try this:

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

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#5
loopux

loopux
  • Member
  • 8 posts
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, 03 October 2008 - 06:28 PM.


#6
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,718 posts
  • OS:none specified
  • Country: Country Flag
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

Edited by ilko_t, 03 October 2008 - 07:43 PM.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN