LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2010, 04:39 PM   #1
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Rep: Reputation: 30
syslinux and multiple partition usb drive


I'm attempting to use my 4 GB USB flash drive as a Slackware install environment with three partitions. A FAT 16 partition for syslinux, kernels, and initrd (just the usbboot.img provided with slackware-13.0); an ext2 partition for the Slackware packages; and a FAT 32 partition for general storage. Unfortunately I've discovered through trial and error that syslinux doesn't seem to like booting from a drive that's been partitioned (even if it's installed on the first partition). Every time I try booting with the drive partitioned I get "Error loading operating system" (different from my computer's "no os found" error, maybe indicating that it does at least try to boot syslinux).

Should I just ditch the multiple partition idea and dump everything I need into one image (and dd that onto my flash drive)? Does anyone know of a way to make this crazy plan work (lilo or grub perhaps)?
 
Old 03-14-2010, 05:42 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
It's more that linux (and windows for that matter) doesn't deal very well with partitioned external drives, it doesn't expect something coming through the USB bus to be partitioned. In order to do what you are trying to do, you would need to define an iSCSI type attached storage device, which an external HDD could possibly be, but booting from that might be a problem, I really don't know. What I do know is I have done the image way for ubuntu a few times, with a 'pagefile' defined for persistent data. It works well. Take a look at this: https://fedorahosted.org/liveusb-creator/
 
Old 03-14-2010, 05:55 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
I've never had a problem with any USB doing what you are doing

Are you using slacks default 3.53 syslinux?
If so you need to upgrade it

and you should make it fat32
that may also be an issue...

another thing is on one of my PC's
if I install syslinux manually, ie "syslinux -sf /dev/sdxx"
it wont boot it

But, if i use Unetbootin to put an iso on usb
it boot everytime?!

I suspect you may be using iold version of syslinux or the fat16 is issue
 
Old 03-14-2010, 06:26 PM   #4
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by linus72 View Post
I've never had a problem with any USB doing what you are doing

Are you using slacks default 3.53 syslinux?
If so you need to upgrade it

and you should make it fat32
that may also be an issue...
syslinux 3.52 actually. This version, at least, won't install ldlinux.sys to a FAT 32 partition. Will a more recent version allow me to do that?

Thanks for the tips. I'll give it a shot with a newer syslinux and report back.
 
  


Reply

Tags
slackware, syslinux, usb boot



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
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
Easy-Peasy USB install of slack-based zorOS-3.6 for grub/syslinux usb noburn iso2 cd linus72 Linux - General 0 07-16-2009 09:31 PM
Making Syslinux boot a different partition also with Syslinux. tokico Linux - Software 6 03-04-2009 09:37 AM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
syslinux error on USB flash drive downinthemine Linux - Distributions 3 12-12-2004 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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