LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-22-2007, 04:18 AM   #1
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Rep: Reputation: 30
Problems with Feather Linux on a USB stick


Hello LQ,

I am trying to get Feather Linux running on a 1GB USB stick. I downloaded the USB stick version of Feather Linux and unpacked it to the USB stick. Secondly I downloaded and unpacked syslinux-3.51 and ran
Quote:
su
cd syslinux-3.51
syslinux /dev/sda1
But when I boot it I get errors that say that all sorts of folders can't be found and then I get a kernel panic.

What did I do wrong?
 
Old 09-22-2007, 08:18 AM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi V!NCENT, This might be the problem.

From: http://featherlinux.berlios.de/usb-instructions.htm

Quote:
Make sure to use syslinux 2.11, as later versions do not function properly in the way Feather requires.
It appears you're using syslinux-3.51 which is the latest. Hope that helps.
Good luck. ;-)
 
Old 09-22-2007, 11:58 AM   #3
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Peacedog View Post
It appears you're using syslinux-3.51 which is the latest.
Aha! I read a really old howto in the web that said the same. I just thought that later versions were about weeks older when the article was pubsished so I thought it wouldn't harm to use the much newer 3.51 version. But it's on the feather website aswell. Thanks
 
Old 09-22-2007, 03:49 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
Aha! I read a really old howto in the web that said the same. I just thought that later versions were about weeks older when the article was pubsished so I thought it wouldn't harm to use the much newer 3.51 version. But it's on the feather website as well. Thanks
That might be the problem which means it might not be the problem. Let us know if that sorted it. You're welcome if it works !
Good luck. ;-)
 
Old 09-22-2007, 04:36 PM   #5
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Nope... still the same problem with syslinux-2.11 "FAT error sector 0" and kernel panic. I selected USB-HDD as boot device in the BIOS. I don't have another way of booting it. Could that be the problem? I wanted to try other pc's but they all lack boot from USB support in the bios.
 
Old 09-22-2007, 06:12 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
I selected USB-HDD as boot device in the BIOS.
That's actually the preferred selection. Google is turning up nothing for this, "FAT error sector 0". Have you tried zeroing the drive first. This will delete the partition table and render all data useless so be careful that you have the correct device.Where X is your device.
Code:
dd if=/dev/zero of=/dev/sdX bs=512 count=1
After that you can use fdisk or cfdisk to create a new fat partition and file system and try again. I had to do this with a stick that had the u3 software on it to make it useable.
Good luck. ;-)
 
Old 09-23-2007, 05:01 AM   #7
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Peacedog View Post
Code:
dd if=/dev/zero of=/dev/sdX bs=512 count=1
I literarly have to type every letter except X which should be, in my case, a1? I don't know what bs=512 means but my stick is 1GB, or doesn't that matter?

I'll give you a update on this tommorow

Last edited by V!NCENT; 09-23-2007 at 05:03 AM.
 
Old 09-23-2007, 08:00 AM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
I literarly have to type every letter except X which should be, in my case, a1?
If your device is sda then you would use sda not sda1.
Quote:
I don't know what bs=512 means but my stick is 1GB, or doesn't that matter?
Bios from a PC reads the first 512 bytes of a hard disk, so we're effectively wiping the boot sector of the drive. So bs=512 is the block size, and count=1 is to do it once.

The other thing to be certain of, when you unpacked the zip file did you open the directory and copy it's contents to the drive or just copy the entire directory to the drive?
Good luck. ;-)
 
Old 09-24-2007, 02:27 PM   #9
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Peacedog View Post
The other thing to be certain of, when you unpacked the zip file did you open the directory and copy it's contents to the drive or just copy the entire directory to the drive?
I copied the files from the ZIP file without copying the root directory, which it was in, to the stick. However there is this map Knoppix along with it and that wasn't unpacked.
 
Old 09-24-2007, 03:35 PM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
So you got it sorted or no?
Good luck. ;-)
 
Old 09-25-2007, 09:08 AM   #11
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Peacedog View Post
So you got it sorted or no?
Good luck. ;-)
Oh yeah, sorry :P I was totally busy wihth school and fixing my scooter yesterday. I am rebooting to Linux _now_ :P
 
Old 09-25-2007, 09:47 AM   #12
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Oh my god I now realise how extremely stupid I have been! I downloaded syslinux under knoppix at another pc, unpacked the archive, cd to the syslinux directory and typed the command. I was so stupid to forget the Syslinux should have been installed first >_< . Appearently Knoppix has Syslinux but the wrong version and that screwed up the image. I realise this now because Ubuntu doesn't have Syslinux and therefore I get command not found.

So I downloaded Syslinux under Ubuntu and read the readme to install it. Problem is... It requires Nasm (a different compiler for god knows why). Nasm, for some reasen, doesn't like to be compiled by GCC. When I was learning a little C I found out that there is no stdio.h in a default Ubuntu install *sigh*. That's probably why Nasm won't compile.

EDIT: I now have to run to the local PC store to buy some cd-r's and tonight my uncles helping me fixing my scooter again. So expect a update tomorrow

Last edited by V!NCENT; 09-25-2007 at 09:51 AM.
 
Old 09-26-2007, 12:54 PM   #13
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Update

I installed the 'build-essentials' package from the Ubuntu repositories and the ./ configure and make seemed to go well, but the make install command tells me it can't find some of the files to install
 
Old 09-26-2007, 02:48 PM   #14
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by V!NCENT View Post
Update

I installed the 'build-essentials' package from the Ubuntu repositories and the ./ configure and make seemed to go well, but the make install command tells me it can't find some of the files to install
EDIT: Is there a place on the web where I can dump the commandline output for "./ configure", "make" and "make install" so you can tell me what I do wrong? I am not so good at installing software because I don't know what it all means
 
Old 09-26-2007, 04:39 PM   #15
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Have you tried just running syslinux /dev/sda1 from the extracted directory?
Good luck. ;-)
 
  


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
Feather Linux on USB Flash Drive satimis Feather 1 02-02-2006 01:54 PM
how to install feather linux on usb Ravichandran_S Feather 3 11-09-2005 12:44 AM
Need Help with USB boot up for Feather Linux. bkz81 Feather 2 08-21-2005 09:26 PM
1GB USB Stick Problems (Linux and Windows!) Ian_Hawdon Linux - Hardware 4 06-11-2005 10:58 AM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM

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

All times are GMT -5. The time now is 10:48 PM.

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