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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-22-2007, 04:18 AM
|
#1
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Rep:
|
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?
|
|
|
09-22-2007, 08:18 AM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
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. ;-)
|
|
|
09-22-2007, 11:58 AM
|
#3
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Original Poster
Rep:
|
Quote:
Originally Posted by Peacedog
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 
|
|
|
09-22-2007, 03:49 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
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. ;-)
|
|
|
09-22-2007, 04:36 PM
|
#5
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Original Poster
Rep:
|
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.
|
|
|
09-22-2007, 06:12 PM
|
#6
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
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. ;-)
|
|
|
09-23-2007, 05:01 AM
|
#7
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Original Poster
Rep:
|
Quote:
Originally Posted by Peacedog
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.
|
|
|
09-23-2007, 08:00 AM
|
#8
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
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. ;-)
|
|
|
09-24-2007, 02:27 PM
|
#9
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Original Poster
Rep:
|
Quote:
Originally Posted by Peacedog
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.
|
|
|
09-24-2007, 03:35 PM
|
#10
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
So you got it sorted or no?
Good luck. ;-)
|
|
|
09-25-2007, 09:08 AM
|
#11
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Original Poster
Rep:
|
Quote:
Originally Posted by Peacedog
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
|
|
|
09-25-2007, 09:47 AM
|
#12
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Original Poster
Rep:
|
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.
|
|
|
09-26-2007, 12:54 PM
|
#13
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Original Poster
Rep:
|
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 
|
|
|
09-26-2007, 02:48 PM
|
#14
|
Member
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208
Original Poster
Rep:
|
Quote:
Originally Posted by V!NCENT
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 
|
|
|
09-26-2007, 04:39 PM
|
#15
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Have you tried just running syslinux /dev/sda1 from the extracted directory?
Good luck. ;-)
|
|
|
All times are GMT -5. The time now is 09:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|