LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-21-2004, 12:49 PM   #1
d1s4st3r
Member
 
Registered: May 2004
Location: Italy
Distribution: Ubuntu, Slackware, OpenBSD, PC-BSD
Posts: 68

Rep: Reputation: 15
Angry No boot of PuppyLinux on USB pendrive


Hi everyone.
I have a 128 MB USB pendrive partitioned like this: one 64 MB FAT32 partition with my all data, university exercises, music and so on, and another 64 MB FAT16 "bootable" partition with PuppyLinux.
The partitions are "/dev/sda1" and "/dev/sda2" then.
Here the commands I tried to install PuppyLinux:
Code:
# mount -o loop cd-puppy.iso /mnt/foo
# mount /dev/sda2 /mnt/pendrive
# cp /mnt/foo/* /mnt/pendrive
# cd /mnt/pendrive
# du -ah
2.0K    ./boot.cat
49M     ./image.gz
10K     ./isolinux.bin
2.0K    ./isolinux.cfg
872K    ./vmlinuz
2.0K    ./syslinux.cfg
8.0K    ./ldlinux.sys
49M     .
# cp isolinux.cfg syslinux.cfg
# cd ..
# umount pendrive/
# syslinux /dev/sda2
Well, everything seemed to work fine, but when I tried to boot with the USB pendrive (I have an Asus P4C800 with USB boot support, and I put USB before anything else in the boot sequence), my USB pendrive had been totally ignored and my Debian booted as always.
So I thought the bootloader (SysLinux) may not work if installed on the second primary partition (/dev/sda2), so I tried with:
Code:
# syslinux /dev/sda
/dev/sda: filesystem type "   FAT16" not supported
And now I don't really know what can I do... expecially because the file "syslinux.cfg" is needed by SysLinux to get installed.
This file contains this:
Code:
# cat syslinux.cfg
default vmlinuz root=/dev/ram0 initrd=image.gz
append ramdisk_size=61440 initrd_archive=ext2 PFILE=pup080-none-262144
What I need is to have "/dev/sda1" with my all data, and "/dev/sda2" with PuppyLinux, but "/dev/sda" must be bootable by the BIOS!!!
What can I do to have my USB Linux distro working?
Thanks to all you guys!
Bye
 
  


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
Creating network install boot iso on usb pendrive Qwik Fedora - Installation 1 02-23-2006 02:10 PM
USB Pendrive DarkAsHell Linux - Hardware 3 04-07-2005 03:26 PM
USB pendrive help jojotx0 Fedora 12 09-14-2004 02:49 AM
How to get the boot images to work with my USB pendrive?? FilipK Mandriva 2 05-10-2004 08:21 AM
USB Pendrive d4d4n9 Mandriva 7 02-03-2004 08:44 PM


All times are GMT -5. The time now is 09:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration