LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2017, 02:35 AM   #1
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 162

Rep: Reputation: 10
Question How i can make USB Booteable of Xubuntu 16.04.2 LTS i386?


Hi there, i try to follow the guide : https://wiki.ubuntu.com/LiveUsbPendrivePersistent but, when i finish and try to boot i receive the message :

Code:
Missing parameter in configuration file. Keyword: path
gfxboot.c32 not a COM32R image
The most results i found is just "Press TAB, write live and hit enter" or another option. but i don't see nobody try to explain how its working. for fix it

Someone can explain me the error, and how to fix it ???

And when i try to test in QEmu with "Live" (using the TAB and writing TAB after error), in QEmu i ever get Kernel Panic. the past year, i use QEmu for Test USB, but i dont know why right now i get Kernel Panic.

=======================================================================

The method i use is the follow :

Using Pendrive 4GB

1 ) Create a primary partition "without format / clean" with 2GB ( 2048MB ) , and use the context menu, go to "Options" and active "boot" flag

2 ) Create another partition with the rest of available space

In Gparted the Pendrive is /dev/sdh

In the Terminal i use the follow commands :

Format The Partitions
Code:
su -c "mkfs.vfat -F 32 -n xubuntu /dev/sdh1" root
su -c "mkfs.ext2 -b 4096 -L casper-rw /dev/sdh2" root
Make a temp folders :
Code:
su -c "mkdir -p /tmp/usbp1" root
su -c "mkdir -p /tmp/XubuntuISO" root
Mount the first pendrive partition:
Code:
su -c "mount /dev/sdh1 /tmp/usbp1" root
Mount the ISO and go to that folder
Code:
su -c "mount xubuntu-16.04.2-desktop-i386.iso /tmp/XubuntuISO -o loop" root
cd /tmp/XubuntuISO/
Copy the mayor part of ISO Content to Pendrive :
Code:
su -c "cp -rf casper dists install pics pool preseed .disk README.diskdefines /tmp/usbp1/" root
Copy isolinux like syslinux in the first pendrive partition
Code:
su -c "cp -rf isolinux /tmp/usbp1/syslinux" root
go to the pendrive syslinux folder
Code:
cd /tmp/usbp1/syslinux
Rename the files isolinux to syslinux :
Code:
su -c "mv isolinux.cfg syslinux.cfg" root
su -c "mv isolinux.bin syslinux.bin" root
Modify the file "txt.cfg" via sed & echo for remove "/cdrom" and add persistent label and option

Code:
cat txt.cfg | sed 's/\/cdrom//g' >> /tmp/txt.cfg
su -c "rm -rf txt.cfg" root
su -c "cp -f /tmp/txt.cfg /tmp/usbp1/syslinux/txt.cfg" root
su -c "rm -rf /tmp/txt.cfg" root
sed '0,/live/s//persistent/' txt.cfg >> /tmp/txt.cfg
echo 'label persistent' >> /tmp/txt.cfg
echo '  kernel /casper/vmlinuz' >> /tmp/txt.cfg
echo '  append  file=/preseed/xubuntu.seed boot=casper persistent initrd=/casper/initrd.lz quiet splash ---' >> /tmp/txt.cfg
su -c "cp -f /tmp/txt.cfg /tmp/usbp1/syslinux/txt.cfg" root
umount the pendrive partition:
Code:
su -c "cd ; umount /tmp/usbp1" root
Install syslinux in the first partition FAT32 of Pendrive
Code:
su -c "syslinux /dev/sdh1" root

Code:
#[Alternative]# su -c "ms-sys -s /dev/sdh" root
Test via qemu :
Code:
qemu-kvm -hda /dev/sdh
Thanks for readme and sorry for my bad english

Last edited by inukaze; 06-10-2017 at 05:47 AM.
 
Old 06-10-2017, 03:07 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,505

Rep: Reputation: 7890Reputation: 7890Reputation: 7890Reputation: 7890Reputation: 7890Reputation: 7890Reputation: 7890Reputation: 7890Reputation: 7890Reputation: 7890Reputation: 7890
You should have posted this question on a Ubuntu forum, it has nothing to do with Slackware.
 
3 members found this post helpful.
Old 06-10-2017, 05:49 AM   #3
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 162

Original Poster
Rep: Reputation: 10
I am doing that under Slackware64 14.2 .

I just want to know how to fix the error on syslinux, a tool usable on any distribution.
 
Old 06-10-2017, 06:47 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,930

Rep: Reputation: Disabled
Quote:
Originally Posted by inukaze View Post
I just want to know how to fix the error on syslinux, a tool usable on any distribution.
Yes, but an Internet search with the error message as argument leads to Ubuntu threads, so that's probably an issue either with an Ubuntu component or with one steps of the specific method used, so I am rather pessimistic about your luck to find an answer here. maybe try the syslinux mailing list.

Last edited by Didier Spaier; 06-10-2017 at 12:50 PM. Reason: Typos fixed.
 
Old 06-10-2017, 12:48 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
I tend to use debootstrap for installs like that. And install grub on the stick too. Works for me for non-UEFI booting anyway.
 
Old 06-10-2017, 07:04 PM   #6
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 162

Original Poster
Rep: Reputation: 10
I Solved it

i found a way to solve it , not is the best method but works.

The Original syslinux.cfg content
Code:
# D-I config version 2.0
# search path for the c32 support libraries (libcom32, libutil etc.)
path 
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
i modify the syslinux.cfg and leave :
Code:
# D-I config version 2.0
# search path for the c32 support libraries (libcom32, libutil etc.)
MENU HIDDEN
include menu.cfg
default live
prompt 0
timeout 1
and the error don't appear anymore, the problem looks like in the line
Code:
ui gfxboot bootlogo
another file i modify is exithelp to :
Code:
label menu
	kernel vesamenu.c32
	config syslinux.cfg
and for the test with qemu i solved with :
Code:
qemu-kvm -hda /dev/sdh -m 512 -vga virtio -usbdevice tablet

Last edited by inukaze; 06-11-2017 at 11:28 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 16.04 LTS USB Stick - make writeable Keruskerfuerst Ubuntu 5 10-23-2016 02:06 AM
LXer: Xubuntu 16.04 LTS and Lubuntu 16.04 LTS Released, Get Three Years of Support LXer Syndicated Linux News 0 04-23-2016 08:21 AM
LXer: Xubuntu 16.04 LTS and Lubuntu 16.04 LTS Get Their Final Betas LXer Syndicated Linux News 0 03-28-2016 08:30 AM
Xubuntu 6.06.1-alternate-i386 installation problems rm_-rf_windows Ubuntu 16 09-19-2007 06:21 PM
k3b howto make booteable cdrom??? Schmurff Linux - Software 4 03-15-2004 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration