This is a discussion on make a USB key bootable within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I tried to make a USK key ext2 partition bootable with extlinux but that didn't work. actually this is ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| On 28 Apr 2007 14:17:51 -0700, heavytull <heavytull@hotmail.com> wrote: > 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. Perhaps it follows the active flag? Have you set that? Grant. -- http://bugsplatter.mine.nu/ |
| |||
| It's best to create a sda4 partition on the USB device, that's compatible with the original Iomega ZIP drive and is the most compatible scheme with most BIOS's. Then you'll need syslinux, syslinux is a boot manager for Linux that boots Linux from a VFAT filesystem. It works very similar to Grub and Lilo, so you need to put the kernel file and the initramfs image on the USB, set the syslinux.cfg file, umount the USB and then run 'syslinux /dev/sda4'. I'd suggest you to get the latest version of syslinux from http://syslinux.zytor.com/ since the version in Slackware 11.0 is a bit old. You can also find info on making USB's bootable there http://syslinux.zytor.com/usbkey.php -- damjan |
| |||
| On 2007-04-28, heavytull <heavytull@hotmail.com> wrote: > I tried to make a USK key ext2 partition bootable with extlinux but > that didn't work. I just now bought a 4G key and am learning about them. Apparently, slax has a shell script for creating a bootable key. See how this works for you and get back to us. http://wiki.arslinux.com/Linux.Ars_Volume_33 I'm still going about mounting my key and dwnlding slax. Which version did you use? Keep up posted. nb |
| |||
| notbob wrote: > On 2007-04-28, heavytull <heavytull@hotmail.com> wrote: > >>I tried to make a USK key ext2 partition bootable with extlinux but >>that didn't work. > > > I just now bought a 4G key and am learning about them. Apparently, > slax has a shell script for creating a bootable key. See how this > works for you and get back to us. > > http://wiki.arslinux.com/Linux.Ars_Volume_33 > > I'm still going about mounting my key and dwnlding slax. Which version did > you use? Keep up posted. > > nb Well I went to check the site out (with my netscape 7), clicked on PNG and got some warning page that the file may contain malicious code. can't even download it to disk. &^$%^$%&%^*$%*%#*^# in PNG? just like someone tried to tell me that MP3 have viruses. one of the first lines also says mime type: unknown/unknown Which is also starting to crop up in many places. Why even have that page there, then. Is it part of WIKI or ARSLINUX? |
| |||
| notbob wrote: > On 2007-04-28, heavytull <heavytull@hotmail.com> wrote: > >>I tried to make a USK key ext2 partition bootable with extlinux but >>that didn't work. > > > I just now bought a 4G key and am learning about them. Apparently, > slax has a shell script for creating a bootable key. See how this > works for you and get back to us. > > http://wiki.arslinux.com/Linux.Ars_Volume_33 > > I'm still going about mounting my key and dwnlding slax. Which version did > you use? Keep up posted. > > nb Well I went to check the site out (with my netscape 7), clicked on PNG and got some warning page that the file may contain malicious code. can't even download it to disk. &^$%^$%&%^*$%*%#*^# in PNG? just like someone tried to tell me that MP3 have viruses. one of the first lines also says mime type: unknown/unknown Which is also starting to crop up in many places. Why even have that page there, then. Is it part of WIKI or ARSLINUX? I should add the links I am referring to are under the filelight near the bottom of that page. Unrelated material though. |