make a usbkey bootable



I tried to make a USK key ext2 partition bootable with extlinux but
that didn't work.
actually this is to put slax on it.

I proceeded as follows:

made the partition with fdisk and wrote the fs with mkfs

the device is /dev/sda and the partition is /dev/sda1

I copied all files from cd to the mounted sda1

#cd /mnt/sda1
#mv boot/*.gz ./
#mv boot/splash* ./
#mv boot/vmlinuz ./
#mv syslinux.cfg extlinux.conf
i then vimed extlinux.conf and removed '/boot' of the path to access
initrd.gz at both lines in whch it appears.
#extlinux -i ./
cat mbr.bin >/dev/sda

this is derived from the method i found on the  slax forum in which
they install on a FAT32 partition and which I tried for curiosity and
it didn't work.
and the rest of my method is derived from the extlinux.doc found in
the syslinux package.

Since i did exactly what was written in the extlinux.doc it should
work although i don't understand how it can work:
the file mbr.bin has to be written in the few first bytes of the hard
drive, but i don't understand how the system will reach the partition
on which to boot since i could have choosen sda4 or sda3 or sda2 as
well as sda1. I think the mbr has to link to the boot partition,
unless i get a menu at boot.
--
heavytull
.



Relevant Pages

  • Re: BootIt NG high level steps - best approach??
    ... backup boot strategy. ... As far as BING, I should tell you I've been using this software ... make managing your bootable options and partition management so much easier. ... drives) and the DATA partition on a mirrored array. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Dual booting
    ... of Microsoft's dual boot scenario. ... The extended partition is not assigned a drive letter, ... BIOS reserves letters A and B for floppy drives, ... If WinXP Setup ...
    (microsoft.public.windowsxp.general)
  • Re: Dual Boot Instructions
    ... I ended up reinstalling Vista, ... The boot SECTOR is not the bootLOADER. ... finds the partition table for that HDD and sees that the first partition is ... violated, we no longer can simply install WinXP, install Vista and ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: how to change out system disk?
    ... Inaccessible_Boot_Device, when trying to boot from the new HD, but sometimes ... WinXP booted, you can still run Word, Quicken or whatever without having to ... following the primary partition and the first logical drive ). ... > logical drives in a single extended partition. ...
    (microsoft.public.windowsxp.hardware)
  • Re: XP reinstallation woes on Multiboot system
    ... original installation a breeze.Was I ever wrong! ... I mean the moment the yellow progress bar in Setup is Copying Files ... You need to be *very* quick to catch it, if you want to Boot into any ... & what Partition are you choosing to do the Install onto? ...
    (uk.people.silversurfers)