HOWTO make Puppy boot from a USB partition with EXTLINUX
no,it doesnt matter, syslinux (isolinux, extlinux etc) can work with any kind of partitions fat, ntfs, ext, cdroms etc and it doesnt need to be formatted...I only wrote that for simplication only.don570 wrote:To linuxcbon...
You should emphasize - Format the partition to FAT32
since the method won't work unless the partition is newly formatted.
Continuous packing of data is needed so the partition can't have
previous data on it.
_______________________________________________________
I followed your instructions step by step except for formatting, I used ext4, and when I typed:linuxcbon wrote:no,it doesnt matter, syslinux (isolinux, extlinux etc) can work with any kind of partitions fat, ntfs, ext, cdroms etc and it doesnt need to be formatted...I only wrote that for simplication only.don570 wrote:To linuxcbon...
You should emphasize - Format the partition to FAT32
since the method won't work unless the partition is newly formatted.
Continuous packing of data is needed so the partition can't have
previous data on it.
_______________________________________________________
Code: Select all
syslinux /dev/sdc1
Code: Select all
/dev/sdc1: invalid media signature (not an FAT/NTFS volume?)
Greetings
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]
Hi corvus,
For ext file systems you have to use extlinux.
Syslinux for fat.
Isolinux for cd or dvd.
I haven't used it. But command syntax for using syslinux and extlinux is same I think.
Please see it's wiki first.
http://www.syslinux.org/wiki/index.php?title=EXTLINUX
For ext file systems you have to use extlinux.
Syslinux for fat.
Isolinux for cd or dvd.
I haven't used it. But command syntax for using syslinux and extlinux is same I think.
Please see it's wiki first.
http://www.syslinux.org/wiki/index.php?title=EXTLINUX
After messing around with extlinux a while, I finally put it all together with info gathered here and there on this forum and have got a bootable USB formatted with ext2 using extlinux.drunkjedi wrote:Hi corvus,
For ext file systems you have to use extlinux.
Syslinux for fat.
Isolinux for cd or dvd.
I haven't used it. But command syntax for using syslinux and extlinux is same I think.
Please see it's wiki first.
http://www.syslinux.org/wiki/index.php?title=EXTLINUX
Here are the steps I used:
1. On your blank USB "sdb", Create an ext2 Partition using GParted. It will be named sdb1. Before exiting GParted, and set the "boot" flag on sdb1.
2. The installation of Bootloader on the drive
First we need to Mount the drive
Install the MBR on the drive (make sure the drive letter is right!)
# cd /usr/lib/syslinux
# dd if=mbr.bin of=/dev/sdb (Note that this command uses sdb and not sdb1)
3. Then EXTLINUX
# cd /sbin
# extlinux --install /mnt/sdb1 (make sure the drive letter is right!)
4. We need to create an extlinux.conf file which will contain our bootloader instructions :
# leafpad /mnt/sdb1/extlinux.conf
Copy the below config for a HDD-frugal-install:
Code: Select all
default puppy
display boot.msg
prompt 1
timeout 50
F1 boot.msg
F2 help.msg
F3 help2.msg
label puppy
kernel vmlinuz
append initrd=initrd.gz pmedia=cd
Code: Select all
default puppy
display boot.msg
prompt 1
timeout 50
F1 boot.msg
F2 help.msg
F3 help2.msg
label puppy
kernel vmlinuz
append initrd=initrd.gz pmedia=usbflash pfix=copy
6. Unmount everything and reboot off the flash drive.
Hope this helps...
festus
Last edited by festus on Fri 18 Mar 2016, 13:53, edited 1 time in total.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
I just read this.corvus wrote:I followed your instructions step by step except for formatting, I used ext4, and when I typed:Code: Select all
syslinux /dev/sdc1
Maybe I wasn't clear enough :
syslinux is only for FAT or NTFS filesystems.
For ext2,ext3,ext4,etc. you need to use extlinux, which works the same as syslinux.
For booting cdrom or dvd format, you use isolinux.
etc.
I first used it because I had ISO file and didn't want to burn it to CD.
Found out that syslinux was present in my Ubuntu install.
It's present in most linux distros I hear.
Also available for Windows too.
That's what got me to use it.
And I encountered no problem with it yet so didn't try anything else.
Found out that syslinux was present in my Ubuntu install.
It's present in most linux distros I hear.
Also available for Windows too.
That's what got me to use it.
And I encountered no problem with it yet so didn't try anything else.
grub4dos or syslinux, are not very different, it's a matter of taste.nic007 wrote:Why would you use syslinux and isolinux if you can use Grub4Dos on FAT; VFAT; FAT32; NTFS; EXT1 2 3 4; reiserfs file systems and even on a CD? Extremely easy to set up with the Grub4Dos configuration tool which does all the work for you (putting it on CD can be done with little intervention too).
I was about to write 2 howtos : 1 for grub4dos, 1 for syslinux, but I dont have so much time. If you use grub4dos, why dont you write a howto for it ?
But grub4dos support almost all filesystems. Look in the how to section. I made a tutorial for multi boot grub4dos cd just a few days agolinuxcbon wrote:grub4dos or syslinux, are not very different, it's a matter of taste.nic007 wrote:Why would you use syslinux and isolinux if you can use Grub4Dos on FAT; VFAT; FAT32; NTFS; EXT1 2 3 4; reiserfs file systems and even on a CD? Extremely easy to set up with the Grub4Dos configuration tool which does all the work for you (putting it on CD can be done with little intervention too).
I was about to write 2 howtos : 1 for grub4dos, 1 for syslinux, but I dont have so much time. If you use grub4dos, why dont you write a howto for it ?
Can you give us an example of how the configuration file should look like for a choice of booting a spesific distribution. Let's say I have puppyiso1,puppyiso2 and puppyiso3 in the root directory of sda1. Also, are there options to be specified during the boot up process. Thanksdrunkjedi wrote:I first used it because I had ISO file and didn't want to burn it to CD.
Found out that syslinux was present in my Ubuntu install.
It's present in most linux distros I hear.
Also available for Windows too.
That's what got me to use it.
And I encountered no problem with it yet so didn't try anything else.
I am at work now,
I will post my syslinux.cfg file for you when I get home.
It boots Fatdog64, tahr64, and Debiandog with each some entries edited with boot options applied.
With basic menu options, just copy from isolinux.cfg on cd/iso.
Edit: See first page, neerajkolte gave his syslinux.cfg.
Look at "append" line, it has all boot options given.
I will post my syslinux.cfg file for you when I get home.
It boots Fatdog64, tahr64, and Debiandog with each some entries edited with boot options applied.
With basic menu options, just copy from isolinux.cfg on cd/iso.
Edit: See first page, neerajkolte gave his syslinux.cfg.
Look at "append" line, it has all boot options given.
Last edited by drunkjedi on Mon 21 Mar 2016, 07:38, edited 1 time in total.
You asked that I make a tutorial for grub4dos in how to, so I answered. BTW - I'm not dissing syslinux nor your how to, I'm asking a legitimate question why one should opt for syslinux when grub4dos covers almost all file systems and syslinux is limited in this regard.linuxcbon wrote:This howto is only about syslinux and not about grub4dos.nic007 wrote:But grub4dos support almost all filesystems. Look in the how to section. I made a tutorial for multi boot grub4dos cd just a few days ago
Filesystem is not a limitation. It's a deliberate choice from the developers to have an utility for each filesystem : syslinux for FAT/NTFS, extlinux for ext2/ext3/ext4/btrfs , isolinux for CDs/DVDs, PXELinux for network. I prefer syslinux (or extlinux) because it comes by default in almost all linux distributions. But grub4dos and syslinux work more or less the same, so as I already wrote, it's a matter of taste.nic007 wrote:You asked that I make a tutorial for grub4dos in how to, so I answered. BTW - I'm not dissing syslinux nor your how to, I'm asking a legitimate question why one should opt for syslinux when grub4dos covers almost all file systems and syslinux is limited in this regard.
note : extlinux version [6.03+] supports : FAT12/16/32, NTFS, ext2/3/4, Btrfs, XFS, UFS/FFS,
Saw that. Question - Does this boot the iso directly or do you have to copy the files to the disk first?drunkjedi wrote:I am at work now,
I will post my syslinux.cfg file for you when I get home.
It boots Fatdog64, tahr64, and Debiandog with each some entries edited with boot options applied.
With basic menu options, just copy from isolinux.cfg on cd/iso.
Edit: See first page, neerajkolte gave his syslinux.cfg.
Look at "append" line, it has all boot options given.