LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-30-2019, 04:57 PM   #1
Slackovado
Member
 
Registered: Mar 2005
Location: BC, Canada
Distribution: Slackware 14.2 x64
Posts: 308

Rep: Reputation: 70
Making a Clonezilla usb drive on Slackware 14.2


the makeboot.sh script is ending with error
On x86-64 system, you should install libc6-i386 (for Debian/Ubuntu) or glibc.i686 (for Fedora/CentOS/OpenSuSE) package so that the required libraries to run 32-bit program /tmp/linux_tmp.seelbT/syslinux exist.

And when I try to run the Slackware syslinux
/usr/bin/syslinux -d /media/sdf1-usb-_USB_DISK_3.0_07/syslinux -f -i /dev/sdf1
s:/media/sdf1-usb-_USB_DISK_3.0_07/syslinux/ldlinux.sys: no match for target
/usr/bin/syslinux: warning: unable to move ldlinux.sys

I get the above error.
Any suggestions?
Thanks
 
Old 04-30-2019, 05:22 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Yeah I do this all the time
Mount your usb and find out mount point with fdisk -l as root
mine is sdc1

syslinux -sf /dev/sdc1

s= slow and stupid, f= force. Usually you wont need -f

thats it
 
Old 04-30-2019, 05:27 PM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Additionally if you havent installed clonezilla to usb just mount your usb and then mount your iso of clonezilla, copy contents of iso to usb, then install syslinux

example assuming usb is sdc1, clonezilla iso is clonezilla-version.iso and assuming usb is not auto mounted and assuming clonezilla-version.iso is in /home/user_name/Downloads

Code:
mkdir /mnt/usb
mkdir /mnt/iso

mount /dev/sdc1 /mnt/usb
mount -o loop /home/user_name/Downloads/clonezilla-version.iso /mnt/iso
cp -r /mnt/iso/* /mnt/usb
syslinux -s /dev/sdc1
just copy and paste that into terminal as root you're good to go.

Note: if using syslinux in slackware it differs from one used in clonezilla live so you either need to install syslinux from a debian install or livecd/usb or manually enter the boot mode you want at error code prompt when booting.
Usually it'll say it cant find some lib32 something or it cant find vesamenu.c32
If it does that just view the syslinux.cfg/isolinux.cfg and enter entry you want to boot at prompt.

the newest Clonezilla default boot is
Code:
Clonezilla live
and it'll boot

Last edited by linus72; 04-30-2019 at 05:44 PM.
 
Old 04-30-2019, 05:51 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Im gonna try it on my 14.2 install right now we'll see using newest clonezilla...
 
Old 04-30-2019, 06:25 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK I got it, clonezilla live wont boot off my fat32 usb using slackware's syslinux until you do this

You gotta copy chain.c32, isolinux.bin, menu.c32, and vesamenu.c32 from /usr/share/syslinux to /mnt/usb/syslinux then it'll boot fine.
Assuming usb is mounted at /mnt/usb, and you're using 14.2 to install syslinux and that clonezilla live is on /mnt/usb (dev/sdc1)

Code:
cp -r /usr/share/syslinux/chain.c32 /mnt/usb
cp -r /usr/share/syslinux/isolinux.bin /mnt/usb
cp -r /usr/share/syslinux/menu.c32 /mnt/usb
cp -r /usr/share/syslinux/vesamenu.c32 /mnt/usb
then install syslinux

Code:
syslinux -sf /dev/sdc1
BAM!
I suspect you may only have to copy isolinux.bin to usb and/or both isolinux.bin, vesamenu.c32
NOTE:
Both my MultiDistro Live 1 and 2 contain Clonezilla live plus lots of other cool stuff like my Slacker/Stretch/Buster remasters, Puppy, System Rescue CD, all kinds of stuff
https://sourceforge.net/projects/lin...s/Multidistro/

Last edited by linus72; 04-30-2019 at 06:29 PM.
 
Old 04-30-2019, 06:34 PM   #6
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Just one of the few I find I'll have less trouble when I use Unetbootin to make the disk
 
1 members found this post helpful.
Old 04-30-2019, 07:08 PM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Thats true but Unetbootin usually does not get all the boot options right, it's general purpose,
 
  


Reply



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
Clonezilla and Multiboot Iso Mount USB Drive jghake Linux - Newbie 11 02-02-2014 04:17 PM
LXer: Clonezilla-release Stable Clonezilla live (2.0.1-15) Released LXer Syndicated Linux News 0 12-18-2012 09:21 PM
Drive won't boot. Used Clonezilla to restore Linux partitions from good drive Jimdsi Linux - Newbie 1 02-21-2012 09:35 PM
Making system image of linux with clonezilla The Divine Architect Linux - Newbie 4 12-28-2011 01:56 PM
Problem making bootable usb stick for Clonezilla Completely Clueless Linux - General 1 05-06-2010 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:58 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