loopux Posted October 2, 2008 Posted October 2, 2008 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.htmland 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 Ubunturoot (hd0,0)kernel /casper/vmlinuz root=/dev/rd/0 pmedia=usbflash boot=casperDEFAULT vesamenu.c32PROMPT 0append file=/cdrom/preseed/ubuntu.seedinitrd /casper/initrd.gzquiet splashi 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...
ilko_t Posted October 2, 2008 Posted October 2, 2008 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.
loopux Posted October 2, 2008 Author Posted October 2, 2008 yes i was aware it was not correct...original isolinux.cfgDEFAULT /casper/vmlinuzGFXBOOT bootlogoAPPEND 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.txtTIMEOUT 300PROMPT 1F1 f1.txtF2 f2.txtF3 f3.txtF4 f4.txtF5 f5.txtF6 f6.txtF7 f7.txtF8 f8.txtF9 f9.txtF0 f10.txt
ilko_t Posted October 3, 2008 Posted October 3, 2008 Try this:title Ubuntu liveroot (hd0,0)kernel /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper quiet splash --initrd /casper/initrd.gz
loopux Posted October 4, 2008 Author Posted October 4, 2008 (edited) 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.gzor where i put the only-ubiquity? Edited October 4, 2008 by loopux
ilko_t Posted October 4, 2008 Posted October 4, 2008 (edited) Just fix initrd=/casper/initrd.gz, t must be:initrd /casper/initrd.gzThe 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 checkmenu label ^Check CD for defectskernel /casper/vmlinuzappend 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.gzrest 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 defectskernel /casper/vmlinuz boot=casper integrity-check quiet splash --initrd /casper/initrd.gzIf 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 October 4, 2008 by ilko_t
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now